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 tabbedPropertySheetPage)
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, getWidgetFactoryprotected PropertySheetPage page
public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage)
ISectionClients should take advantage of the widget factory provided by the framework to achieve a common look between property sections.
createControls in interface ISectioncreateControls in class AbstractPropertySectionparent - the parent composite for the section.tabbedPropertySheetPage - 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)
ISectionsetInput in interface ISectionsetInput in class AbstractPropertySectionpart - 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()
ISectiondispose in interface ISectiondispose in class AbstractPropertySectionISection.dispose()public void refresh()
ISectionrefresh in interface ISectionrefresh in class AbstractPropertySectionISection.refresh()public boolean shouldUseExtraSpace()
ISectionshouldUseExtraSpace in interface ISectionshouldUseExtraSpace in class AbstractPropertySectiontrue if this section would like extra height space.ISection.shouldUseExtraSpace()Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.