Uses of Class
templates.diagram.Entity

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

Uses of Entity in templates.diagram
 

Fields in templates.diagram declared as Entity
protected  Entity Connector.left
          The "left" component linked by the connector.
protected  Entity Connector.right
          The "right" component linked by the connector.
 

Fields in templates.diagram with type parameters of type Entity
protected  java.util.Map<TemplateComponent,Entity> TemplateDiagram.component2Entity
          The Entitys in the temlpate diagram, indexed by their corresponding TemplateComponents.
protected  java.util.Set<Entity> TemplateDiagram.entities
          Collection of all the Entitys in the template diagram.
 

Methods in templates.diagram that return Entity
 Entity TemplateDiagram.createEntity(java.awt.Point location)
          Create an Entity (and the underlying TemplateComponent) at the given location and add it to the template diagram.
 Entity[] Connector.getEntities()
          Retrieve the two Entitys linked by the connector.
 Entity TemplateDiagram.getEntityAt(java.awt.Point location)
          Retrieve the Entity which contains the given point.
 Entity TemplateDiagram.getEntityFor(TemplateComponent component)
          Retrieve the Entity which represents the given TemplateComponent.
 Entity TemplateDiagram.getEntityWithFSA(ides.api.model.fsa.FSAModel fsa)
          Retrieve the Entity which represents a TemplateComponent associated with the given FSAModel.
 Entity Connector.getLeftEntity()
          Retrieve the "left" Entity linked by the connector.
 Entity Connector.getRightEntity()
          Retrieve the "right" Entity linked by the connector.
 

Methods in templates.diagram that return types with arguments of type Entity
 java.util.Collection<Entity> TemplateDiagram.getChannels()
          Retrieve a collection of all the channel Entitys in the template diagram.
 java.util.Collection<Entity> TemplateDiagram.getEntities()
          Retrieve a collection of all the Entitys in the template diagram.
 java.util.Collection<Entity> TemplateDiagram.getModules()
          Retrieve a collection of all the module Entitys in the template diagram.
 

Methods in templates.diagram with parameters of type Entity
 void TemplateDiagram.add(Entity entity)
          Add an Entity to the template design.
 Connector TemplateDiagram.createConnector(Entity left, Entity right)
          Create a Connector between the given Entitys and add it to the template diagram.
 java.util.Collection<Connector> TemplateDiagram.getAdjacentConnectors(Entity entity)
          Retrieve a collection of all the Connectors linking the given Entity to other Entitys.
 Connector TemplateDiagram.getConnector(Entity left, Entity right)
          Retrieve the Connector between the given Entitys.
 void TemplateDiagram.labelEntity(Entity entity, java.lang.String label)
          Label the given Entity with the given label.
 void TemplateDiagram.remove(Entity entity)
          Remove an Entity from the template design (and the corresponding TemplateComponent from the underlying TemplateModel).
 void TemplateDiagram.setEntityIcon(Entity entity, EntityIcon icon)
          Set the icon of the given Entity.
 

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

Uses of Entity in templates.diagram.actions
 

Fields in templates.diagram.actions declared as Entity
protected  Entity[] DiagramActions.CreateEntityAction.buffer
          A buffer which will store the new Entity so it can be passed back.
protected  Entity[] DiagramActions.CreateTemplateInstanceAction.buffer
          A buffer which will store the new instance so it can be passed back.
protected  Entity DiagramUndoableEdits.CreateEntityEdit.entity
          Holds the new Entity once it is created.
protected  Entity DiagramUndoableEdits.RemoveEntityEdit.entity
          The Entity to be removed.
protected  Entity DiagramUndoableEdits.LabelEntityEdit.entity
          The Entity to be relabelled.
protected  Entity DiagramUndoableEdits.AssignFSAEdit.entity
          The Entity to whose TemplateComponent the new FSAModel should be assigned.
protected  Entity DiagramUndoableEdits.SetTypeEdit.entity
          The Entity which represents the TemplateComponent whose type has to be set.
protected  Entity DiagramUndoableEdits.SetIconEdit.entity
          The Entity whose icon has to be set.
protected  Entity DiagramActions.LabelEntityAction.entity
          The Entity to be relabelled.
protected  Entity DiagramActions.AssignNewFSAAction.entity
          The Entity whose TemplateComponent is to be assigned a blank FSAModel.
protected  Entity DiagramActions.AssignFSAAction.entity
          The Entity whose TemplateComponent is to be assigned the FSAModel.
protected  Entity DiagramActions.SetTypeAction.entity
          The Entity which represents the TemplateComponent whose type has to be set.
protected  Entity DiagramUndoableEdits.CreateConnectorEdit.left
          The first Entity to be linked.
protected  Entity DiagramActions.CreateConnectorAction.left
          The first Entity to be linked.
protected  Entity DiagramActions.CreateAndMatchConnectorAction.left
          The first Entity to be linked.
protected  Entity DiagramUndoableEdits.CreateConnectorEdit.right
          The second Entity to be linked.
protected  Entity DiagramActions.CreateConnectorAction.right
          The second Entity to be linked.
