public class ICEDetailsPageProvider
extends java.lang.Object
implements org.eclipse.ui.forms.IDetailsPageProvider
This class implements the IDetailsPageProvider interface to provide a Details pages for a MasterDetailsBlock. The only way to provide the MasterDetailsComponent handle for this class is through the constructor.
Constructor and Description |
---|
ICEDetailsPageProvider(MasterDetailsComponent masterDetailsComponent,
ICEFormEditor editor)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
MasterDetailsComponent |
getComponent()
This operation returns the component that is used to gather details information or null if it was not set in the constructor.
|
org.eclipse.ui.forms.IDetailsPage |
getPage(java.lang.Object key)
(non-Javadoc)
|
java.lang.Object |
getPageKey(java.lang.Object object)
(non-Javadoc)
|
public ICEDetailsPageProvider(MasterDetailsComponent masterDetailsComponent, ICEFormEditor editor)
The constructor. If the is null, this class will be unable to render anything to the screen.
masterDetailsComponent
- The MasterDetailsComponent that has the DataComponents that will be used as Details blocks in the MasterDetails table.
editor
- The ICEFormEditor in which the pages will exist. This editor is marked as dirty when the page changes.
public MasterDetailsComponent getComponent()
This operation returns the component that is used to gather details information or null if it was not set in the constructor.
The MasterDetailsComponent used in this provider or null if it was not set.
public java.lang.Object getPageKey(java.lang.Object object)
getPageKey
in interface org.eclipse.ui.forms.IDetailsPageProvider
IDetailsPageProvider.getPageKey(Object object)
public org.eclipse.ui.forms.IDetailsPage getPage(java.lang.Object key)
getPage
in interface org.eclipse.ui.forms.IDetailsPageProvider
IDetailsPageProvider.getPage(Object key)