[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)

Hello Alex,

But when I save, close and reopen my diagram, the sub-nodes are not
displayed any more.
What if you create such an element (having corresponding sub-nodes), select it and press F5 (canonical update)?
Will corresponding sub-nodes be deleted from diagram?
Pressing F5 after creating the element does not seem to help. When I reopen the diagram, the sub-nodes are still missing.

When I select my parent-node then and press F5, the sub-nodes reappear. The diagram file does not get "dirty" though (no asterisk before filename).

Moving my node to mark the diagram "dirty" and saving then does not help, sub-nodes are still missing after restarting the application.

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?


Regards, Peter