public class AddDiagramElement
extends java.lang.Object
Constructor and Description |
---|
AddDiagramElement() |
Modifier and Type | Method and Description |
---|---|
static void |
addClientServerPort(org.eclipse.uml2.uml.Component comp,
org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Dependency> dependencies)
Creates client/server port into the given component based on the given dependencies.
|
static org.eclipse.emf.common.command.Command |
addOperationCommand(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
org.eclipse.uml2.uml.Component sourceComponent,
org.eclipse.uml2.uml.Component targetComponent)
Creates all the operations of a given component into the given extending component.
|
static org.eclipse.emf.common.command.Command |
addOperationCommand(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
org.eclipse.uml2.uml.Interface interf,
org.eclipse.uml2.uml.Component comp)
Creates all the operations of a given interface into the given implementing component.
|
static org.eclipse.emf.common.command.Command |
addOperationCommand1(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
org.eclipse.uml2.uml.Interface interf,
org.eclipse.uml2.uml.Operation operation)
Copies the given operation into all the descendants of the given interface.
|
static org.eclipse.emf.common.command.Command |
addPortCommand(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
org.eclipse.uml2.uml.Component sourceComponent,
org.eclipse.uml2.uml.Component targetComponenet)
Creates client/server port into the given target component based on the dependencies with the given source
component.
|
public static org.eclipse.emf.common.command.Command addOperationCommand(org.eclipse.emf.transaction.TransactionalEditingDomain domain, org.eclipse.uml2.uml.Interface interf, org.eclipse.uml2.uml.Component comp)
domain
- the editing domaininterf
- the interfacecomp
- the componentpublic static org.eclipse.emf.common.command.Command addOperationCommand(org.eclipse.emf.transaction.TransactionalEditingDomain domain, org.eclipse.uml2.uml.Component sourceComponent, org.eclipse.uml2.uml.Component targetComponent)
domain
- the transactional editing domainsourceComponent
- the source componenttargetComponent
- the extending componentpublic static void addClientServerPort(org.eclipse.uml2.uml.Component comp, org.eclipse.emf.common.util.EList<org.eclipse.uml2.uml.Dependency> dependencies)
comp
- the componentdependencies
- the dependencies of the component to create the ports frompublic static org.eclipse.emf.common.command.Command addPortCommand(org.eclipse.emf.transaction.TransactionalEditingDomain domain, org.eclipse.uml2.uml.Component sourceComponent, org.eclipse.uml2.uml.Component targetComponenet)
domain
- the editing domainsourceComponent
- the source componenttargetComponenet
- the target componentpublic static org.eclipse.emf.common.command.Command addOperationCommand1(org.eclipse.emf.transaction.TransactionalEditingDomain domain, org.eclipse.uml2.uml.Interface interf, org.eclipse.uml2.uml.Operation operation)
domain
- the transactional editing domaininterf
- the interfaceoperation
- the operation