Dependency between Models [message #184780] |
Wed, 30 April 2008 08:57 |
Eclipse User |
|
|
|
Originally posted by: marsha.rohrer.swisscom.com
Hi,
I have two editors Editor1 and Editor2. The user models in Editor1 mainly,
Editor2 shows a big picture of merged Editor1 model files.
Up to now the merging is done with an external Merger that just reads all
the *.editor1 and pastes them into toto.editor2 (JDOM). The diagram of
Editor2 is then shown through a slightly changed initDiagram method, based
on the one used for "Initialize *.editor2_diagram diagram file".
At a closer look at the *.editor2 and *.editor2_diagram file I remarked
that the reference between those two files is done with a "href"
attribute. The question now is, if it is possible to link the two model
files *.editor1 and *.editor2 in the same manner. This is...set a
reference to the corresponding *.editor1 file instead of copying it
entirely.
This would be very useful since the merged *.editor1 files may change and
the toto.editor2 model should be aware of that.
Or is there another method to let the toto.editor2 model know if one of
its merged files changed?
Any idea is welcom...up to now I don't really have a clue how to solve
this problem.
Thank you,
Marsha
|
|
|
|
Powered by
FUDForum. Page generated in 0.03014 seconds