|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.editor.CompositeStructureModelEditor
public CompositeStructureModelEditor
Interface to edit (create/delete) CompositeStructure Models.
Method Summary | |
---|---|
abstract IConnector |
createConnector(IAttribute part1,
IPort port1,
IAttribute part2,
IPort port2)
Create a Connector between specified ports. |
abstract IRealization |
createRealization(IPort supplier,
String name)
Create a realization between a port and an interface. |
abstract IUsage |
createUsage(IPort supplier,
String name)
Create a usage between a port and an interface. |
Method Detail |
---|
abstract IConnector createConnector(IAttribute part1, IPort port1, IAttribute part2, IPort port2)
part1
- Partport1
- Portpart2
- Partport2
- Port
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract IRealization createRealization(IPort supplier, String name)
client
- Port to Realizesupplier
- Interfacename
- Realization Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. REALIZATION_EXIST_KEY - if a realization already exist. INVALID_REALIZATION_KEY - if a target of a realization is not an interface. REALIZATION_LOOP_ERROR_KEY - if a realization loops. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract IUsage createUsage(IPort supplier, String name)
client
- Client Portsupplier
- Supplier Modelname
- Usage Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. USAGE_EXIST_KEY - if a usage already exist. INVALID_USAGE_KEY - if a target of a usage is not an interface. USAGE_LOOP_ERROR_KEY - if a usage loops. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |