public class ShapeTreeSelectionListener
extends java.lang.Object
implements org.eclipse.jface.viewers.ISelectionChangedListener
Handles the selection or deselection of shape items in the shape TreeViewer
Constructor and Description |
---|
ShapeTreeSelectionListener(org.eclipse.ui.IWorkbenchPage workbenchPage)
The constructor for setting the internal reference to the current
IWorkbenchPage
|
Modifier and Type | Method and Description |
---|---|
void |
selectionChanged(java.lang.Class event)
Triggered with the shape tree selection is changed
|
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Changes the state of the TransformationView according to the currently
selected shape
|
public ShapeTreeSelectionListener(org.eclipse.ui.IWorkbenchPage workbenchPage)
The constructor for setting the internal reference to the current IWorkbenchPage
workbenchPage
- The current IWorkbenchPage
public void selectionChanged(java.lang.Class event)
Triggered with the shape tree selection is changed
The current implementation updates the referenced shape of the TransformationView.
event
- The selection event
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
selectionChanged
in interface org.eclipse.jface.viewers.ISelectionChangedListener
ISelectionChangedListener.selectionChanged(SelectionChangedEvent
event)