Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 205164

Summary: [Contributions] EditorAction cannot be of type pull-down
Product: [Eclipse Project] Platform Reporter: Brian Madsen <b.madsen>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: baumanbr, daniel_megert, Kevin_McGuire, remy.suen
Version: 3.3Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Brian Madsen CLA 2007-10-02 06:15:15 EDT
Build ID:  I20070621-1340

If you would like a plugin to extend another plugin with some editor actions, it is not possible to choose so on the extension element detail tab of editor action.

<extension
         point="org.eclipse.ui.editorActions">
      <editorContribution
            id="aa.bb.mwab.systemshot.SystemShotEditorContributor"
            targetID="dd.ee.mwab.vis.systemshot.systemshot">
         <action
               class="aa.bb.mwab.systemshot.SystemShotFileAction"
               icon="icons/SystemShot.gif"
               id="aa.bb.mwab.systemshot.action1"
               label="Systemshot"
               style="toggle"  <-- "pull-down" not possible
               toolbarPath=".">
         </action>
      </editorContribution>
   </extension>
Comment 1 Brian Bauman CLA 2007-10-02 10:37:46 EDT
Moving bug to the component which owns the extension point in question.
Comment 2 Paul Webster CLA 2007-10-04 12:27:05 EDT
If you change the XML directly to style="pulldown" does it work?  Your IEditorActionDelegate would have to implement IActionDelegate2 so that you could set the action IMenuCreator in your init(IAction) method.

PW
Comment 3 Paul Webster CLA 2007-10-23 14:43:34 EDT
Maybe just updating the editorActions.exsd file

PW
Comment 4 Dani Megert CLA 2007-12-04 02:45:15 EST
You could do this using the org.eclipse.ui.actionSets extension point but there's still bug 41401.
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:18:53 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 6 Eclipse Genie CLA 2022-03-01 05:37:09 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.