| java.lang.Object org.eclipse.jface.text.AbstractInformationControlManager org.eclipse.jface.text.information.InformationPresenter
Inner Class :class Closer implements IInformationControlCloser,ControlListener,MouseListener,FocusListener,IViewportListener,KeyListener | |
Field Summary | |
final public static int | WIDGET_PRIORITY Priority of the info controls managed by this information presenter. |
WIDGET_PRIORITY | final public static int WIDGET_PRIORITY(Code) | | Priority of the info controls managed by this information presenter.
Default value: 5 .
since: 3.0 |
InformationPresenter | public InformationPresenter(IInformationControlCreator creator)(Code) | | Creates a new information presenter that uses the given information control creator.
The presenter is not installed on any text viewer yet. By default, an information
control closer is set that closes the information control in the event of key strokes,
resizing, moves, focus changes, mouse clicks, and disposal - all of those applied to
the information control's parent control. Also, the setup ensures that the information
control when made visible will request the focus. By default, the default document
partitioning
IDocumentExtension3.DEFAULT_PARTITIONING is used.
Parameters: creator - the information control creator to be used |
computeInformation | protected void computeInformation()(Code) | | |
getDocumentPartitioning | public String getDocumentPartitioning()(Code) | | |
handleInformationControlDisposed | protected void handleInformationControlDisposed()(Code) | | |
hideInformationControl | protected void hideInformationControl()(Code) | | |
setDocumentPartitioning | public void setDocumentPartitioning(String partitioning)(Code) | | Sets the document partitioning to be used by this information presenter.
Parameters: partitioning - the document partitioning to be used by this information presenter since: 3.0 |
setInformationProvider | public void setInformationProvider(IInformationProvider provider, String contentType)(Code) | | Registers a given information provider for a particular content type.
If there is already a provider registered for this type, the new provider
is registered instead of the old one.
Parameters: provider - the information provider to register, or null to remove an existing one Parameters: contentType - the content type under which to register |
setOffset | public void setOffset(int offset)(Code) | | Sets a offset to override the selection. Setting the value to -1 will disable
overriding.
Parameters: offset - the offset to override selection or -1 |
showInformationControl | protected void showInformationControl(Rectangle subjectArea)(Code) | | |
uninstall | public void uninstall()(Code) | | |
Methods inherited from org.eclipse.jface.text.AbstractInformationControlManager | protected Rectangle computeAvailableArea(Rectangle subjectArea, Rectangle bounds, Anchor anchor)(Code)(Java Doc) abstract protected void computeInformation()(Code)(Java Doc) protected Point computeInformationControlLocation(Rectangle subjectArea, Point controlSize)(Code)(Java Doc) protected Point computeLocation(Rectangle subjectArea, Point controlSize, Anchor anchor)(Code)(Java Doc) protected Point computeSizeConstraints(Control subjectControl, IInformationControl informationControl)(Code)(Java Doc) protected Point computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl)(Code)(Java Doc) public void dispose()(Code)(Java Doc) public void disposeInformationControl()(Code)(Java Doc) protected void doShowInformation()(Code)(Java Doc) protected IInformationControl getInformationControl()(Code)(Java Doc) protected Anchor getNextFallbackAnchor(Anchor anchor)(Code)(Java Doc) protected Rectangle getSubjectArea()(Code)(Java Doc) protected Control getSubjectControl()(Code)(Java Doc) protected void handleInformationControlDisposed()(Code)(Java Doc) protected void handleSubjectControlDisposed()(Code)(Java Doc) protected void hideInformationControl()(Code)(Java Doc) public void install(Control subjectControl)(Code)(Java Doc) protected boolean isEnabled()(Code)(Java Doc) protected void presentInformation()(Code)(Java Doc) protected Rectangle restoreInformationControlBounds()(Code)(Java Doc) public void setAnchor(Anchor anchor)(Code)(Java Doc) protected void setCloser(IInformationControlCloser closer)(Code)(Java Doc) protected void setCustomInformationControlCreator(IInformationControlCreator informationControlCreator)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setFallbackAnchors(Anchor[] fallbackAnchors)(Code)(Java Doc) final protected void setInformation(String information, Rectangle subjectArea)(Code)(Java Doc) final protected void setInformation(Object information, Rectangle subjectArea)(Code)(Java Doc) public void setMargins(int xMargin, int yMargin)(Code)(Java Doc) public void setRestoreInformationControlBounds(IDialogSettings dialogSettings, boolean restoreLocation, boolean restoreSize)(Code)(Java Doc) public void setSizeConstraints(int widthInChar, int heightInChar, boolean enforceAsMinimalSize, boolean enforceAsMaximalSize)(Code)(Java Doc) public void showInformation()(Code)(Java Doc) protected void showInformationControl(Rectangle subjectArea)(Code)(Java Doc) protected void storeInformationControlBounds()(Code)(Java Doc) public void takesFocusWhenVisible(boolean takesFocus)(Code)(Java Doc) protected boolean updateLocation(Point location, Point size, Rectangle displayArea, Anchor anchor)(Code)(Java Doc)
|
|
|