I propose to resolve issues 5268 5271 by introducing a UmlModelMutator
marker interface (it will have no methods).
The collection of actions returned by getPopupActions can be amended
to remove any Actions that implement this interface if the model
element is readonly.
Similarly the toolbar builder in the proppanels can do the same.
I'm considering whether to use java 5 style annotations for this. It
is a first for us I think to make use of this feature.
So that would be
public @interface UmlModelMutator {
}
and the relevant Actions annotated as @UmlModelMutator
Does this seem reasonable?
As this is very much related to the UML model should we have this
defined in the model interface?
Bob.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]