public class ICEMatrixComponentSectionPart extends org.eclipse.ui.forms.SectionPart implements IUpdateableListener
This class is a subclass of SectionPart from org.eclipse.ui.forms that renders, updates and monitors an ICE MatrixComponent that is part of a ICEForm. The ICESectionPart takes place in the IManagedForm lifecycle and receives is refreshed dynamically if the underlying ICEMatrixComponent has been updated (i.e. - "gone stale" in the Eclipse parlance). The Java source code for this class contains a private hashmap that is not represented in the model because Jay can not figure out how to show a java.util.hashmap in RSA.
component
Constructor and Description |
---|
ICEMatrixComponentSectionPart(org.eclipse.ui.forms.widgets.Section section,
org.eclipse.ui.forms.editor.FormEditor formEditor,
org.eclipse.ui.forms.IManagedForm managedForm)
The Constructor
|
Modifier and Type | Method and Description |
---|---|
MatrixComponent |
getMatrixComponent()
This operation retrieves the MatrixComponent that is currently rendered,
updated and monitored by the ICESectionPart.
|
void |
renderSection()
This operation reads the MatrixComponent assigned to this SectionPart and
renders the view of that data for the user.
|
void |
setMatrixComponent(MatrixComponent matrix)
This operation sets the MatrixComponent 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 ICEMatrixComponentSectionPart(org.eclipse.ui.forms.widgets.Section section, org.eclipse.ui.forms.editor.FormEditor formEditor, org.eclipse.ui.forms.IManagedForm managedForm)
The Constructor
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 setMatrixComponent(MatrixComponent matrix)
This operation sets the MatrixComponent that should be rendered, updated and monitored by the ICESectionPart.
matrix
- The TableComponent that should be rendered by the SectionPart.
public MatrixComponent getMatrixComponent()
This operation retrieves the MatrixComponent that is currently rendered, updated and monitored by the ICESectionPart.
The TableComponent that is rendered by the SectionPart.
public void renderSection()
This operation reads the MatrixComponent assigned to this SectionPart and renders the view of that data for the user.
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.