|
Eclipse GEF 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gef.editparts.AbstractEditPart
org.eclipse.gef.editparts.AbstractGraphicalEditPart
org.eclipse.gef.editparts.GraphicalRootEditPart
Provides support for representation of any other graphical EditPart. It contains Layers which are used to represent specific type of visual information. The Layers are (1) Primary - Used to hold the main EditPart's Figures. (2) Connection - Used to hold the connections between EditParts. (3) Handle - Takes care of holding handles for EditParts. (4) Feedback - Shows feedback information for the EditParts.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.gef.editparts.AbstractGraphicalEditPart |
AbstractGraphicalEditPart.AccessibleGraphicalEditPart, AbstractGraphicalEditPart.DefaultAccessibleAnchorProvider |
| Nested classes inherited from class org.eclipse.gef.editparts.AbstractEditPart |
AbstractEditPart.EditPolicyIterator |
| Nested classes inherited from class org.eclipse.gef.editparts.LayerManager |
LayerManager.Helper |
| Field Summary | |
protected EditPart |
contents
Deprecated. The contents |
protected EditPartViewer |
viewer
Deprecated. the viewer |
| Fields inherited from class org.eclipse.gef.editparts.AbstractGraphicalEditPart |
figure, sourceConnections, targetConnections |
| Fields inherited from class org.eclipse.gef.editparts.AbstractEditPart |
children, FLAG_ACTIVE, FLAG_FOCUS, MAX_FLAG |
| Fields inherited from interface org.eclipse.gef.EditPart |
SELECTED, SELECTED_NONE, SELECTED_PRIMARY |
| Fields inherited from interface org.eclipse.gef.LayerConstants |
CONNECTION_LAYER, FEEDBACK_LAYER, GRID_LAYER, GUIDE_LAYER, HANDLE_LAYER, PRIMARY_LAYER, PRINTABLE_LAYERS, SCALABLE_LAYERS, SCALED_FEEDBACK_LAYER |
| Fields inherited from interface org.eclipse.gef.editparts.LayerManager |
ID |
| Fields inherited from interface org.eclipse.gef.RequestConstants |
REQ_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 Summary | |
GraphicalRootEditPart()
Deprecated. |
|
| Method Summary | |
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(Object key)
Deprecated. Returns a specified layer. |
Object |
getModel()
Deprecated. Returns the primary model object that this EditPart represents. |
RootEditPart |
getRoot()
Deprecated. Returns this. |
EditPartViewer |
getViewer()
Deprecated. Returns the root's EditPartViewer. |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.gef.EditPart |
activate, 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, understandsRequest |
| Field Detail |
protected EditPart contents
protected EditPartViewer viewer
| Constructor Detail |
public GraphicalRootEditPart()
| Method Detail |
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 Request
EditPart.getCommand(org.eclipse.gef.Request)public EditPart getContents()
RootEditPart
getContents in interface RootEditPartRootEditPart.getContents()public DragTracker getDragTracker(Request req)
getDragTracker in interface EditPartgetDragTracker in class AbstractGraphicalEditPartEditPart.getDragTracker(org.eclipse.gef.Request)public IFigure getLayer(Object key)
LayerManager
getLayer in interface LayerManagergetLayer in class AbstractGraphicalEditPartkey - ID of the Layer
null if it doesn't existLayerManager.getLayer(java.lang.Object)public IFigure getContentPane()
getContentPane in interface GraphicalEditPartgetContentPane in class AbstractGraphicalEditPartGraphicalEditPart.getContentPane()public Object getModel()
EditPart
getModel in interface EditPartgetModel in class AbstractEditPartEditPart.getModel()public RootEditPart getRoot()
this.
getRoot in interface EditPartgetRoot in class AbstractEditPartEditPart.getRoot()public EditPartViewer getViewer()
RootEditPart
getViewer in interface RootEditPartgetViewer in class AbstractEditPartEditPart.getViewer()protected void refreshChildren()
refreshChildren in class AbstractEditPartAbstractEditPart.refreshChildren()public void setContents(EditPart editpart)
RootEditPart
setContents in interface RootEditParteditpart - the contentsRootEditPart.setContents(org.eclipse.gef.EditPart)public void setViewer(EditPartViewer newViewer)
RootEditPart
setViewer in interface RootEditPartnewViewer - the EditPartViewerRootEditPart.setViewer(org.eclipse.gef.EditPartViewer)
|
Eclipse GEF 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||