Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » WorkbenchPage doesn't fire perspectiveSavedAs
WorkbenchPage doesn't fire perspectiveSavedAs [message #1767479] Thu, 06 July 2017 10:27
Jürgen Weinberger is currently offline Jürgen WeinbergerFriend
Messages: 41
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
Previous Topic:Detect Part moved to different PartStack
Next Topic:Unable to run application on Mac case-sensitive drive
Goto Forum:

Current Time: Mon Mar 19 05:26:13 GMT 2018

Powered by FUDForum. Page generated in 0.01613 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software