public class ICEMasterDetailsPage extends ICEFormPage
This class is a FormPage that creates a page with as master-details block for manipulating an ICEMasterDetailsComponent. It presents information to users in a way that is consistent with the master-details pattern.
Constructor and Description |
---|
ICEMasterDetailsPage(org.eclipse.ui.forms.editor.FormEditor editor,
java.lang.String id,
java.lang.String title)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
MasterDetailsComponent |
getMasterDetailsComponent()
This operation retrieves the MasterDetailsComponent that is currently
managed by the ICEMasterDetailsPage.
|
void |
refreshMaster()
Refreshes the tableViewer on the ICEScrollBlock
|
void |
setMasterDetailsComponent(MasterDetailsComponent component)
This operation sets the MasterDetailsComponent that should be managed by
the ICEMasterDetailsPage.
|
canLeaveThePage, createPartControl, dispose, doSave, doSaveAs, getEditor, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, initialize, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setFocus, setIndex
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData
addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ICEMasterDetailsPage(org.eclipse.ui.forms.editor.FormEditor editor, java.lang.String id, java.lang.String title)
The constructor.
editor
- The FormEditor for which the Page should be constructed.
id
- The id of the page.
title
- The title of the page.
public void setMasterDetailsComponent(MasterDetailsComponent component)
This operation sets the MasterDetailsComponent that should be managed by the ICEMasterDetailsPage.
component
- The MasterDetailsComponent.
public MasterDetailsComponent getMasterDetailsComponent()
This operation retrieves the MasterDetailsComponent that is currently managed by the ICEMasterDetailsPage.
The MasterDetailsComponent or null if the component has not yet been set in the page.
public void refreshMaster()