Uses of Interface
templates.model.TemplateLink

Packages that use TemplateLink
templates.diagram   
templates.diagram.actions   
templates.model   
templates.model.v3   
 

Uses of TemplateLink in templates.diagram
 

Fields in templates.diagram with type parameters of type TemplateLink
protected  java.util.Map<TemplateLink,Connector> TemplateDiagram.link2Connector
          The Connectors in the template diagram, indexed by the TemplateLinks they represent.
protected  java.util.Collection<TemplateLink> Connector.links
          The TemplateLinks visualized by this connector.
 

Methods in templates.diagram that return TemplateLink
 TemplateLink TemplateDiagram.createLink(Connector c, java.lang.String leftEvent, java.lang.String rightEvent)
          Create a new TemplateLink within a given Connector, linking the given events from the "left" and "right" TemplateComponents, correspondingly.
 

Methods in templates.diagram that return types with arguments of type TemplateLink
 java.util.Collection<TemplateLink> Connector.getLinks()
          Retrieve the TemplateLinks encapsulated by the connector.
 

Methods in templates.diagram with parameters of type TemplateLink
 void TemplateDiagram.addLink(Connector c, TemplateLink link)
          Add a given TemplateLink to a given Connector.
 void Connector.addLink(TemplateLink link)
          Add a TemplateLink to the collection of links represented by the connector.
 Connector TemplateDiagram.getConnectorFor(TemplateLink link)
          Retrieve the Connector which contains the given TemplateLink.
 void TemplateDiagram.removeLink(Connector c, TemplateLink link)
          Remove a given TemplateLink from a given Connector.
 void Connector.removeLink(TemplateLink link)
          Remove a TemplateLink from the collection of links represented by this connector.
 

Constructor parameters in templates.diagram with type arguments of type TemplateLink
Connector(Entity left, Entity right, java.util.Collection<TemplateLink> links)
          Construct a connector with the given parameters.
 

Uses of TemplateLink in templates.diagram.actions
 

Fields in templates.diagram.actions declared as TemplateLink
protected  TemplateLink DiagramUndoableEdits.AddLinkEdit.link
          Holds the new TemplateLink once it is created.
protected  TemplateLink DiagramUndoableEdits.RemoveLinkEdit.link
          The TemplateLink to be removed.
 

Fields in templates.diagram.actions with type parameters of type TemplateLink
protected  java.util.Collection<TemplateLink> DiagramActions.RemoveLinksAction.links
          The TemplateLinks to be removed.
 

Constructors in templates.diagram.actions with parameters of type TemplateLink
DiagramUndoableEdits.RemoveLinkEdit(TemplateDiagram diagram, Connector connector, TemplateLink link)
          Constructs an edit with the given parameters.
 

Constructor parameters in templates.diagram.actions with type arguments of type TemplateLink
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.
 

Uses of TemplateLink in templates.model
 

Fields in templates.model with type parameters of type TemplateLink
 java.util.List<TemplateLink> Validator.ValidatorResult.links
          TemplateLinks contributing to the consistency issue, if any.
 

Methods in templates.model that return TemplateLink
 TemplateLink TemplateModel.assembleLink(long leftId, long rightId)
          Create a new TemplateLink which can be then added to the model without breaking the model consistency (e.g., it has a unique id).
 TemplateLink TemplateModel.createLink(long leftId, long rightId)
          Create a new TemplateLink and add it to the model.
 TemplateLink TemplateModel.getLink(long id)
          Return the TemplateLink with the given id.
 

Methods in templates.model that return types with arguments of type TemplateLink
 java.util.Collection<TemplateLink> TemplateModel.getAdjacentLinks(long componentId)
          Retrieve all the TemplateLinks connected to the TemplateComponent with the given id.
 java.util.Collection<TemplateLink> TemplateModel.getLinks()
          Retrieve all the TemplateLinks in the model.
 java.util.Collection<TemplateLink> TemplateModel.getLinks(long leftId, long rightId)
          Retrieve the TemplateLinks between the TemplateComponents with the given ids.
protected static java.util.Collection<TemplateLink> Validator.linksWithEvent(TemplateModel model, TemplateComponent component, java.lang.String event)
          Retrieve all TemplateLinks which link a given event of a given TemplateComponent.
 

Methods in templates.model with parameters of type TemplateLink
 void TemplateModel.addLink(TemplateLink link)
          Add a TemplateLink to the model.
 

Constructors in templates.model with parameters of type TemplateLink
Validator.ValidatorResult(java.lang.String message, TemplateLink link, int type)
          Construct a descriptor of a consistency issue.
 

Constructor parameters in templates.model with type arguments of type TemplateLink
Validator.ValidatorResult(java.lang.String message, java.util.Collection<TemplateComponent> components, java.util.Collection<TemplateLink> links, java.lang.String event, int type)
          Construct a descriptor of a consistency issue.
Validator.ValidatorResult(java.lang.String message, TemplateComponent component, java.util.Collection<TemplateLink> links, int type)
          Construct a descriptor of a consistency issue.
Validator.ValidatorResult(java.lang.String message, TemplateComponent component, java.util.Collection<TemplateLink> links, java.lang.String event, int type)
          Construct a descriptor of a consistency issue.
 

Uses of TemplateLink in templates.model.v3
 

Classes in templates.model.v3 that implement TemplateLink
 class Link
          Implementation of TemplateLink.
 

Fields in templates.model.v3 with type parameters of type TemplateLink
protected  java.util.Set<TemplateLink> TemplateDesign.links
          The set of TemplateLinks in the model.
 

Methods in templates.model.v3 that return TemplateLink
 TemplateLink TemplateDesign.assembleLink(long leftId, long rightId)
           
 TemplateLink TemplateDesign.createLink(long leftId, long rightId)
           
 TemplateLink TemplateDesign.getLink(long id)
           
 

Methods in templates.model.v3 that return types with arguments of type TemplateLink
 java.util.Collection<TemplateLink> TemplateDesign.getAdjacentLinks(long componentId)
           
 java.util.Collection<TemplateLink> TemplateDesign.getLinks()
           
 java.util.Collection<TemplateLink> TemplateDesign.getLinks(long leftId, long rightId)
           
 

Methods in templates.model.v3 with parameters of type TemplateLink
 void TemplateDesign.addLink(TemplateLink link)