|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSelectionButtons
org.argouml.uml.diagram.ui.SelectionNodeClarifiers2
org.argouml.uml.diagram.static_structure.ui.SelectionStereotype
public class SelectionStereotype
The buttons on selection for a Stereotype.
TODO: Find a way to hide the OperationsCompartment on the FigClass of the created metaclass.
Field Summary |
---|
Fields inherited from class org.argouml.uml.diagram.ui.SelectionNodeClarifiers2 |
---|
BASE, BOTTOM, LEFT, LOWER_LEFT, RIGHT, TOP |
Constructor Summary | |
---|---|
SelectionStereotype(Fig f)
Construct a new SelectionStereotype for the given Fig. |
Method Summary | |
---|---|
protected java.lang.Object |
createEdgeAbove(MutableGraphModel mgm,
java.lang.Object newNode)
|
protected javax.swing.Icon[] |
getIcons()
Get array of icons to use when drawing handles. |
protected java.lang.String |
getInstructions(int index)
Get the "instructions" string to pass to GEF for the given handle number. |
protected java.lang.Object |
getNewEdgeType(int index)
Get the edge type to create when dragging from the given handle number. |
protected java.lang.Object |
getNewNode(int index)
|
protected java.lang.Object |
getNewNodeType(int index)
Get the node type to create when dragging from the given handle number. |
protected boolean |
isEdgePostProcessRequested()
Request post processing of edge by GEF after it is created using ModeCreateEdgeAndNode#ModeCreateEdgeAndNode(Editor, Object, Object, boolean) |
protected boolean |
isReverseEdge(int index)
Get the node type to create when dragging from the given handle number. |
void |
mouseEntered(java.awt.event.MouseEvent me)
|
Methods inherited from class org.argouml.uml.diagram.ui.SelectionNodeClarifiers2 |
---|
buttonClicked, createEdgeLeft, createEdgeRight, createEdgeToSelf, createEdgeUnder, dragHandle, getButton, getNewModeCreateEdgeAndNode, hitHandle, isDraggableHandle, paint, paintButtons, postProcessEdge2 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionStereotype(Fig f)
f
- the given figMethod Detail |
---|
public void mouseEntered(java.awt.event.MouseEvent me)
protected java.lang.Object getNewNode(int index)
getNewNode
in class SelectionNodeClarifiers2
protected java.lang.Object getNewNodeType(int index)
SelectionNodeClarifiers2
getNewNodeType
in class SelectionNodeClarifiers2
index
- handle number that is being dragged from
protected java.lang.Object createEdgeAbove(MutableGraphModel mgm, java.lang.Object newNode)
createEdgeAbove
in class SelectionNodeClarifiers2
protected javax.swing.Icon[] getIcons()
SelectionNodeClarifiers2
getIcons
in class SelectionNodeClarifiers2
protected java.lang.String getInstructions(int index)
SelectionNodeClarifiers2
getInstructions
in class SelectionNodeClarifiers2
index
- handle number that is being dragged from
protected java.lang.Object getNewEdgeType(int index)
SelectionNodeClarifiers2
getNewEdgeType
in class SelectionNodeClarifiers2
index
- handle number that is being dragged from
protected boolean isReverseEdge(int index)
SelectionNodeClarifiers2
isReverseEdge
in class SelectionNodeClarifiers2
index
- handle number that is being dragged from
protected boolean isEdgePostProcessRequested()
SelectionNodeClarifiers2
ModeCreateEdgeAndNode#ModeCreateEdgeAndNode(Editor, Object, Object, boolean)
isEdgePostProcessRequested
in class SelectionNodeClarifiers2
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |