templates.diagram.actions
Class DiagramActions

java.lang.Object
  extended by templates.diagram.actions.DiagramActions

public class DiagramActions
extends java.lang.Object

Collection of all undoable actions working on TemplateDiagrams.

Author:
Lenko Grigorov

Nested Class Summary
static class DiagramActions.AddLinkAction
          Action which creates a TemplateLink between two events from the TemplateComponents linked by a Connector and adds the new TemplateLink to the Connector.
static class DiagramActions.AssignFSAAction
          Action which assigns an FSAModel to the TemplateComponent of an Entity.
static class DiagramActions.AssignNewFSAAction
          Action which assigns a blank FSAModel to the TemplateComponent of an Entity.
static class DiagramActions.CreateAndMatchConnectorAction
          Action which creates a Connector in a TemplateDiagram and links the matching events from the linked TemplateComponents.
static class DiagramActions.CreateConnectorAction
          Action which creates a Connector in a TemplateDiagram.
static class DiagramActions.CreateEntityAction
          Action which creates an Entity in a TemplateDiagram.
static class DiagramActions.CreateTemplateInstanceAction
          Action which creates a new instance of a Template in a TemplateDiagram.
static class DiagramActions.DefaultIconAction
          Action which resets the icons of Entitys to their default form.
static class DiagramActions.DeleteElementsAction
          Action which removes DiagramElements from a TemplateDiagram.
static class DiagramActions.LabelEntityAction
          Action which sets the label of an Entity.
static class DiagramActions.MatchEventsAction
          Action which replaces the TemplateLinks in a Connector with TemplateLinks only between events with matching names.
static class DiagramActions.MovedSelectionAction
          Action which finilizes the relocation of DiagramElements in a TemplateDiagram.
static class DiagramActions.RemoveLinksAction
          Action which removes TemplateLinks from a Connector.
static class DiagramActions.SetIconColorAction
          Action which sets the background color of the icons of Entitys.
static class DiagramActions.SetTypeAction
          Action which sets the type (module or channel) of the TemplateComponent of an Entity.
static class DiagramActions.ShiftDiagramInViewAction
          Action which translates a TemplateDiagram so that the diagram is in view (all elements have positive co-ordinates).
 
Constructor Summary
DiagramActions()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagramActions

public DiagramActions()