Thomas said: > Yes, I agree! I like the factory approach. Maybe the check if the action > should be created could be extracted, > but then could it still be in the factory, or is a helper needed? This change > is quickly done, but there should be > a feature request in issuezilla.
I don't see need for a helper. Provided its documented that the factory returns null if the action isn't relevant for the context we should have no problem. I think it would be overkill to have another class to check if the factory can be called. I have a feeling that there is an issue for this already but if I can't find it I'll create something new. Bob. ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2409760 To unsubscribe from this discussion, e-mail: [[email protected]]. To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
