|WorkbenchPage doesn't fire perspectiveSavedAs [message #1767479]
||Thu, 06 July 2017 10:27
| Jürgen Weinberger
Registered: August 2012
We are migrating our eclipse 3 rcp application to e4 (4.7.0) by using the compatibility layer. In our application we are registering an org.eclipse.ui.IPerspectiveListener3 at the WorkbenchWindow. This listerner has the perspectiveSavedAs() method which in e4 (compatibility mode) never gets called.
After a little research and looking at the eclipse code, we found out that the WorkbenchPage would be responsible to fire the event on the legacyWindow where our listener is registered. Imho this should happen in the Workbenchpage.savePerspectiveAs() method where it only sends an event on the Eventbroker which works fine.
I am not realy sure if this is a bug in eclipse or if we are doing something wrong so a little help or hint would be very appreciated.
Thanks in advanced and best regards
Powered by FUDForum
. Page generated in 0.01735 seconds