public class XtextBrowserInformationControlInput
extends org.eclipse.jface.internal.text.html.BrowserInformationControlInput
Constructor and Description |
---|
XtextBrowserInformationControlInput(XtextBrowserInformationControlInput previous,
org.eclipse.emf.ecore.EObject element,
java.lang.String html,
org.eclipse.jface.viewers.ILabelProvider labelProvider)
Creates a new browser information control input.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EObject |
getElement() |
java.lang.String |
getHtml() |
java.lang.Object |
getInputElement() |
java.lang.String |
getInputName() |
int |
getLeadingImageWidth() |
public XtextBrowserInformationControlInput(XtextBrowserInformationControlInput previous, org.eclipse.emf.ecore.EObject element, java.lang.String html, org.eclipse.jface.viewers.ILabelProvider labelProvider)
previous
- previous input, or null
if none availableelement
- the element, or null
if none availablehtml
- HTML contents, must not be nulllabelProvider
- used to determinate the input name getInputName()
.public int getLeadingImageWidth()
getLeadingImageWidth
in class org.eclipse.jface.internal.text.html.BrowserInformationControlInput
public org.eclipse.emf.ecore.EObject getElement()
public java.lang.String getHtml()
getHtml
in class org.eclipse.jface.internal.text.html.BrowserInformationControlInput
public java.lang.Object getInputElement()
getInputElement
in class org.eclipse.jface.internal.text.html.BrowserInput
public java.lang.String getInputName()
getInputName
in class org.eclipse.jface.internal.text.html.BrowserInput