[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Add sub-nodes programmatically after creating node (GMF 2.2)

Hi Alex,

Another strange thing:
When I just close the diagram file and reopen it without restarting
the
application, sub-nodes are still displayed. Only when I restart the
application and reopen the file, the sub-nodes are gone. Is there
something cached?
ok. Looks like a problem described in:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=261188
To workaround this problem you can remove object/context constraints (xml tags) from viewProvder declaration generated into plugin.xml

You're definitely right. It works now, thanks a lot ;-)

What are the side-effects of this workaround?

Btw, instead of changing the generated plugin.xml, I copied the extension point to my custom plugin.xml, raising priority and removing object/context there. Should have the same effect, right?
When migrating to GMF 2.2, I was really glad I had not changed much within the generated sources...