Uses of Class
templates.diagram.TemplateDiagram

Packages that use TemplateDiagram
templates.diagram   
templates.diagram.actions   
templates.presentation   
 

Uses of TemplateDiagram in templates.diagram
 

Fields in templates.diagram declared as TemplateDiagram
protected  TemplateDiagram TemplateDiagramMessage.source
          The source of the message.
 

Methods in templates.diagram that return TemplateDiagram
 TemplateDiagram TemplateDiagramMessage.getSource()
          Retrieve the source of the message.
 

Constructors in templates.diagram with parameters of type TemplateDiagram
TemplateDiagramMessage(TemplateDiagram source, java.util.Collection<DiagramElement> elements, int operationType)
          Create a message with the given parameters.
TemplateDiagramMessage(TemplateDiagram source, java.util.Collection<DiagramElement> elements, int operationType, java.lang.String message)
          Create a message with the given parameters.
 

Uses of TemplateDiagram in templates.diagram.actions
 

Fields in templates.diagram.actions declared as TemplateDiagram
protected  TemplateDiagram DiagramUndoableEdits.CreateEntityEdit.diagram
          The TemplateDiagram where the Entity should be created.
protected  TemplateDiagram DiagramUndoableEdits.CreateConnectorEdit.diagram
          The TemplateDiagram where the Connector should be created.
protected  TemplateDiagram DiagramUndoableEdits.AddLinkEdit.diagram
          The TemplateDiagram which contains the Connector to which the TemplateLink should be added.
protected  TemplateDiagram DiagramUndoableEdits.RemoveEntityEdit.diagram
          The TemplateDiagram which contains the Entity to be removed.
protected  TemplateDiagram DiagramUndoableEdits.RemoveConnectorEdit.diagram
          The TemplateDiagram which contains the Connector to be removed.
protected  TemplateDiagram DiagramUndoableEdits.RemoveLinkEdit.diagram
          The TemplateDiagram which contains the Connector from which the TemplateLink should be removed.
protected  TemplateDiagram DiagramUndoableEdits.MovedSelectionEdit.diagram
          The TemplateDiagram which contains the DiagramElement s to be relocated.
protected  TemplateDiagram DiagramUndoableEdits.LabelEntityEdit.diagram
          The TemplateDiagram which contains the Entity to be relabelled.
protected  TemplateDiagram DiagramUndoableEdits.TranslateDiagramEdit.diagram
          The TemplateDiagram to be translated.
protected  TemplateDiagram DiagramUndoableEdits.AssignFSAEdit.diagram
          The TemplateDiagram which contains the Entity to whose TemplateComponent the new FSAModel should be assigned.
protected  TemplateDiagram DiagramUndoableEdits.SetTypeEdit.diagram
          The TemplateDiagram which contains the Entity.
protected  TemplateDiagram DiagramUndoableEdits.SetIconEdit.diagram
          The TemplateDiagram which contains the Entity.
protected  TemplateDiagram DiagramActions.CreateEntityAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.CreateTemplateInstanceAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.CreateConnectorAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.CreateAndMatchConnectorAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.AddLinkAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.DeleteElementsAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.RemoveLinksAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.MovedSelectionAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.LabelEntityAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.MatchEventsAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.ShiftDiagramInViewAction.diagram
          The TemplateDiagram to be translated.
protected  TemplateDiagram DiagramActions.AssignNewFSAAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.AssignFSAAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.SetTypeAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.SetIconColorAction.diagram
          The TemplateDiagram context to be used by the action.
protected  TemplateDiagram DiagramActions.DefaultIconAction.diagram
          The TemplateDiagram context to be used by the action.
 

Methods in templates.diagram.actions with parameters of type TemplateDiagram
protected  javax.swing.undo.UndoableEdit AbstractDiagramAction.addBoundsAdjust(TemplateDiagram diagram, javax.swing.undo.UndoableEdit edit)
          Translate the given TemplateDiagram so that all of its elements are completely in view (have positive co-ordinates) and add the information necessary to undo the translation to the given UndoableEdit.
protected  void AbstractDiagramAction.postEditAdjustCanvas(ides.api.plugin.model.DESModel model, TemplateDiagram diagram, javax.swing.undo.UndoableEdit edit)
          Translate the given TemplateDiagram so that all of its elements are completely in view (have positive co-ordinates), add the information necessary to undo the translation to the given UndoableEdit, and post the given UndoableEdit to the undo stack of the given DESModel (if this action is independent) or add the given UndoableEdit to the UndoableEdit this action is part of (if this action is not independent).
protected  void AbstractDiagramAction.postEditAdjustCanvas(TemplateDiagram diagram, javax.swing.undo.UndoableEdit edit)
          Translate the given TemplateDiagram so that all of its elements are completely in view (have positive co-ordinates), add the information necessary to undo the translation to the given UndoableEdit, and post the given UndoableEdit to the undo stack of the active DESModel in the workspace (if this action is independent) or add the given UndoableEdit to the UndoableEdit this action is part of (if this action is not independent).
 

Constructors in templates.diagram.actions with parameters of type TemplateDiagram
DiagramActions.AddLinkAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Connector connector, java.lang.String leftEvent, java.lang.String rightEvent)
          Construct an action for the given parameters.
DiagramActions.AddLinkAction(TemplateDiagram diagram, Connector connector, java.lang.String leftEvent, java.lang.String rightEvent)
          Construct an action for the given parameters.
DiagramActions.AssignFSAAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity entity, ides.api.model.fsa.FSAModel fsa)
          Construct an action for the given parameters.
DiagramActions.AssignFSAAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity entity, ides.api.model.fsa.FSAModel fsa, EntityIcon icon)
          Construct an action for the given parameters.
DiagramActions.AssignFSAAction(TemplateDiagram diagram, Entity entity, ides.api.model.fsa.FSAModel fsa)
          Construct an action for the given parameters.
DiagramActions.AssignFSAAction(TemplateDiagram diagram, Entity entity, ides.api.model.fsa.FSAModel fsa, EntityIcon icon)
          Construct an action for the given parameters.
DiagramActions.AssignNewFSAAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity entity)
          Construct an action for the given parameters.
DiagramActions.AssignNewFSAAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity entity, ides.api.model.fsa.FSAModel[] buffer)
          Construct an action for the given parameters.
DiagramActions.AssignNewFSAAction(TemplateDiagram diagram, Entity entity)
          Construct an action for the given parameters.
DiagramActions.AssignNewFSAAction(TemplateDiagram diagram, Entity entity, ides.api.model.fsa.FSAModel[] buffer)
          Construct an action for the given parameters.
DiagramActions.CreateAndMatchConnectorAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity left, Entity right)
          Construct an action for the given parameters.
DiagramActions.CreateAndMatchConnectorAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity left, Entity right, Connector[] buffer)
          Construct an action for the given parameters.
DiagramActions.CreateAndMatchConnectorAction(TemplateDiagram diagram, Entity left, Entity right)
          Construct an action for the given parameters.
DiagramActions.CreateAndMatchConnectorAction(TemplateDiagram diagram, Entity left, Entity right, Connector[] buffer)
          Construct an action for the given parameters.
DiagramActions.CreateConnectorAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity left, Entity right)
          Construct an action for the given parameters.
DiagramActions.CreateConnectorAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity left, Entity right, Connector[] buffer)
          Construct an action for the given parameters.
DiagramActions.CreateConnectorAction(TemplateDiagram diagram, Entity left, Entity right)
          Construct an action for the given parameters.
DiagramActions.CreateConnectorAction(TemplateDiagram diagram, Entity left, Entity right, Connector[] buffer)
          Construct an action for the given parameters.
DiagramActions.CreateEntityAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, java.awt.Point location)
          Construct an action for the given parameters.
DiagramActions.CreateEntityAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, java.awt.Point location, Entity[] buffer)
          Construct an action for the given parameters.
DiagramActions.CreateEntityAction(TemplateDiagram diagram, java.awt.Point location)
          Construct an action for the given parameters.
DiagramActions.CreateEntityAction(TemplateDiagram diagram, java.awt.Point location, Entity[] buffer)
          Construct an action for the given parameters.
DiagramActions.CreateTemplateInstanceAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Template template, java.awt.Point location)
          Construct an action for the given parameters.
DiagramActions.CreateTemplateInstanceAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Template template, java.awt.Point location, Entity[] buffer)
          Construct an action for the given parameters.
DiagramActions.CreateTemplateInstanceAction(TemplateDiagram diagram, Template template, java.awt.Point location)
          Construct an action for the given parameters.
DiagramActions.CreateTemplateInstanceAction(TemplateDiagram diagram, Template template, java.awt.Point location, Entity[] buffer)
          Construct an action for the given parameters.
DiagramActions.DefaultIconAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, java.util.Collection<Entity> entities)
          Construct an action for the given parameters.
DiagramActions.DefaultIconAction(TemplateDiagram diagram, java.util.Collection<Entity> entities)
          Construct an action for the given parameters.
DiagramActions.DeleteElementsAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, java.util.Collection<DiagramElement> elements)
          Construct an action for the given parameters.
DiagramActions.DeleteElementsAction(TemplateDiagram diagram, java.util.Collection<DiagramElement> elements)
          Construct an action for the given parameters.
DiagramActions.LabelEntityAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity entity, java.lang.String label)
          Construct an action for the given parameters.
DiagramActions.LabelEntityAction(TemplateDiagram diagram, Entity entity, java.lang.String label)
          Construct an action for the given parameters.
DiagramActions.MatchEventsAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Connector connector)
          Construct an action for the given parameters.
DiagramActions.MatchEventsAction(TemplateDiagram diagram, Connector connector)
          Construct an action for the given parameters.
DiagramActions.MovedSelectionAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, java.util.Collection<DiagramElement> selection, java.awt.Point delta)
          Construct an action for the given parameters.
DiagramActions.MovedSelectionAction(TemplateDiagram diagram, java.util.Collection<DiagramElement> selection, java.awt.Point delta)
          Construct an action for the given parameters.
DiagramActions.RemoveLinksAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Connector connector, java.util.Collection<TemplateLink> links)
          Construct an action for the given parameters.
DiagramActions.RemoveLinksAction(TemplateDiagram diagram, Connector connector, java.util.Collection<TemplateLink> links)
          Construct an action for the given parameters.
DiagramActions.SetIconColorAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, java.util.Collection<Entity> entities, java.awt.Color color)
          Construct an action for the given parameters.
DiagramActions.SetIconColorAction(TemplateDiagram diagram, java.util.Collection<Entity> entities, java.awt.Color color)
          Construct an action for the given parameters.
DiagramActions.SetTypeAction(javax.swing.undo.CompoundEdit parent, TemplateDiagram diagram, Entity entity, int type)
          Construct an action for the given parameters.
DiagramActions.SetTypeAction(TemplateDiagram diagram, Entity entity, int type)
          Construct an action for the given parameters.
DiagramActions.ShiftDiagramInViewAction(javax.swing.undo.CompoundEdit parentEdit, TemplateDiagram diagram)
          Construct an action for the given parameters.
DiagramActions.ShiftDiagramInViewAction(TemplateDiagram diagram)
          Construct an action for the given parameters.
DiagramUndoableEdits.AddLinkEdit(TemplateDiagram diagram, Connector connector, java.lang.String leftEvent, java.lang.String rightEvent)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.AssignFSAEdit(TemplateDiagram diagram, Entity entity, ides.api.model.fsa.FSAModel newModel)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.CreateConnectorEdit(TemplateDiagram diagram, Entity left, Entity right)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.CreateEntityEdit(TemplateDiagram diagram, java.awt.Point location)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.LabelEntityEdit(TemplateDiagram diagram, Entity entity, java.lang.String label)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.MovedSelectionEdit(TemplateDiagram diagram, java.util.Collection<DiagramElement> selection, java.awt.Point delta)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.RemoveConnectorEdit(TemplateDiagram diagram, Connector connector)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.RemoveEntityEdit(TemplateDiagram diagram, Entity entity)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.RemoveLinkEdit(TemplateDiagram diagram, Connector connector, TemplateLink link)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.SetIconEdit(TemplateDiagram diagram, Entity entity, EntityIcon newIcon)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.SetTypeEdit(TemplateDiagram diagram, Entity entity, int newType)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.TranslateDiagramEdit(TemplateDiagram diagram, java.awt.Point delta)
          Constructs an edit with the given parameters.
 

Uses of TemplateDiagram in templates.presentation
 

Fields in templates.presentation declared as TemplateDiagram
protected  TemplateDiagram TemplateCanvas.diagram
          The template diagram for the TemplateModel rendered by this canvas.
protected  TemplateDiagram MouseInterpreter.diagram
          The template diagram in displayed in the canvas.
protected  TemplateDiagram IssuesWrapper.ConvertAction.diagram
          The template diagram which contains the template component.
protected  TemplateDiagram IssuesViewer.diagram
          The template diagram with the design whose consistency issues are displayed.
protected  TemplateDiagram EventLinker.diagram
          The diagram which contains the Connector connecting the template components whose event links are displayed.
 

Methods in templates.presentation that return TemplateDiagram
 TemplateDiagram TemplateCanvas.getDiagram()
          Retrieve the template diagram rendered by this canvas.
 

Methods in templates.presentation with parameters of type TemplateDiagram
static java.util.List<IssueDescriptor> IssuesWrapper.getIssues(TemplateDiagram diagram)
          Assemble a list of IssueDescriptors for the consistency issues in a TemplateDiagram.
 

Constructors in templates.presentation with parameters of type TemplateDiagram
EventLinker(TemplateDiagram diagram, Connector connector)
          Construct and set up the event linker component.
IssuesViewer(TemplateDiagram diagram)
          Construct and set up a UI element to display the list of consistency issues in the template design from the given template diagram.
IssuesWrapper.ConvertAction(java.lang.String label, TemplateDiagram diagram, Entity entity, int type)
          Construct a new action to change the type of a given template component.