public class VertexInfoSection extends GeneralInfoSection
ISection
for displaying the information of a
VertexController
in a modifiable manner.Constructor and Description |
---|
VertexInfoSection()
The default constructor.
|
VertexInfoSection(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 |
setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
Overrides the setInput method so that a VertexInfoSection can be properly
constructed from a selected Edge or Polygon.
|
createControls, dispose, refresh
public VertexInfoSection()
GeneralInfoSection
instead.public VertexInfoSection(int vertexIndex)
vertexIndex
- The index of the vertex with respect to the edge or polygon.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 GeneralInfoSection