public class GraphicalRootEditPart extends AbstractGraphicalEditPart implements RootEditPart, LayerConstants, LayerManager
AbstractGraphicalEditPart.AccessibleGraphicalEditPart, AbstractGraphicalEditPart.DefaultAccessibleAnchorProviderAbstractEditPart.EditPolicyIteratorLayerManager.Helper| Modifier and Type | Field and Description |
|---|---|
protected EditPart |
contents
Deprecated.
The contents
|
protected EditPartViewer |
viewer
Deprecated.
the viewer
|
figure, sourceConnections, targetConnectionschildren, FLAG_ACTIVE, FLAG_FOCUS, MAX_FLAGSELECTED, SELECTED_NONE, SELECTED_PRIMARYCONNECTION_LAYER, FEEDBACK_LAYER, GRID_LAYER, GUIDE_LAYER, HANDLE_LAYER, PRIMARY_LAYER, PRINTABLE_LAYERS, SCALABLE_LAYERS, SCALED_FEEDBACK_LAYERIDREQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER| Constructor and Description |
|---|
GraphicalRootEditPart()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createEditPolicies()
Deprecated.
Creates the initial EditPolicies and/or reserves slots for dynamic ones.
|
protected IFigure |
createFigure()
Deprecated.
Creates the
Figure to be used as this part's visuals. |
Command |
getCommand(Request req)
Deprecated.
Returns the unexecutable command.
|
IFigure |
getContentPane()
Deprecated.
Returns the primary layer, which will parent the contents editpart.
|
EditPart |
getContents()
Deprecated.
Returns the contents EditPart.
|
DragTracker |
getDragTracker(Request req)
Deprecated.
Should never be called.
|
IFigure |
getLayer(java.lang.Object key)
Deprecated.
A convenience method for obtaining the specified layer from the
LayerManager. |
java.lang.Object |
getModel()
Deprecated.
Returns the primary model object that this EditPart represents.
|
RootEditPart |
getRoot()
Deprecated.
Returns
this. |
EditPartViewer |
getViewer()
Deprecated.
Convenience method for returning the
EditPartViewer for this
part. |
protected void |
refreshChildren()
Deprecated.
Overridden to do nothing since the child is explicitly set.
|
void |
setContents(EditPart editpart)
Deprecated.
Sets the contents EditPart.
|
void |
setViewer(EditPartViewer newViewer)
Deprecated.
Sets the root's EditPartViewer.
|
activate, addChildVisual, addNodeListener, addNotify, addSourceConnection, addTargetConnection, createConnection, createOrFindConnection, deactivate, fireRemovingSourceConnection, fireRemovingTargetConnection, fireSourceConnectionAdded, fireTargetConnectionAdded, getAdapter, getFigure, getModelSourceConnections, getModelTargetConnections, getSourceConnections, getTargetConnections, isSelectable, primAddSourceConnection, primAddTargetConnection, primRemoveSourceConnection, primRemoveTargetConnection, refresh, refreshSourceConnections, refreshTargetConnections, registerVisuals, removeChildVisual, removeNodeListener, removeNotify, removeSourceConnection, removeTargetConnection, reorderChild, reorderSourceConnection, reorderTargetConnection, setFigure, setLayoutConstraint, unregisterVisualsactivateEditPolicies, addChild, addEditPartListener, createChild, deactivateEditPolicies, debug, debugFeedback, eraseSourceFeedback, eraseTargetFeedback, fireActivated, fireChildAdded, fireDeactivated, fireRemovingChild, fireSelectionChanged, getAccessibleEditPart, getChildren, getEditPolicy, getEditPolicyIterator, getEventListeners, getFlag, getModelChildren, getParent, getSelected, getTargetEditPart, hasFocus, installEditPolicy, isActive, performRequest, refreshVisuals, register, registerAccessibility, registerModel, removeChild, removeEditPartListener, removeEditPolicy, setFlag, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, toString, understandsRequest, unregister, unregisterAccessibility, unregisterModelclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivate, addEditPartListener, addNotify, deactivate, eraseSourceFeedback, eraseTargetFeedback, getChildren, getEditPolicy, getParent, getSelected, getTargetEditPart, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, refresh, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequestgetAdapterprotected EditPart contents
protected EditPartViewer viewer
protected void createEditPolicies()
AbstractEditPartnull can be used to reserve a "slot",
should there be some desire to guarantee the ordering of EditPolcies.createEditPolicies in class AbstractEditPartAbstractEditPart.createEditPolicies()protected IFigure createFigure()
AbstractGraphicalEditPartFigure to be used as this part's visuals.
This is called from AbstractGraphicalEditPart.getFigure() if the figure has not been
created.createFigure in class AbstractGraphicalEditPartAbstractGraphicalEditPart.createFigure()public Command getCommand(Request req)
getCommand in interface EditPartgetCommand in class AbstractEditPartreq - the RequestEditPart.getCommand(org.eclipse.gef.Request)public EditPart getContents()
RootEditPartgetContents in interface RootEditPartRootEditPart.getContents()public DragTracker getDragTracker(Request req)
getDragTracker in interface EditPartgetDragTracker in class AbstractGraphicalEditPartreq - a Request indicating the context of the dragnull or a DragTrackerEditPart.getDragTracker(org.eclipse.gef.Request)public IFigure getLayer(java.lang.Object key)
AbstractGraphicalEditPartLayerManager.getLayer in interface LayerManagergetLayer in class AbstractGraphicalEditPartkey - ID of the Layernull if it doesn't existLayerManager.getLayer(java.lang.Object)public IFigure getContentPane()
getContentPane in interface GraphicalEditPartgetContentPane in class AbstractGraphicalEditPartGraphicalEditPart.getContentPane()public java.lang.Object getModel()
EditPartgetModel in interface EditPartgetModel in class AbstractEditPartnull or the primary model objectEditPart.getModel()public RootEditPart getRoot()
this.getRoot in interface EditPartgetRoot in class AbstractEditPartnull or the RootEditPartEditPart.getRoot()public EditPartViewer getViewer()
EditPartEditPartViewer for this
part.getViewer in interface EditPartgetViewer in interface RootEditPartgetViewer in class AbstractEditPartEditPartViewer or nullEditPart.getViewer()protected void refreshChildren()
refreshChildren in class AbstractEditPartAbstractEditPart.refreshChildren()public void setContents(EditPart editpart)
RootEditPartsetContents in interface RootEditParteditpart - the contentsRootEditPart.setContents(org.eclipse.gef.EditPart)public void setViewer(EditPartViewer newViewer)
RootEditPartsetViewer in interface RootEditPartnewViewer - the EditPartViewerRootEditPart.setViewer(org.eclipse.gef.EditPartViewer)Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.