protected  Entity DiagramActions.CreateAndMatchConnectorAction.right
          The second Entity to be linked.
 

Fields in templates.diagram.actions with type parameters of type Entity
protected  java.util.Collection<Entity> DiagramActions.SetIconColorAction.entities
          The Entitys to whose icons the background color has to be set.
protected  java.util.Collection<Entity> DiagramActions.DefaultIconAction.entities
          The Entitys whose icons have to be reset.
 

Methods in templates.diagram.actions that return Entity
 Entity DiagramUndoableEdits.CreateEntityEdit.getEntity()
          Retrieves the Entity created by the edit.
 

Constructors in templates.diagram.actions with parameters of type Entity
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, Entity[] buffer)
          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, Entity[] buffer)
          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.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.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.
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.LabelEntityEdit(TemplateDiagram diagram, Entity entity, java.lang.String label)
          Constructs an edit with the given parameters.
DiagramUndoableEdits.RemoveEntityEdit(TemplateDiagram diagram, Entity entity)
          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.
 

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

Uses of Entity in templates.presentation
 

Fields in templates.presentation declared as Entity
protected  Entity MouseInterpreter.connectorOrigin
          The entity where the new connector originates when the user starts drawing a new connector.
protected  Entity IssuesWrapper.ConvertAction.entity
          The Entity for the template component.
protected  Entity IssuesWrapper.RenameAction.entity
          The entity to be relabelled.
protected  Entity IssuesWrapper.AssignFSAAction.entity
          The entity for the template component to which an FSA model will be assigned.
protected  Entity EventLinksDialog.EntityRenderer.entity
          The Entity to be rendered.
protected static Entity EntityLabellingDialog.entity
          The Entity which will be relabelled.
protected static Entity AssignFSADialog.entity
          The Entity to whose TemplateComponent a new FSA model will be assigned.
 Entity EventLinker.EventLabel.mom
          The Entity for the TemplateComponent whose event is rendered.
 

Methods in templates.presentation with parameters of type Entity
protected static java.lang.String IssuesWrapper.describe(Entity e)
           
protected  EventLinker.EventLabel EventLinker.getLabel(java.lang.String name, Entity mom)
          Retrieve the event label for the event with the given name, part of the template component of the given Entity.
static void AssignFSADialog.showAndAssign(TemplateEditableCanvas canvas, Entity entity)
          Refresh the content of the combo boxes with FSA models and templates, display the FSA model assignment dialog, and wait for user input.
static void EntityLabellingDialog.showAndLabel(TemplateEditableCanvas canvas, Entity entity)
          Display the component labelling dialog to let the user enter a new label for the given entity.
static void ControllabilityDialog.showAndModify(TemplateEditableCanvas canvas, Entity channel)
          Deprecated.  
 

Constructors in templates.presentation with parameters of type Entity
EntityPopup(TemplateEditableCanvas canvas, Entity entity)
          Construct the context pop-up menu for the given entity.
EventLinker.EventLabel(Entity mom, java.lang.String name)
          Construct a new event label for the given event.
EventLinksDialog.EntityRenderer(Entity entity)
          Construct an object to render the given Entity.
IssuesWrapper.AssignFSAAction(Entity entity)
          Construct a new action to assign an FSA model to the given template component.
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.
IssuesWrapper.RenameAction(Entity entity)
          Construct a new action to relabel the given entity.
UIActions.AssignFSAAction(TemplateEditableCanvas canvas, Entity entity)
          Construct an action to display the dialog for assigning an FSA model to the given template component.
UIActions.ConnectAction(TemplateEditableCanvas canvas, Entity entity)
          Construct an action to start drawing a new connector from the given entity.
UIActions.LabelAction(TemplateEditableCanvas canvas, Entity entity)
          Construct an action to display the entity labelling dialog and let the user relabel the given Entity.
UIActions.MakeTemplateAction(Entity entity)
          Construct an action to create a new template based on the given entity.
UIActions.OpenModelAction(TemplateEditableCanvas canvas, Entity entity)
          Construct an action to load and activate in IDES the underlying model of the specified template component.
UIActions.ResetIconAction(TemplateEditableCanvas canvas, Entity entity)
          Construct an action to reset the icon of the given entity to its default form.
UIActions.SetChannelAction(TemplateEditableCanvas canvas, Entity entity)
          Construct an action to set the type of the given template component to TemplateComponent.TYPE_CHANNEL (channel).
UIActions.SetColorAction(TemplateEditableCanvas canvas, Entity entity)
          Construct an action to display the color chooser dialog to let the user select the background color of the icon of the given entity.
UIActions.SetControllabilityAction(TemplateEditableCanvas canvas, Entity channel)
          Deprecated.  
UIActions.SetModuleAction(TemplateEditableCanvas canvas, Entity entity)
          Construct an action to set the type of the given template component to TemplateComponent.TYPE_MODULE (module).
UIActions.ShowSupAction(TemplateEditableCanvas canvas, Entity channel)
          Construct an action to compute and display the supervisor for the given channel.