|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEMFGraphNodeEditPart
org.topcased.modeler.uml.alldiagram.edit.ElementEditPart
org.topcased.modeler.uml.compositestructuresdiagram.edit.CollaborationUseEditPart
public class CollaborationUseEditPart
The CollaborationUse object controller
Constructor Summary | |
---|---|
CollaborationUseEditPart(GraphNode obj)
Constructor |
Method Summary | |
---|---|
void |
activate()
Activates |
protected org.eclipse.jface.action.IAction |
createChangeDiagramAction(EObject modelObject)
This method enables to create a new diagram or view an existing model diagrams. |
protected void |
createEditPolicies()
Creates edit policies and associates these with roles |
protected org.eclipse.draw2d.IFigure |
createFigure()
Creates the CollaborationUse Figure (an ellipse with a dash border) |
void |
deactivate()
Desactivates |
ILabel |
getEditableLabel()
The editable label is its prefix part |
org.eclipse.draw2d.ConnectionAnchor |
getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
Uses Ellipse anchor |
org.eclipse.draw2d.ConnectionAnchor |
getSourceConnectionAnchor(org.eclipse.gef.Request request)
Uses Ellipse anchor |
org.eclipse.draw2d.ConnectionAnchor |
getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
Uses Ellipse anchor |
org.eclipse.draw2d.ConnectionAnchor |
getTargetConnectionAnchor(org.eclipse.gef.Request request)
Uses Ellipse anchor |
protected void |
handleModelChanged(Notification msg)
|
protected void |
refreshHeaderLabel()
Updates the CollaborationUse label |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollaborationUseEditPart(GraphNode obj)
obj
- the graph nodeMethod Detail |
---|
protected void createEditPolicies()
createEditPolicies
in class ElementEditPart
protected org.eclipse.draw2d.IFigure createFigure()
org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
public ILabel getEditableLabel()
org.topcased.modeler.edit.GraphNodeEditPart#getEditableLabel()
protected void refreshHeaderLabel()
org.topcased.modeler.edit.EMFGraphNodeEditPart#refreshHeaderLabel()
public void activate()
org.topcased.modeler.edit.EMFGraphNodeEditPart#activate()
public void deactivate()
org.topcased.modeler.edit.EMFGraphNodeEditPart#deactivate()
public org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
NodeEditPart.getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart)
public org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchor(org.eclipse.gef.Request request)
NodeEditPart.getSourceConnectionAnchor(org.eclipse.gef.Request)
public org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
NodeEditPart.getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart)
public org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchor(org.eclipse.gef.Request request)
NodeEditPart.getTargetConnectionAnchor(org.eclipse.gef.Request)
protected org.eclipse.jface.action.IAction createChangeDiagramAction(EObject modelObject)
org.topcased.modeler.edit.EMFGraphNodeEditPart#createChangeDiagramAction(org.eclipse.emf.ecore.EObject)
protected void handleModelChanged(Notification msg)
|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.