Hi Marcos, et al.,
Marcos said:
1. I think that the "editability" is a property of the model which
contains
the elements not of the elements
Good thinking Marcos, you definitively triggered me, but:
IMHO the Project is the only correct location of this function:
boolean isEditable(Object)
This because one can load a Model in an editable fashion, or in a
non-editable fashion. Loading shall not make it a different Model, i.e.
alter the Model.
I mean, you can not change an attribute of a Model, just because you loaded
it.
The content of the above mentioned function should be a case statement that
determines if the given object is e.g. a Fig, or a UML element, or something
else.
If it is an UML element, it should compare its containing Model to see what
kind of project member it is. Our structure of Project Members determines
which is the editable part of the loaded Project.
Regards,
Michiel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]