|
Re: Notification on Editor close [message #335391 is a reply to message #335390] |
Mon, 06 April 2009 09:26 |
Eclipse User |
|
|
|
Originally posted by: jayduke.smith.gmail.com
Hi Thomas,
You can do something like this.
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().addPartListener(listener)
just add a part listener to get all the editors with editor close/dirty
states.
Jay
"Thomas" <thomas.kratz@eiswind.de> wrote in message
news:grcgsd$cff$1@build.eclipse.org...
> Is there a way to get notified when an editor is closed by the user ? I
> want to track dirty states in a multi user environment to avoid colliding
> edits of the same object. So if user A closes his maybe dirty editor I
> could notify user B that he can work on the object now.
>
> Regards Thomas
|
|
|
Powered by
FUDForum. Page generated in 0.03921 seconds