Remove events are ignored [message #9784] |
Tue, 08 August 2006 04:35  |
Eclipse User |
|
|
|
Hi have an EMF model and a cannonical GMF diagram attached to it. When I
add an element in the EMF model, it automatically appears in the
diagram. Unfortunately, deleting does not work. Removal events are
ignored and I have to reload the diagram to make the removed elements
disappear. Am I missing something?
Thanx
Jan
|
|
|
|
Re: Remove events are ignored [message #11920 is a reply to message #9784] |
Wed, 09 August 2006 09:03  |
Eclipse User |
|
|
|
This is a multipart message in MIME format.
--=_alternative 0048002D852571C5_=
Content-Type: text/plain; charset="US-ASCII"
One Thing to keep in mind, the fact that your shapes are canonical means
they should be deleted when the element they represent is deleted this can
be achieved in 2 ways
1- since they are canonical the canonical edit policy can delete the
orphaned views
2- or in general delete and view when it element is deleted, which can be
achieved using the NotationViewDependentsAdvice
my first replay was assuming you are using the first approach, if you are
using the second approach and having troubles let us know and we will
answer your questions
--=_alternative 0048002D852571C5_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">One Thing to keep in mind, the fact
that your shapes are canonical means they should be deleted when
the element they represent is deleted this can be achieved in 2 ways</font>
<br><font size=2 face="sans-serif">1- since they are canonical the canonical
edit policy can delete the orphaned views</font>
<br><font size=2 face="sans-serif">2- or in general delete and view when
it element is deleted, which can be achieved using the NotationViewDependentsAdvice</font>
<br>
<br><font size=2 face="sans-serif">my first replay was assuming you are
using the first approach, if you are using the second approach and having
troubles let us know and we will answer your questions</font>
--=_alternative 0048002D852571C5_=--
|
|
|
Powered by
FUDForum. Page generated in 0.03822 seconds