Class AdvancedPropertySection
- java.lang.Object
-
- org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
-
- org.eclipse.ui.views.properties.tabbed.AdvancedPropertySection
-
- All Implemented Interfaces:
ISection
public class AdvancedPropertySection extends AbstractPropertySection
An advanced section that is intended to show the original table format properties view provided by base Eclipse.
-
-
Field Summary
Fields Modifier and Type Field Description protected PropertySheetPagepageThe Property Sheet Page.-
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
STANDARD_LABEL_WIDTH
-
-
Constructor Summary
Constructors Constructor Description AdvancedPropertySection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateControls(Composite parent, TabbedPropertySheetPage atabbedPropertySheetPage)Creates the controls for the section.voiddispose()Dispose this section.voidrefresh()Refresh the contents of the controls displayed in this section.voidsetInput(IWorkbenchPart part, ISelection selection)Notifies the section that the workbench selection has changed.booleanshouldUseExtraSpace()Determine whether this section would like extra height space in case there is some left.-
Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
aboutToBeHidden, aboutToBeShown, getMinimumHeight, getPart, getSelection, getWidgetFactory
-
-
-
-
Field Detail
-
page
protected PropertySheetPage page
The Property Sheet Page.
-
-
Method Detail
-
createControls
public void createControls(Composite parent, TabbedPropertySheetPage atabbedPropertySheetPage)
Description copied from interface:ISectionCreates the controls for the section.Clients should take advantage of the widget factory provided by the framework to achieve a common look between property sections.
- Specified by:
createControlsin interfaceISection- Overrides:
createControlsin classAbstractPropertySection- Parameters:
parent- the parent composite for the section.atabbedPropertySheetPage- the tabbed property sheet page.- See Also:
TabbedPropertySheetPage.getWidgetFactory()
-
setInput
public void setInput(IWorkbenchPart part, ISelection selection)
Description copied from interface:ISectionNotifies the section that the workbench selection has changed.- Specified by:
setInputin interfaceISection- Overrides:
setInputin classAbstractPropertySection- Parameters:
part- The active workench part.selection- The active selection in the workbench part.
-
dispose
public void dispose()
Description copied from interface:ISectionDispose this section.- Specified by:
disposein interfaceISection- Overrides:
disposein classAbstractPropertySection
-
refresh
public void refresh()
Description copied from interface:ISectionRefresh the contents of the controls displayed in this section.- Specified by:
refreshin interfaceISection- Overrides:
refreshin classAbstractPropertySection
-
shouldUseExtraSpace
public boolean shouldUseExtraSpace()
Description copied from interface:ISectionDetermine whether this section would like extra height space in case there is some left. Normally this is true when the section is the last to be displayed on a tab or is the only section on a tab.- Specified by:
shouldUseExtraSpacein interfaceISection- Overrides:
shouldUseExtraSpacein classAbstractPropertySection- Returns:
trueif this section would like extra height space.
-
-