T
- the control typepublic abstract class AbstractSimpleSection<T extends org.eclipse.swt.widgets.Control> extends AbstractSingleObjectSection
Constructor and Description |
---|
AbstractSimpleSection() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
createControl(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory widgetFactory)
Create and configure the control that should display the property.
|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage) |
protected abstract String |
getPropertyName()
Get the property name to display in the section label.
|
protected void |
setInput(Object input)
Set the input object.
|
protected abstract void |
updateControl(Object input,
T control)
Update the control with the new object.
|
setInput
protected void setInput(Object input)
AbstractSingleObjectSection
setInput
in class AbstractSingleObjectSection
input
- the object to display properties onAbstractSingleObjectSection.setInput(java.lang.Object)
protected abstract void updateControl(Object input, T control)
input
- the object to display properties oncontrol
- the controlprotected abstract T createControl(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory widgetFactory)
parent
- the parent compositewidgetFactory
- the widget factory to use for creating the controlprotected abstract String getPropertyName()
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
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a