public class EdgeInfoSection extends GeneralInfoSection
ISection
for displaying the information of an
EdgeController
in a modifiable manner.Constructor and Description |
---|
EdgeInfoSection()
The default constructor.
|
EdgeInfoSection(int edgeIndex)
This constructor should be used when the selection is expected to be 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 an EdgeInfoSection can be properly
constructed from a selected Polygon.
|
createControls, dispose, refresh
public EdgeInfoSection()
public EdgeInfoSection(int edgeIndex)
edgeIndex
- The index of the edge with respect to the 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