On Mon, Apr 7, 2008 at 7:52 PM, Bob Tarling <[EMAIL PROTECTED]> wrote:
> http://argouml.tigris.org/issues/show_bug.cgi?id=4994
>
>  Any suggestions on the best way of testing whether a model element is
>  part of profile or the user editable model?

I would suggest that the test should be against whether something is
part of the primary model or not.  This would cover not only ArgoUML
profiles, but XMI files which contain external references to other XMI
files.  I don't think we want to require the application to handle
this.  Instead there should be a way to load things "read-only" that
the Model subsystem enforces.  The trick will be to find something
which is not too expensive.

The alternative way to do this, which is less satisfactory from a user
point of view, is to handle notifying the user when it's time to save
the file and ask if they want the other linked files to be written out
as well.  This would be pretty straightforward to handle, but isn't as
nice for the user.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to