Eclipse Platform
Release 3.2

org.eclipse.ui.views.properties.tabbed
Class AdvancedPropertySection

java.lang.Object
  extended byorg.eclipse.ui.views.properties.tabbed.AbstractPropertySection
      extended byorg.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
protected  PropertySheetPage page
          The Property Sheet Page.
 
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
STANDARD_LABEL_WIDTH
 
Constructor Summary
AdvancedPropertySection()
           
 
Method Summary
 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.
 
Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
aboutToBeHidden, aboutToBeShown, getMinimumHeight, getPart, getSelection, getWidgetFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

page

protected PropertySheetPage page
The Property Sheet Page.

Constructor Detail

AdvancedPropertySection

public AdvancedPropertySection()
Method Detail

createControls

public void createControls(Composite parent,
                           TabbedPropertySheetPage tabbedPropertySheetPage)
Description copied from interface: ISection
Creates 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:
createControls in interface ISection
Overrides:
createControls in class AbstractPropertySection
See Also:
ISection.createControls(org.eclipse.swt.widgets.Composite, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)

setInput

public void setInput(IWorkbenchPart part,
                     ISelection selection)
Description copied from interface: ISection
Notifies the section that the workbench selection has changed.

Specified by:
setInput in interface ISection
Overrides:
setInput in class AbstractPropertySection
See Also:
ISection.setInput(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)

dispose

public void dispose()
Description copied from interface: ISection
Dispose this section.

Specified by:
dispose in interface ISection
Overrides:
dispose in class AbstractPropertySection
See Also:
ISection.dispose()

refresh

public void refresh()
Description copied from interface: ISection
Refresh the contents of the controls displayed in this section.

Specified by:
refresh in interface ISection
Overrides:
refresh in class AbstractPropertySection
See Also:
ISection.refresh()

shouldUseExtraSpace

public boolean shouldUseExtraSpace()
Description copied from interface: ISection
Determine 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:
shouldUseExtraSpace in interface ISection
Overrides:
shouldUseExtraSpace in class AbstractPropertySection
See Also:
ISection.shouldUseExtraSpace()

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.