public class TransformationView
extends org.eclipse.ui.part.ViewPart
Eclipse UI view with a series of inputs for manipulating the position and transformation of a selected shape
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
Eclipse view ID
|
Constructor and Description |
---|
TransformationView() |
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent) |
void |
setFocus() |
void |
setShape(IShape shape)
Sets the input shape and updates the state of the TransformationView to
manipulate the input shape's transformation
|
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)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
parent
- public void setShape(IShape shape)
Sets the input shape and updates the state of the TransformationView to manipulate the input shape's transformation
Passing a null value for the input shape reinitializes and disables all the text boxes in the view.
shape
- public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart