|Saving dirty parts in all perspectives [message #1027877]
||Wed, 27 March 2013 10:39
| Bastian Wagenfeld
Registered: January 2013
I created an Eclipse 4 RCP that changes resources and therefore sets parts dirty (MDirtyable dirty; dirty.setDirty(true)). When I close the editor with non-saved parts, I'm asked to save those parts, or to discard them. But my RCP consists of several perspectives. So when I change a resource in a part in one perspective, then switch to another perspective and close the editor, I'm not asked to save unsaved contents.
Can I achieve a behavior to ask for unsaved resources, although I'm in another perspective? I could create such a behavior manually, but I'd rather use a common way.
Powered by FUDForum
. Page generated in 0.01508 seconds