| java.lang.Object org.eclipse.jdt.internal.ui.text.java.hover.AnnotationExpansionControl
AnnotationExpansionControl | public class AnnotationExpansionControl implements IInformationControl,IInformationControlExtension,IInformationControlExtension2(Code) | | A control that can display a number of annotations. The control can decide how it layouts the
annotations to present them to the user.
This class got moved here form Platform Text since it was not used there
and caused discouraged access warnings. It will be moved down again once
annotation roll-over support is provided by Platform Text.
Each annotation can have its custom context menu and hover.
since: 3.2 |
Inner Class :public interface ICallback | |
Inner Class :public static class AnnotationHoverInput | |
Inner Class :public class LinearLayouter | |
Field Summary | |
protected Composite | fComposite The composite combining all the items. | protected AnnotationHoverInput | fInput Model data. |
Constructor Summary | |
public | AnnotationExpansionControl(Shell parent, int shellStyle, IAnnotationAccess access) Creates a new control. |
fComposite | protected Composite fComposite(Code) | | The composite combining all the items.
|
fInput | protected AnnotationHoverInput fInput(Code) | | Model data.
|
AnnotationExpansionControl | public AnnotationExpansionControl(Shell parent, int shellStyle, IAnnotationAccess access)(Code) | | Creates a new control.
Parameters: parent - Parameters: shellStyle - Parameters: access - |
addDisposeListener | public void addDisposeListener(DisposeListener listener)(Code) | | |
addFocusListener | public void addFocusListener(FocusListener listener)(Code) | | |
adjustItemNumber | protected void adjustItemNumber()(Code) | | |
computeSizeHint | public Point computeSizeHint()(Code) | | |
dispose | public void dispose()(Code) | | |
hasContents | public boolean hasContents()(Code) | | |
isFocusControl | public boolean isFocusControl()(Code) | | |
refresh | protected void refresh()(Code) | | |
removeDisposeListener | public void removeDisposeListener(DisposeListener listener)(Code) | | |
removeFocusListener | public void removeFocusListener(FocusListener listener)(Code) | | |
setBackgroundColor | public void setBackgroundColor(Color background)(Code) | | |
setFocus | public void setFocus()(Code) | | |
setForegroundColor | public void setForegroundColor(Color foreground)(Code) | | |
setInformation | public void setInformation(String information)(Code) | | |
setLocation | public void setLocation(Point location)(Code) | | |
setSize | public void setSize(int width, int height)(Code) | | |
setSizeConstraints | public void setSizeConstraints(int maxWidth, int maxHeight)(Code) | | |
setVisible | public void setVisible(boolean visible)(Code) | | |
|
|