Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » What is the best way to remove a MToolControl from main toolbar if part is deactivated?
What is the best way to remove a MToolControl from main toolbar if part is deactivated? [message #1802011] Wed, 30 January 2019 16:57
Thomas Fahrmeyer is currently offline Thomas FahrmeyerFriend
Messages: 30
Registered: July 2009
Location: Germany
Member
Hi,

I have a part that contributes a MToolControl to the main toolbar not the part local toolbar. The needed behavior is that this toolcontrol is removed from the toolbar if a new part gets activated. It should behave like a Command where the handler is provided by the part. If the part gets deactivated, the handler will be removed and the command is deactivated.

What is the best way to achieve the toolcontrol removal if the providing part is deactivated?

Thanks in advance.
Thomas

[Updated on: Thu, 31 January 2019 07:25]

Report message to a moderator

Previous Topic:App run does not use Application.e4xml?
Next Topic:Can't add MInputPart
Goto Forum:
  


Current Time: Fri Apr 26 01:09:19 GMT 2024

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

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

Back to the top