public class MarkerHoverControl
extends org.eclipse.jface.text.AbstractInformationControl
implements org.eclipse.jface.text.IInformationControlExtension2, org.eclipse.jface.text.IInformationControlExtension3, org.eclipse.jface.text.IInformationControlExtension5
Constructor and Description |
---|
MarkerHoverControl(org.eclipse.swt.widgets.Shell shell) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Point |
computeSizeHint() |
protected void |
createContent(org.eclipse.swt.widgets.Composite parent) |
protected void |
deferredCreateContent()
Create content of the hover.
|
protected void |
disposeDeferredCreatedContent() |
org.eclipse.jface.text.IInformationControlCreator |
getInformationPresenterControlCreator()
This default implementation returns
null . |
boolean |
hasContents() |
void |
setFocus() |
void |
setInput(Object input) |
void |
setVisible(boolean visible) |
addDisposeListener, addFocusListener, computeSizeConstraints, computeTrim, containsControl, create, dispose, getBounds, getShell, getSizeConstraints, getToolBarManager, handleDispose, isFocusControl, isResizable, isVisible, removeDisposeListener, removeFocusListener, restoresLocation, restoresSize, setBackgroundColor, setForegroundColor, setInformation, setLocation, setSize, setSizeConstraints, setStatusText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MarkerHoverControl(org.eclipse.swt.widgets.Shell shell)
public void setInput(Object input)
setInput
in interface org.eclipse.jface.text.IInformationControlExtension2
public boolean hasContents()
hasContents
in interface org.eclipse.jface.text.IInformationControlExtension
public void setFocus()
setFocus
in interface org.eclipse.jface.text.IInformationControl
setFocus
in class org.eclipse.jface.text.AbstractInformationControl
public final void setVisible(boolean visible)
setVisible
in interface org.eclipse.jface.text.IInformationControl
setVisible
in class org.eclipse.jface.text.AbstractInformationControl
protected void disposeDeferredCreatedContent()
protected void createContent(org.eclipse.swt.widgets.Composite parent)
createContent
in class org.eclipse.jface.text.AbstractInformationControl
public org.eclipse.swt.graphics.Point computeSizeHint()
computeSizeHint
in interface org.eclipse.jface.text.IInformationControl
computeSizeHint
in class org.eclipse.jface.text.AbstractInformationControl
protected void deferredCreateContent()
public org.eclipse.jface.text.IInformationControlCreator getInformationPresenterControlCreator()
null
. Subclasses may override.getInformationPresenterControlCreator
in interface org.eclipse.jface.text.IInformationControlExtension5
getInformationPresenterControlCreator
in class org.eclipse.jface.text.AbstractInformationControl
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.