org.eclipse.xtext.ui.editor.hover.html
Class XtextBrowserInformationControlAdapter

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.hover.html.XtextBrowserInformationControlAdapter
All Implemented Interfaces:
org.eclipse.jface.text.IInformationControl, IXtextBrowserInformationControl

public class XtextBrowserInformationControlAdapter
extends java.lang.Object
implements IXtextBrowserInformationControl

Since:
2.3
Author:
Sebastian Zarnekow - Initial contribution and API
This class is not intended to be subclassed by clients.
This class is not intended to be subclassed by clients.
This class is not intended to be instantiated by clients.
This class is not intended to be instantiated by clients.

Method Summary
 void addDisposeListener(org.eclipse.swt.events.DisposeListener listener)
           
 void addFocusListener(org.eclipse.swt.events.FocusListener listener)
           
 void addInputChangeListener(org.eclipse.jface.text.IInputChangedListener inputChangeListener)
           
 void addLocationListener(org.eclipse.swt.browser.LocationListener createLocationListener)
           
 org.eclipse.swt.graphics.Point computeSizeHint()
           
 void dispose()
           
 org.eclipse.jface.internal.text.html.BrowserInformationControlInput getInput()
           
 boolean hasDelayedInputChangeListener()
           
 boolean isFocusControl()
           
 void notifyDelayedInputChange(java.lang.Object object)
           
 void removeDisposeListener(org.eclipse.swt.events.DisposeListener listener)
           
 void removeFocusListener(org.eclipse.swt.events.FocusListener listener)
           
 void setBackgroundColor(org.eclipse.swt.graphics.Color background)
           
 void setFocus()
           
 void setForegroundColor(org.eclipse.swt.graphics.Color foreground)
           
 void setInformation(java.lang.String information)
          Deprecated. 
 void setInput(java.lang.Object input)
           
 void setLocation(org.eclipse.swt.graphics.Point location)
           
 void setSize(int width, int height)
           
 void setSizeConstraints(int maxWidth, int maxHeight)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface org.eclipse.jface.text.IInformationControl

setSizeConstraints

public void setSizeConstraints(int maxWidth,
                               int maxHeight)
Specified by:
setSizeConstraints in interface org.eclipse.jface.text.IInformationControl

setSize

public void setSize(int width,
                    int height)
Specified by:
setSize in interface org.eclipse.jface.text.IInformationControl

setLocation

public void setLocation(org.eclipse.swt.graphics.Point location)
Specified by:
setLocation in interface org.eclipse.jface.text.IInformationControl

setInformation

@Deprecated
public void setInformation(java.lang.String information)
Deprecated. 

Specified by:
setInformation in interface org.eclipse.jface.text.IInformationControl

setForegroundColor

public void setForegroundColor(org.eclipse.swt.graphics.Color foreground)
Specified by:
setForegroundColor in interface org.eclipse.jface.text.IInformationControl

setFocus

public void setFocus()
Specified by:
setFocus in interface org.eclipse.jface.text.IInformationControl

setBackgroundColor

public void setBackgroundColor(org.eclipse.swt.graphics.Color background)
Specified by:
setBackgroundColor in interface org.eclipse.jface.text.IInformationControl

removeFocusListener

public void removeFocusListener(org.eclipse.swt.events.FocusListener listener)
Specified by:
removeFocusListener in interface org.eclipse.jface.text.IInformationControl

removeDisposeListener

public void removeDisposeListener(org.eclipse.swt.events.DisposeListener listener)
Specified by:
removeDisposeListener in interface org.eclipse.jface.text.IInformationControl

isFocusControl

public boolean isFocusControl()
Specified by:
isFocusControl in interface org.eclipse.jface.text.IInformationControl

computeSizeHint

public org.eclipse.swt.graphics.Point computeSizeHint()
Specified by:
computeSizeHint in interface org.eclipse.jface.text.IInformationControl

addFocusListener

public void addFocusListener(org.eclipse.swt.events.FocusListener listener)
Specified by:
addFocusListener in interface org.eclipse.jface.text.IInformationControl

addDisposeListener

public void addDisposeListener(org.eclipse.swt.events.DisposeListener listener)
Specified by:
addDisposeListener in interface org.eclipse.jface.text.IInformationControl

setInput

public void setInput(java.lang.Object input)
Specified by:
setInput in interface IXtextBrowserInformationControl

notifyDelayedInputChange

public void notifyDelayedInputChange(java.lang.Object object)
Specified by:
notifyDelayedInputChange in interface IXtextBrowserInformationControl

hasDelayedInputChangeListener

public boolean hasDelayedInputChangeListener()
Specified by:
hasDelayedInputChangeListener in interface IXtextBrowserInformationControl

getInput

public org.eclipse.jface.internal.text.html.BrowserInformationControlInput getInput()
Specified by:
getInput in interface IXtextBrowserInformationControl
This method is not intended to be referenced by clients.
This method is not intended to be referenced by clients.

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.jface.text.IInformationControl
Specified by:
dispose in interface IXtextBrowserInformationControl

addLocationListener

public void addLocationListener(org.eclipse.swt.browser.LocationListener createLocationListener)
Specified by:
addLocationListener in interface IXtextBrowserInformationControl

addInputChangeListener

public void addInputChangeListener(org.eclipse.jface.text.IInputChangedListener inputChangeListener)
Specified by:
addInputChangeListener in interface IXtextBrowserInformationControl