static class NLSStringHover.NLSHoverControl extends DefaultInformationControl implements IInformationControlExtension2
DefaultInformationControl.IInformationPresenter, DefaultInformationControl.IInformationPresenterExtension| Constructor and Description |
|---|
NLSStringHover.NLSHoverControl(Shell parent,
String tooltipAffordanceString)
Creates an NLS hover control with the given shell as parent.
|
NLSStringHover.NLSHoverControl(Shell parent,
ToolBarManager tbm)
Creates a resizable NLS hover control with the given shell as parent.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.NLSHoverControlInput |
getInput()
Returns the control input.
|
void |
setInput(Object input)
Sets the input to be presented in this information control.
|
computeSizeHint, computeTrim, createContent, getInformationPresenterControlCreator, hasContents, setBackgroundColor, setForegroundColor, setInformation, setVisible, widgetDisposedaddDisposeListener, addFocusListener, computeSizeConstraints, containsControl, create, dispose, getBounds, getShell, getSizeConstraints, getToolBarManager, isFocusControl, isResizable, isVisible, removeDisposeListener, removeFocusListener, restoresLocation, restoresSize, setFocus, setLocation, setSize, setSizeConstraints, setStatusTextpublic NLSStringHover.NLSHoverControl(Shell parent, ToolBarManager tbm)
parent - the parent shelltbm - the toolbar manager or null if toolbar is not desiredpublic NLSStringHover.NLSHoverControl(Shell parent, String tooltipAffordanceString)
parent - the parent shelltooltipAffordanceString - the text to be used in the status field or
null to hide the status fieldpublic void setInput(Object input)
NLSStringHover.NLSHoverControlInput.setInput in interface IInformationControlExtension2input - the object to be used as input for this controlpublic org.eclipse.jdt.internal.ui.text.java.hover.NLSStringHover.NLSHoverControlInput getInput()