I'd suggest you own Action should be an instance owned by your module and your module should be listening for changes to the TargetManager to determine when to enable its action.
For ArgoUML having these instances owned by the TargetManager simply saves the need for the listener mechanism. Possibly they could be housed somewhere else with listeners too. There do appear to be cycles between TargetManager and its Actions, I need to resolve that. Bob. On 03/05/07, Gunderson, Jeff <[EMAIL PROTECTED]> wrote:
Its an alternative to add attribute. I'll create an issue but I'm trying to understand why TargetManager creates some actions like ActionAddAttibute but not other actions. Jeff -----Original Message----- From: Bob Tarling [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 6:38 PM To: [email protected] Subject: Re: [argouml-dev] ActionAddAttibute and TargetManager Create an issue and I'll increase the visibility. Is your class to replace the standard add attribute or provide an alternative? Do you need some mechanism to add new Actions to the TargetManager? Bob. On 02/05/07, Gunderson, Jeff <[EMAIL PROTECTED]> wrote: > Hi, > > Our module was extending ActionAddAttribute but now ActionAddAttribute > is private and is created and managed by TargetManager. Should we just > write a new action extending UndoableAction? It won't be created by > TargetManager and I'm not sure if that will cause problems. > > Thanks for the help, > > Jeff > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- 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]
