public class EEFTabContents
extends java.lang.Object
Constructor | Description |
---|---|
EEFTabContents(java.util.List<IEEFSection> sections) |
The constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
aboutToBeHidden() |
Sends the lifecycle event to the page's sections.
|
void |
aboutToBeShown() |
Sends the lifecycle event to the page's sections.
|
boolean |
controlsHaveBeenCreated() |
Indicates if the controls of the tab have been created.
|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
EEFTabbedPropertySheetPage page) |
Creates the page's sections controls.
|
void |
dispose() |
Dispose of page's sections controls.
|
IEEFSection |
getSectionAtIndex(int i) |
Retrieve the section at a numbered index.
|
int |
getSectionIndex(IEEFSection section) |
Retrieve a numbered index for the section.
|
java.util.List<IEEFSection> |
getSections() |
Return the sections.
|
void |
refresh() |
If controls have been created, refresh all sections on the page.
|
void |
setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection) |
Sets page's sections input objects.
|
public EEFTabContents(java.util.List<IEEFSection> sections)
sections
- The section to use in the tabpublic java.util.List<IEEFSection> getSections()
public int getSectionIndex(IEEFSection section)
section
- the section.public IEEFSection getSectionAtIndex(int i)
i
- a numbered index.public void createControls(org.eclipse.swt.widgets.Composite parent, EEFTabbedPropertySheetPage page)
parent
- The parent compositepage
- The pagepublic void setInput(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
part
- The workbench partselection
- The current selectionpublic void refresh()
public void aboutToBeShown()
public void aboutToBeHidden()
public void dispose()
public boolean controlsHaveBeenCreated()
true
if the controls have been created, false
otherwise