public abstract class AbstractDocumentationTextSection extends DefaultDefinitionSection<Definition<?>>
Constructor and Description |
---|
AbstractDocumentationTextSection() |
Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage) |
protected abstract String |
getDocumentationLabel()
Get the label text to display in the section.
|
protected abstract String |
getDocumentationText(Documentation doc)
Get the documentation text from a given BBR documentation.
|
void |
refresh() |
boolean |
shouldUseExtraSpace() |
protected boolean |
useMultilineText()
States if a multi-line text field should be used.
|
extract, setInput
getDefinition, setDefinition
abstractCreateControls, getText, getText2
setInput
public void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
createControls
in interface org.eclipse.ui.views.properties.tabbed.ISection
createControls
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public boolean shouldUseExtraSpace()
shouldUseExtraSpace
in interface org.eclipse.ui.views.properties.tabbed.ISection
shouldUseExtraSpace
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
AbstractPropertySection.shouldUseExtraSpace()
protected boolean useMultilineText()
true
. Override to change behavior.public void refresh()
refresh
in interface org.eclipse.ui.views.properties.tabbed.ISection
refresh
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
AbstractPropertySection.refresh()
protected abstract String getDocumentationLabel()
protected abstract String getDocumentationText(Documentation doc)
doc
- the documentation objectBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a