On 17.11.2017 12:20, Matthias Scholz wrote:
> Hi,
> 
> are there any possibility/listener for a plugin to get informed if OJ is
> closing? I need this in a plugin to close a connection to an external
> application.
> 

there is a workaround, see 
  com.vividsolutions.jump.workbench.datastore.ConnectionManager() line 77

but actually that is something i really wanted to rework. maybe now is the 
time? what i would like to do is

1. keep the old behaviour, but make 
oldApplicationExitHandler.exitApplication(mainFrame); do nothing
2. add a new WorkbenchFrame.addApplicationExitHandler( handler ) that simply 
queues handlers in the workbenchframe and runs them one after another, but 
makes sure it's own exit handler is run last

would you mind adding something like that? if not using the workaround should 
suffice for your use case.

..ede

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to