|Automatic refresh of the diagram editor at runtime [message #988855]
||Mon, 03 December 2012 08:22
| Saniya Mirajkar
Registered: August 2012
I need help around following 2 points:|
1.Need to remove the Undo/Redo options that is provided by framework in the context menu.
I could remove other default features from context menu by overriding the corresponding methods in Feature-provider to return null.But I could not get something similar for Undo/Redo feature.
2.Need to implement auto-updation feature at runtime when diagram editor is already open.
I have to update the diagram once the values in the model have changed.From the forum I get to learn that there is isAutoUpdateAtRuntimeWhenEditorIsSaved() method that can be overridden in DiagramTypeProvider which will take care of Auto-updation.
Do I need to fire any onchange()/resourceSetChanged event when my model values are changed?
What all do I need to do to achieve this features?
Powered by FUDForum
. Page generated in 0.01691 seconds