I need to clarify what you're asking here as to my mind the diagram
subsystem is view only.

Actually it is 2 levels of view (I would eventually like to see this
become 3 in GEF)

The GraphModel layer contains the data of what model elements take
part in a view and the logic to test whether a new model element can
be added. There is no positional or other presentation information.

The Diagram layer contains the data of how these views are constructed
by the relationship of Figs on a LayerDiagram. This is an extra level
of view data and the logic to display using swing/java2d.

I would like to see a third layer on top of this of FigPainters to
take out the swing/java2d knowledge but that's for a different thread.

So I don't understand your statement

> I've always seen a subsystem as being either model or view. Never
both.
[...]

What shall we do about the Diagrams subsystem's violation to this?

At the moment the Diagram subsystem is all view data and logic so
there is no violation there.
.
I thinking that your question is really - What do we do in future for
UML2.x when there is a diagram interchange model contained in the same
repository as the model elements?

Am I correct?

Bob.

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

Reply via email to