public class EEFSection extends java.lang.Object implements IEEFSection
IEEFSection using the EEFSectionDescriptor.| Constructor and Description |
|---|
EEFSection(EEFPage eefPage)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
aboutToBeHidden()
Notifies the section that its controls are about to be hidden.
|
void |
aboutToBeShown()
Notifies the section that its controls are about to be shown.
|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
EEFTabbedPropertySheetPage tabbedPropertySheetPage)
Creates the controls for the section.
|
void |
dispose()
Dispose this section.
|
int |
getMinimumHeight()
Returns the minimum height needed by this section.
|
void |
refresh()
Refresh the contents of the controls displayed in this section.
|
void |
setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
Notifies the section that the workbench selection has changed.
|
boolean |
shouldUseExtraSpace()
Determine whether this section would like extra height space in case there is some left.
|
public EEFSection(EEFPage eefPage)
eefPage - The pagepublic void createControls(org.eclipse.swt.widgets.Composite parent,
EEFTabbedPropertySheetPage tabbedPropertySheetPage)
IEEFSectionClients should take advantage of the widget factory provided by the framework to achieve a common look between property sections.
createControls in interface IEEFSectionparent - the parent composite for the section.tabbedPropertySheetPage - the tabbed property sheet page.EEFTabbedPropertySheetPage.getWidgetFactory()public void aboutToBeShown()
IEEFSectionSince the controls are not visible, the section should wait for the refresh() before updating the section controls.
aboutToBeShown in interface IEEFSectionpublic void setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
IEEFSectionsetInput in interface IEEFSectionpart - The active workbench part.selection - The active selection in the workbench part.public void refresh()
IEEFSectionrefresh in interface IEEFSectionpublic void aboutToBeHidden()
IEEFSectionaboutToBeHidden in interface IEEFSectionpublic void dispose()
IEEFSectiondispose in interface IEEFSectionpublic int getMinimumHeight()
IEEFSectionSWT.DEFAULT indicates that no
minimum height is defined.getMinimumHeight in interface IEEFSectionpublic boolean shouldUseExtraSpace()
IEEFSectionshouldUseExtraSpace in interface IEEFSectiontrue if this section would like extra height space.