Auto update when domain model changes [message #653571] |
Thu, 10 February 2011 05:09  |
Eclipse User |
|
|
|
As described in the documentation, setting the isAutoUpdateAtRuntime() in the feature provider to true will automatically update open diagrams. However, it does this only when the diagram is already dirty.
I need to update the diagram on domain model changes, even when the diagram is not dirty. This check is done in DomainModelChangeListener.
Looking further I tried to change the field "domainModelListener" in the DiagramEditor (actually in my own sibclass of it) to point to my own subclass of DomainModelChangeListener. However, the field is private, so I cannot possibly change it.
Is it possible to add the option to Graphiti to auto-update even when the editor is not dirty ?
Jos
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07937 seconds