|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.editor.SequenceDiagramEditor
public SequenceDiagramEditor
Interface to create presentations in Sequence Diagram.
Method Summary | |
---|---|
abstract INodePresentation |
createCombinedFragment(String name,
String interactionOpeator,
Point2D location,
double width,
double height)
Create a Combined Fragment. |
abstract ILinkPresentation |
createCreateMessage(String name,
INodePresentation sender,
INodePresentation receiver,
double locY)
Create a Create Message. |
abstract ILinkPresentation |
createDestroyMessage(String name,
INodePresentation sender,
INodePresentation reseiver,
double locY)
Create a Destroy Message. |
abstract ILinkPresentation |
createFoundMessage(String name,
Point2D startPoint,
INodePresentation receiver)
Create a Found Message. |
abstract INodePresentation |
createInteractionUse(String name,
String argument,
ISequenceDiagram refersTo,
Point2D location,
double width,
double height)
Create a Interaction Use. |
abstract INodePresentation |
createLifeline(String name,
double locX)
Create a life line. |
abstract ILinkPresentation |
createLostMessage(String name,
INodePresentation sender,
Point2D endPoint)
Create a Lost Message. |
abstract ILinkPresentation |
createMessage(String name,
INodePresentation sender,
INodePresentation receiver,
double locY)
Create a Message. |
abstract ILinkPresentation |
createReturnMessage(String name,
ILinkPresentation messagePs)
Create a Return Message. |
abstract ISequenceDiagram |
createSequenceDiagram(INamedElement owner,
String name)
Crate a sequence diagram in a parent package. |
abstract INodePresentation |
createStateInvariant(INodePresentation coveredLifeline,
String name,
double locY)
Create a State Invariant. |
abstract INodePresentation |
createTermination(INodePresentation coveredLifeline)
Create a Termination. |
Methods inherited from class com.change_vision.jude.api.inf.editor.BasicDiagramEditor |
---|
createNote, createNoteAnchor, createNoteAnchor |
Methods inherited from class com.change_vision.jude.api.inf.editor.DiagramEditor |
---|
createImage, createLine, createRect, createText, delete, deleteDiagram, deletePresentation, getDiagram, setDiagram |
Method Detail |
---|
abstract ISequenceDiagram createSequenceDiagram(INamedElement owner, String name)
owner
- Parent Packagename
- Sequence Diagram Name
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_NAME_ERROR_KEY - if the name is empty. ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. READ_ONLY_MESSAGE - if a read-only element is edited. INVALID_OWNER_KEY - if the owner is invalid. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createLifeline(String name, double locX)
name
- Life line NamelocX
- locX
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createCombinedFragment(String name, String interactionOpeator, Point2D location, double width, double height)
name
- Combined Fragment NameinteractionOperator
- interaction operator (alt, assert, break, consider, cirtical, igore, loop, neg, opt, par, seq, strict)location
- locationwidth
- widthheight
- height
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createInteractionUse(String name, String argument, ISequenceDiagram refersTo, Point2D location, double width, double height)
name
- Interaction Use Nameargument
- ArgumentrefersTo
- sequence diagram refers tolocation
- locationwidth
- widthheight
- height
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_NAME_ERROR_KEY - if the name is empty. SAME_DIAGRAM_ERROR_KEY - if a InteractionUse is created in the same diagram. NO_LIFELINE_COVERED_KEY - if even no one life line to be covered NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createStateInvariant(INodePresentation coveredLifeline, String name, double locY)
coveredLifeline
- Covered Life Linename
- State Invariant NamelocY
- location y
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_NAME_ERROR_KEY - if the name is empty. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract INodePresentation createTermination(INodePresentation coveredLifeline)
coveredLifeline
- Covered Life Line
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract ILinkPresentation createMessage(String name, INodePresentation sender, INodePresentation receiver, double locY)
name
- message namesender
- sender (Frame, Lifeline, Activation, InteractionUse)receiver
- receiver (Frame, Lifeline, Activation, InteractionUse)locY
- location y
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract ILinkPresentation createCreateMessage(String name, INodePresentation sender, INodePresentation receiver, double locY)
name
- message namesender
- sender (Frame, Lifeline, Activation, InteractionUse)receiver
- receiver (Frame, Lifeline, Activation, InteractionUse)locY
- location y
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract ILinkPresentation createDestroyMessage(String name, INodePresentation sender, INodePresentation reseiver, double locY)
name
- message namesender
- sender (Frame, Lifeline, Activation, InteractionUse)receiver
- receiver (Frame, Lifeline, Activation, InteractionUse)locY
- location y
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract ILinkPresentation createReturnMessage(String name, ILinkPresentation messagePs)
name
- message namemessage
- The message will add return messagelocY
- location y
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract ILinkPresentation createLostMessage(String name, INodePresentation sender, Point2D endPoint)
name
- Lost message namesender
- sender (Frame, Lifeline, Activation, InteractionUse)endPoint
- End Point
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. READ_ONLY_MESSAGE - if a read-only element is edited. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
abstract ILinkPresentation createFoundMessage(String name, Point2D startPoint, INodePresentation receiver)
name
- Found message namestartPoint
- Start Pointreceiver
- receiver (Frame, Lifeline, Activation, InteractionUse)
InvalidEditingException
- InvalidEditingException occurs.
Keys: PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_DIAGRAM_KEY - if target Diagram is not set. INVALID_DIAGRAM_ERROR_KEY - if a diagram of an element is not correct. READ_ONLY_MESSAGE - if a read-only element is edited. 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 |