Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to contribute to someone else's action set?
icon5.gif  How to contribute to someone else's action set? [message #551316] Thu, 05 August 2010 22:02 Go to next message
Ilya Ivanov is currently offline Ilya IvanovFriend
Messages: 3
Registered: August 2010
Junior Member
Would be great if someone could help me. Here's the problem:
One third party plugin defines an action in the following way:

<extension point="org.eclipse.ui.actionSets">
   <actionSet
        id="x.y.z.navigation.additions"
        label="Command Group"
        visible="false">
      <action
          class="x.y.z.ThirdPartyAction"
          icon="..."
          id="x.y.z.someFeature"
          label="..."
          toolbarPath="..."
          tooltip="...">
      </action>
   </actionSet>
</extension>


My goal is to add my action to the same actionSet, so that it will appear under the same "Command Group" in Customize Perspective wizard.

I tried to use same actionSet id and same label in my plugin. In this case there are two action sets - one with two commands (bingo!) and one completely empty - which doesn't look nice. I need to kill the empty one! Evil or Very Mad

Is it possible to make such trick at all?

[Updated on: Thu, 05 August 2010 22:04]

Report message to a moderator

Re: How to contribute to someone else's action set? [message #553137 is a reply to message #551316] Mon, 16 August 2010 14:34 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

No, actionSets cannot correctly see other actionSets.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Shutdown Eclipse from linux command line
Next Topic:run.director fails in eclipse SDK source build
Goto Forum:
  


Current Time: Thu Apr 25 08:17:22 GMT 2024

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

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

Back to the top