Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsRevoke Module/Submodule close action/event
https://www.eclipse.org/forums/index.php/mv/msg/214401/685856/#msg_685856
Reason want allow closing of navigation node only when my view(data) is not dirty.
Thanks in advance.
(Riena 3.0)]]>Ngwa Ambe elvis2011-06-20T12:09:56-00:00Re: Revoke Module/Submodule close action/event
https://www.eclipse.org/forums/index.php/mv/msg/214401/685862/#msg_685862
public boolean allowsDispose(final INavigationNode<?> node, final INavigationContext context)
just overwrite it in your view controller and return "false" if you DONT want to allow to close the submodule view.
christian campo]]>Christian Campo2011-06-20T12:33:30-00:00Re: Revoke Module/Submodule close action/event
https://www.eclipse.org/forums/index.php/mv/msg/214401/686003/#msg_686003
exactly what i needed(works great).]]>Ngwa Ambe Elvis2011-06-21T11:03:09-00:00