I was going to suggest the same as Luis. If you were to create specialist actions of your own then how would any other tool know how to interpret that.
The OMG define how these actions should be presented visually, how would you define your own presentation to indicate that your actions are not standard. Using stereotypes you will get a visual cue. The problem you have is that it will be a real pain to draw each message/action and then have to change its stereotype by hand. In the short term you can replace ModeCreateMessage with some specialist class of your own. For future I think I need to introduce some mechanism to allow a stereotype (or collection of) to be supplied to ModeCreate. This would allow plug-in apps to add toolbar buttons that can draw nodes and edge and apply a fixed sterotype at the same time. A slight aside - I can also see that it may be useful for the user to define their own diagram toolbar buttons based on our standard ones with the ability to set the stereotype against these buttons themselves. I'm thinking about what I've seen of AndroMDA where different classes have AndroMDA specific stereotypes that specify whether they are GUI, business or persistence etc (don't remember the exact names). Seperate toolbar buttons to place a GUI class or a persistence class may well make the users life easier. Bob. On 8/21/06, Luis Sergio Oliveira <[EMAIL PROTECTED]> wrote:
Obaid Salikeen wrote: > > i am basically trying to add a new king of Action (like CallAction) > in the sequence diagram. the only thing which bother me is MetaModel > for UML1.4 (xmi file). all the actions for Sequence Diagram (Call > Action,ReturnAction,DestroyAction,..) are confirmed with the uml1.4 > XMI file. if you add a new Action, it seems that some contents must be > added to UML1.4 XMI file so that the new added action is valid, which > dosent look good. is there some other way to add a new Action without > disturbing the XMI file?? > > Obaid Salikeen Hello Obaid, you may add a stereotype to a CallAction or ReturnAction to have your specific Action in the XMI. Stereotypes and TaggedValues are the standard way to customize and extend the UML Metamodel. Luis --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
