public class ICEScrolledPropertiesBlock
extends org.eclipse.ui.forms.MasterDetailsBlock
This is a subclass of MasterDetailsBlock that works with a structured content provider that is provided by ICE. The only way to provide the content provider and details page provider handles for this class is through the constructor.
Constructor and Description |
---|
ICEScrolledPropertiesBlock(MasterDetailsComponent component,
ICEFormEditor editor,
org.eclipse.ui.forms.IDetailsPageProvider pageProvider)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
MasterDetailsComponent |
getComponent()
This operation returns the content provider or null if it was not set in
the constructor.
|
org.eclipse.ui.forms.IDetailsPageProvider |
getDetailsPageProvider()
This operation returns the page provider or null if it was not set in the
constructor.
|
public ICEScrolledPropertiesBlock(MasterDetailsComponent component, ICEFormEditor editor, org.eclipse.ui.forms.IDetailsPageProvider pageProvider)
The constructor. If either argument is null, this class will be unable to render anything to the screen.
component
- The MasterDetailsComponent used to populate the MasterDetailsBlock/ScrolledPropertiesBlock.
editor
- The ICEFormEditor in which the pages will exist. This editor is marked as dirty when the page changes.
pageProvider
- The IDetailsPageProvider that will provide IDetailsPages for the Details block.
public MasterDetailsComponent getComponent()
This operation returns the content provider or null if it was not set in the constructor.
The MasterDetailsComponent that is used to populate the MasterDetailsBlock/ScrolledPropertiesBlock or null if it was not set.
public org.eclipse.ui.forms.IDetailsPageProvider getDetailsPageProvider()
This operation returns the page provider or null if it was not set in the constructor.
The IDetailsPageProvider or null if it was not set.