|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.frag.umlplugin.uml.command.AbstractDiagramCommand
de.frag.umlplugin.uml.command.AbstractConnectCommand
de.frag.umlplugin.uml.command.ConnectSingleClassExtendedCommand
public class ConnectSingleClassExtendedCommand
Adds connections between given class node and other class nodes in a diagram that are extended by given class.
Field Summary |
---|
Fields inherited from class de.frag.umlplugin.uml.command.AbstractDiagramCommand |
---|
COMMAND_CLASS, COMMAND_ELEMENT_NAME, PSI_CLASS, SOURCE_CLASS, TARGET_CLASS, USAGE_TYPE |
Constructor Summary | |
---|---|
ConnectSingleClassExtendedCommand(java.lang.String qualifiedClassName)
|
Method Summary | |
---|---|
protected void |
addAdditionalInfo(org.jdom.Element commandElement)
Adds additional information (attributes or child elements) to given element. |
boolean |
canExecute(UMLDiagram diagram)
Checks whether this command can be executed ot not. |
void |
execute(UMLDiagram diagram)
Executes some action on a diagram. |
void |
renameClasses(ClassRenamer renamer)
Renames all contained class names. |
java.lang.String |
toString()
Creates a string representation of this command. |
Methods inherited from class de.frag.umlplugin.uml.command.AbstractConnectCommand |
---|
addEdges |
Methods inherited from class de.frag.umlplugin.uml.command.AbstractDiagramCommand |
---|
createElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectSingleClassExtendedCommand(java.lang.String qualifiedClassName)
Method Detail |
---|
public void execute(@NotNull UMLDiagram diagram)
DiagramCommand
diagram
- diagrampublic boolean canExecute(@NotNull UMLDiagram diagram)
DiagramCommand
diagram
- diagram
protected void addAdditionalInfo(@NotNull org.jdom.Element commandElement)
AbstractDiagramCommand
addAdditionalInfo
in class AbstractDiagramCommand
commandElement
- command element to add additional information topublic void renameClasses(@NotNull ClassRenamer renamer)
renamer
- renamer that will rename classes to keep class names in sync after refactorings were applied.@NotNull public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |