Poseidon for UMLTM
  UMLdoc
 PREV      NEXT       FRAMES    NO FRAMES      

com.gentleware.jboogie.openapi

Interface SmCommandFactory

com.gentleware.jboogie.openapi.SmCommandFactory
All known Subclassifier:
Uml1SmCommandFactory


public interface SmCommandFactory



 Method Summary
public Command   makeCommandAddAllDependentEdges(DiId nodeDiId)
This method creates a command that will add the edges for a node to the diagram. 
public Command   makeCommandCreateClassDiagram(DiId diagramDiId, SmId diagramOwnerSmId, String diagramName)
This method creates a command that will create new class diagram when the command is executed  
public Command   makeCommandCreateCollaborationDiagram(DiId diagramDiId, SmId diagramOwnerSmId, String diagramName)
 
public Command   makeCommandCreateDeploymentDiagram(DiId diagramDiId, SmId diagramOwnerId, String diagramName)
 
public Command   makeCommandCreateDiagramDi(ResourceId resId, SimpleTypeInfo simpleTypeInfo, SmId semanticModelElementId, String diagramName, DiId diagramDiId, ResourceId resourceId)
 
public Command   makeCommandCreateRealization(SmId newRealizationSmId, DiId clientDiId, SmId clientSmId, DiId supplierDiId, SmId supplierSmId, DiId newLinkDiId)
 
public Command   makeCommandCreateSequenceDiagram(DiId diagramDiId, SmId diagramOwnerSmId, String diagramName)
 
public Command   makeCommandCreateUseCaseDiagram(DiId diagramDiId, SmId diagramOwnerSmId, String diagramName)
This method creates a command that will create newuse case diagram when the command is executed  
public Command   makeCommandRemoveDiagram(DiId diagramDiId)
 
public Command   makeCommandSmClone(SmId modelElementSmId, SmId cloneSmId, SmId targetModelSmId)
 
public Command   makeCommandSmCreateRealization(SmId realizationSmId, SmId supplierSmId, SmId clientSmId, SmId stereotypeSmId)
This method creates a command that will create a new realization - as soon as the command is exeucted  
public Command   makeCommandSmDisassociateCommentFromAnnotatedElementWhenOrderUnknown(SmId firstElementSmId, SmId secondElementSmId)
 
public Command   makeCommandSmPaste(DiId diagramElementDiId, DiId containerElementDiId, SmId cloneSmId, DiMemento elementMemento)
 
public Command   makeCommandSmSetBaseClass(SmId stereotypeSmId, List newBasesStrings)
 
public Command   makeSmCommandDeleteElement(SmId smId)
This method creates a command that deletes a modelElement from the model, also removing any depending modelElements and any representations in any diagrams. 
public Command   makeSmCommandDeleteElements(Collection smIds)
This method creates a command that deletes all modelElements that are passed here inside a collection. 
arrow_up
 

Tagged Values
static false
 

 Method Detail

makeCommandAddAllDependentEdges

public Command makeCommandAddAllDependentEdges(DiId nodeDiId)


This method creates a command that will add the edges for a node to the diagram. For example, if your node is a class that has two associations and one generalization, and add that node to a diagram, then the association and the generalization will not automatically show. Using this command will add the representation for that node. Edges are only added once - if they already exist, nothing happends  
Parameters:
nodeDiId - the nodes DiId
Returns:
a command that will add all edges to a node (into that nodes diagram)
arrow_up


makeCommandCreateClassDiagram

public Command makeCommandCreateClassDiagram(DiId diagramDiId, SmId diagramOwnerSmId, String diagramName)


This method creates a command that will create new class diagram when the command is executed  
Parameters:
diagramDiId - the DiId that the new diagram will be assigned to
diagramOwnerSmId - sm id of the owner of the diagram
diagramName - the name the new diagram will get - leave it null to get a default name
Returns:
a command that will create a new class diagram when the command is executed
arrow_up


makeCommandCreateCollaborationDiagram

public Command makeCommandCreateCollaborationDiagram(DiId diagramDiId, SmId diagramOwnerSmId, String diagramName)

Parameters:
diagramDiId -
diagramOwnerSmId -
diagramName -
Returns:
arrow_up


makeCommandCreateDeploymentDiagram

public Command makeCommandCreateDeploymentDiagram(DiId diagramDiId, SmId diagramOwnerId, String diagramName)

Parameters:
diagramDiId -
diagramOwnerId -
diagramName -
Returns:
arrow_up


makeCommandCreateDiagramDi

public Command makeCommandCreateDiagramDi(ResourceId resId, SimpleTypeInfo simpleTypeInfo, SmId semanticModelElementId, String diagramName, DiId diagramDiId, ResourceId resourceId)

Parameters:
resId -
simpleTypeInfo -
semanticModelElementId -
diagramName -
diagramDiId -
resourceId -
Returns:
arrow_up


makeCommandCreateRealization

public Command makeCommandCreateRealization(SmId newRealizationSmId, DiId clientDiId, SmId clientSmId, DiId supplierDiId, SmId supplierSmId, DiId newLinkDiId)

Parameters:
newRealizationSmId -
clientDiId -
clientSmId -
supplierDiId -
supplierSmId -
newLinkDiId -
Returns:
arrow_up


makeCommandCreateSequenceDiagram

public Command makeCommandCreateSequenceDiagram(DiId diagramDiId, SmId diagramOwnerSmId, String diagramName)

Parameters:
diagramDiId -
diagramOwnerSmId -
diagramName -
Returns:
arrow_up


makeCommandCreateUseCaseDiagram

public Command makeCommandCreateUseCaseDiagram(DiId diagramDiId, SmId diagramOwnerSmId, String diagramName)


This method creates a command that will create newuse case diagram when the command is executed  
Parameters:
diagramDiId - the DiId that the new diagram will be assigned to
diagramOwnerSmId - sm id of the owner of the diagram
diagramName - the name the new diagram will get
Returns:
a command that will create a new usecase diagram when the command is executed
arrow_up


makeCommandRemoveDiagram

public Command makeCommandRemoveDiagram(DiId diagramDiId)

Parameters:
diagramDiId -
Returns:
arrow_up


makeCommandSmClone

public Command makeCommandSmClone(SmId modelElementSmId, SmId cloneSmId, SmId targetModelSmId)

Parameters:
modelElementSmId -
cloneSmId -
targetModelSmId -
Returns:
arrow_up


makeCommandSmCreateRealization

public Command makeCommandSmCreateRealization(SmId realizationSmId, SmId supplierSmId, SmId clientSmId, SmId stereotypeSmId)


This method creates a command that will create a new realization - as soon as the command is exeucted  
Parameters:
realizationSmId - the SmId the new realization will be associated to
supplierSmId - the SmId that represents the supplier for the realization
clientSmId - the SmId that represents the client for the realization
stereotypeSmId -
Returns:
a command that is capable of creating a new realization when executed
arrow_up


makeCommandSmDisassociateCommentFromAnnotatedElementWhenOrderUnknown

public Command makeCommandSmDisassociateCommentFromAnnotatedElementWhenOrderUnknown(SmId firstElementSmId, SmId secondElementSmId)

Parameters:
firstElementSmId -
secondElementSmId -
Returns:
arrow_up


makeCommandSmPaste

public Command makeCommandSmPaste(DiId diagramElementDiId, DiId containerElementDiId, SmId cloneSmId, DiMemento elementMemento)

Parameters:
diagramElementDiId -
containerElementDiId -
cloneSmId -
elementMemento -
Returns:
arrow_up


makeCommandSmSetBaseClass

public Command makeCommandSmSetBaseClass(SmId stereotypeSmId, List newBasesStrings)

Parameters:
stereotypeSmId - the stereotypes SmId
newBasesStrings - a Collection holding strings of uml element names(for example "ModelElement","Actor") which will be set as the new baseClasses of the stereotype
Returns:
a command that will set a stereotypes baseclasses, replacing any existing base classes of that stereotype
arrow_up


makeSmCommandDeleteElement

public Command makeSmCommandDeleteElement(SmId smId)


This method creates a command that deletes a modelElement from the model, also removing any depending modelElements and any representations in any diagrams. For example, if you delete an uml-class that has a binary association to another class, then that association (and all its representations) are deleted as well.  
Parameters:
smId - the modelElementSmId of the element you want to delete
Returns:
a command that will delete the modelElement (when the command is executed)
arrow_up


makeSmCommandDeleteElements

public Command makeSmCommandDeleteElements(Collection smIds)


This method creates a command that deletes all modelElements that are passed here inside a collection. All representations are also removed  
Parameters:
smIds - a Collection holding the modelElements SmIds that should be deleted
Returns:
a command that deletes modelElements
arrow_up
Created  2004 - 10 - 21

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.