public class ICEDataComponentSectionPart extends org.eclipse.ui.forms.SectionPart implements IUpdateableListener
component
Constructor and Description |
---|
ICEDataComponentSectionPart(org.eclipse.ui.forms.widgets.Section section,
ICEFormEditor formEditor,
org.eclipse.ui.forms.IManagedForm managedForm)
The Constructor
|
Modifier and Type | Method and Description |
---|---|
DataComponent |
getDataComponent()
This operation retrieves the DataComponent that is currently rendered,
updated and monitored by the ICESectionPart.
|
void |
refresh()
Override the refresh() operation to handle a redraw if needed.
|
void |
renderSection()
This operation reads the DataComponent assigned to this SectionPart and
renders the view of that data for the user.
|
void |
setDataComponent(DataComponent component)
This operation sets the DataComponent that should be rendered, updated
and monitored by the ICESectionPart.
|
void |
update(IUpdateable component)
This operation notifies the listener that an update has occurred in the
Component.
|
public ICEDataComponentSectionPart(org.eclipse.ui.forms.widgets.Section section, ICEFormEditor formEditor, org.eclipse.ui.forms.IManagedForm managedForm)
section
- The new Section to be managed by the ICESectionPart.formEditor
- The FormEditor that is managing all of the Pages and
SectionParts.managedForm
- The ManagedForm for the Section.public void renderSection()
public void setDataComponent(DataComponent component)
component
- The DataComponentpublic DataComponent getDataComponent()
public void update(IUpdateable component)
IUpdateableListener
This operation notifies the listener that an update has occurred in the Component.
update
in interface IUpdateableListener
component
- The component that was updated in some way.public void refresh()
refresh
in interface org.eclipse.ui.forms.IFormPart
refresh
in class org.eclipse.ui.forms.AbstractFormPart