de.frag.umlplugin.uml
Class DiagramCreationStepsEditor

java.lang.Object
  extended by de.frag.umlplugin.uml.DiagramCreationStepsEditor

public class DiagramCreationStepsEditor
extends java.lang.Object

Dialog for editing diagram creation steps.


Constructor Summary
DiagramCreationStepsEditor(com.intellij.openapi.project.Project project, UMLDiagram diagram)
           
 
Method Summary
 java.util.List<DiagramCommand> getEditedCommandList()
          Gets modified list of commands.
 java.util.List<DiagramCommand> getOriginalCommandList()
          Gets original list of commands.
 boolean isChanged()
          Checks whether at least one change was applied to list.
 boolean show()
          Shows this dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagramCreationStepsEditor

public DiagramCreationStepsEditor(@NotNull
                                  com.intellij.openapi.project.Project project,
                                  @NotNull
                                  UMLDiagram diagram)
Parameters:
project - current project.
diagram - diagram with commands to be edited
Method Detail

show

public boolean show()
Shows this dialog.

Returns:
true, if editor exited because of OK button; false if exited because of candel button

isChanged

public boolean isChanged()
Checks whether at least one change was applied to list.

Returns:
true, if at leats one change was applied; false otherwise

getOriginalCommandList

@NotNull
public java.util.List<DiagramCommand> getOriginalCommandList()
Gets original list of commands.

Returns:
list of commands before editing

getEditedCommandList

@NotNull
public java.util.List<DiagramCommand> getEditedCommandList()
Gets modified list of commands.

Returns:
edited list of commands