public class VertexSection
extends org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
ISection
for displaying the location of a
VertexController
in a modifiable manner.Constructor and Description |
---|
VertexSection()
The default constructor.
|
VertexSection(int vertexIndex)
This constructor should be used when the selection is expected to be an
Edge or a Polygon.
|
Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
Creates the controls displayed in the section.
|
void |
dispose()
This should dispose of any resources used by this section.
|
void |
refresh()
This should update all of the widgets that show data from the associated
vertex.
|
void |
setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
This should take a Vertex from the current selection and set
vertex . |
public VertexSection()
public VertexSection(int vertexIndex)
vertexIndex
- The index of the vertex with respect to the edge or polygon.public void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
xText
and yText
.createControls
in interface org.eclipse.ui.views.properties.tabbed.ISection
createControls
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void setInput(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
vertex
.setInput
in interface org.eclipse.ui.views.properties.tabbed.ISection
setInput
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void dispose()
dispose
in interface org.eclipse.ui.views.properties.tabbed.ISection
dispose
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