public class ShapeSection
extends org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
Constructor and Description |
---|
ShapeSection(int index)
A constructor allowing for the section to be set to display one of the
selected object's children instead of the object itself.
|
Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage) |
void |
refresh() |
void |
setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection) |
public ShapeSection(int index)
index
- The index showing where in the tree of the selected object to
find the source IRenderElement. The tree is laid out linearly
according to a breadth first search for the purpose of this
index, so an index of 0 will display the selected
IRenderElement itself.public void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
createControls
in interface org.eclipse.ui.views.properties.tabbed.ISection
createControls
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void refresh()
refresh
in interface org.eclipse.ui.views.properties.tabbed.ISection
refresh
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void setInput(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
setInput
in interface org.eclipse.ui.views.properties.tabbed.ISection
setInput
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection