public class EEFLegacySection extends AbstractEEFSection
ISection to an AbstractEEFSection.STANDARD_LABEL_WIDTH| Constructor and Description |
|---|
EEFLegacySection(org.eclipse.ui.views.properties.tabbed.ISection legacySection)
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 eefTabbedPropertySheetPage)
Creates the controls for the section.
|
void |
dispose()
Dispose this section.
|
boolean |
equals(java.lang.Object obj) |
int |
getMinimumHeight()
Returns the minimum height needed by this section.
|
int |
hashCode() |
void |
refresh()
Refresh the contents of the controls displayed in this section.
|
void |
setInput(org.eclipse.ui.IWorkbenchPart workbenchPart,
org.eclipse.jface.viewers.ISelection currentSelection)
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.
|
java.lang.String |
toString() |
public EEFLegacySection(org.eclipse.ui.views.properties.tabbed.ISection legacySection)
legacySection - A legacy sectionpublic void createControls(org.eclipse.swt.widgets.Composite parent,
EEFTabbedPropertySheetPage eefTabbedPropertySheetPage)
Clients should take advantage of the widget factory provided by the framework to achieve a common look between property sections.
createControls in interface IEEFSectioncreateControls in class AbstractEEFSectionparent - the parent composite for the section.eefTabbedPropertySheetPage - the tabbed property sheet page.AbstractEEFSection.createControls(org.eclipse.swt.widgets.Composite,
org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage)public void aboutToBeHidden()
aboutToBeHidden in interface IEEFSectionaboutToBeHidden in class AbstractEEFSectionAbstractEEFSection.aboutToBeHidden()public void dispose()
dispose in interface IEEFSectiondispose in class AbstractEEFSectionAbstractEEFSection.dispose()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public void aboutToBeShown()
Since the controls are not visible, the section should wait for the refresh() before updating the section controls.
aboutToBeShown in interface IEEFSectionaboutToBeShown in class AbstractEEFSectionAbstractEEFSection.aboutToBeShown()public int getMinimumHeight()
SWT.DEFAULT indicates that no
minimum height is defined.getMinimumHeight in interface IEEFSectiongetMinimumHeight in class AbstractEEFSectionAbstractEEFSection.getMinimumHeight()public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public void refresh()
refresh in interface IEEFSectionrefresh in class AbstractEEFSectionAbstractEEFSection.refresh()public void setInput(org.eclipse.ui.IWorkbenchPart workbenchPart,
org.eclipse.jface.viewers.ISelection currentSelection)
setInput in interface IEEFSectionsetInput in class AbstractEEFSectionworkbenchPart - The active workbench part.currentSelection - The active selection in the workbench part.AbstractEEFSection.setInput(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)public boolean shouldUseExtraSpace()
shouldUseExtraSpace in interface IEEFSectionshouldUseExtraSpace in class AbstractEEFSectiontrue if this section would like extra height space.AbstractEEFSection.shouldUseExtraSpace()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()