public class AdvancedPropertySection extends AbstractPropertySection
Modifier and Type | Field and Description |
---|---|
protected PropertySheetPage |
page
The Property Sheet Page.
|
STANDARD_LABEL_WIDTH
Constructor and Description |
---|
AdvancedPropertySection() |
Modifier and Type | Method and Description |
---|---|
void |
createControls(Composite parent,
TabbedPropertySheetPage atabbedPropertySheetPage)
Creates the controls for the section.
|
void |
dispose()
Dispose this section.
|
void |
refresh()
Refresh the contents of the controls displayed in this section.
|
void |
setInput(IWorkbenchPart part,
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.
|
aboutToBeHidden, aboutToBeShown, getMinimumHeight, getPart, getSelection, getWidgetFactory
protected PropertySheetPage page
public void createControls(Composite parent, TabbedPropertySheetPage atabbedPropertySheetPage)
ISection
Clients should take advantage of the widget factory provided by the framework to achieve a common look between property sections.
createControls
in interface ISection
createControls
in class AbstractPropertySection
parent
- the parent composite for the section.atabbedPropertySheetPage
- the tabbed property sheet page.ISection.createControls(org.eclipse.swt.widgets.Composite,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)
public void setInput(IWorkbenchPart part, ISelection selection)
ISection
setInput
in interface ISection
setInput
in class AbstractPropertySection
part
- The active workench part.selection
- The active selection in the workbench part.ISection.setInput(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)
public void dispose()
ISection
dispose
in interface ISection
dispose
in class AbstractPropertySection
ISection.dispose()
public void refresh()
ISection
refresh
in interface ISection
refresh
in class AbstractPropertySection
ISection.refresh()
public boolean shouldUseExtraSpace()
ISection
shouldUseExtraSpace
in interface ISection
shouldUseExtraSpace
in class AbstractPropertySection
true
if this section would like extra height space.ISection.shouldUseExtraSpace()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.