Skip to main content



      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 08:54 Go to next message
Eclipse UserFriend
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 08:57 Go to previous messageGo to next message
Eclipse UserFriend
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 09:28 Go to previous messageGo to next message
Eclipse UserFriend
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 09:38 Go to previous messageGo to next message
Eclipse UserFriend
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 09:57 Go to previous messageGo to next message
Eclipse UserFriend
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 18:27 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 10:44:04 EDT 2025

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

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

Back to the top