public class ShapeTreeView
extends org.eclipse.ui.part.ViewPart
implements org.eclipse.jface.viewers.ISelectionChangedListener
Eclipse UI view containing a toolbar and TreeViewer to manipulate the structure and elements in a Constructive Solid Geometry (CSG) tree
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
Eclipse view ID
|
Constructor and Description |
---|
ShapeTreeView() |
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
Creates the SWT controls for this ShapeTreeView
|
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Updates the disabled state of the action icons and the state of the
TransformationView
|
void |
setFocus()
(non-Javadoc)
|
void |
setGeometry(GeometryComponent geometry) |
getViewSite, init, init, saveState, setInitializationData
addPartPropertyListener, addPropertyListener, dispose, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String ID
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
Creates the SWT controls for this ShapeTreeView
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
parent
- The parent Composite
public void setGeometry(GeometryComponent geometry)
geometry
- public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
IWorkbenchPart.setFocus()
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
selectionChanged
in interface org.eclipse.jface.viewers.ISelectionChangedListener