Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Duplicate tool item in eclipse e4 migration application(Duplicate tool item in eclipse e4 migration application)
Duplicate tool item in eclipse e4 migration application [message #1661025] Mon, 09 March 2015 12:54 Go to next message
gaurav dubey is currently offline gaurav dubeyFriend
Messages: 45
Registered: July 2009
Member
I am migrating eclipse 3.x RCP application to eclipse 4.x RCP application using compat layer. We have requirement to hide/show toolbar items based on perspective activation/deactivation.

To achieve the behaviour, we have created different toolbarcontribution for each perspective and added HandledToolItem in toolbarcontribution. We have define core expressions in plugin.xml and wrote propertytester to check perspective activation. Everything is working fine but after relaunching application few times, HandledToolItem start displaying multiple times.

Can anyone help me what can be the issue?
Re: Duplicate tool item in eclipse e4 migration application [message #1661036 is a reply to message #1661025] Mon, 09 March 2015 12:57 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391430
Re: Duplicate tool item in eclipse e4 migration application [message #1661091 is a reply to message #1661036] Mon, 09 March 2015 13:28 Go to previous messageGo to next message
gaurav dubey is currently offline gaurav dubeyFriend
Messages: 45
Registered: July 2009
Member
Thanks for the reply Dirk, however in my case the application is able to hide /show toolbar items so that is not a problem, But after few restart of application,duplicate tool items being dispplayed in toolbar and after some time there are n number of tool items is displaying for the same HandledToolItem.

Can i verify this using processor and remove the duplicate toolbar items?
Re: Duplicate tool item in eclipse e4 migration application [message #1661111 is a reply to message #1661091] Mon, 09 March 2015 13:38 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Maybe the wrong ticket but the same issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=370811

It should be fixed in the latest Mars nightly.
Re: Duplicate tool item in eclipse e4 migration application [message #1661148 is a reply to message #1661111] Mon, 09 March 2015 13:57 Go to previous messageGo to next message
gaurav dubey is currently offline gaurav dubeyFriend
Messages: 45
Registered: July 2009
Member
Will this fix also available for Luna as well ?
Re: Duplicate tool item in eclipse e4 migration application [message #1662039 is a reply to message #1661148] Mon, 09 March 2015 22:27 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
I don't think so, since the sr2 is released already. I am not aware of further updates.
Previous Topic:How to add a second Terminate button to console view
Next Topic:Create WorkbenchWindow as Modal
Goto Forum:
  


Current Time: Fri Apr 19 08:21:23 GMT 2024

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

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

Back to the top