Bug 270360 - [GlobalActions] Provide command for org.eclipse.ui.internal.handlers.QuickMenuHandler
Summary: [GlobalActions] Provide command for org.eclipse.ui.internal.handlers.QuickMen...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 15:41 EDT by Philipp Kursawe CLA
Modified: 2014-06-26 12:25 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Kursawe CLA 2009-03-28 15:41:22 EDT
Could be defined like this:

<command
            defaultHandler="org.eclipse.ui.internal.handlers.QuickMenuHandler"
            id="org.eclipse.ui.window.quickMenu"
            name="Quick Menu"
            categoryId="org.eclipse.ui.category.file">
         <commandParameter
               id="org.eclipse.ui.window.quickMenu.uri"
               name="URI"
               optional="false">
         </commandParameter>
      </command>
      
Although maybe we could reduce the name of the parameter to "uri".

Then the QuickMenu could be used by key bindings and others. IDE could then get rid of QuickMenuAction and use this new command instead.
Comment 1 Paul Webster CLA 2009-03-30 14:16:59 EDT
The handler was checked in as part of the work on bug 173649

In theory, it was meant to be used by binding the appropriate locationURI as the parameterized command (so it could be used from a keybinding, for example).

PW
Comment 2 Philipp Kursawe CLA 2009-03-31 00:35:25 EDT
And how is the handler called? I could not find it in the latest I-Build org.eclipse.ui/plugin.xml
Comment 3 Paul Webster CLA 2009-03-31 07:52:06 EDT
(In reply to comment #2)
> And how is the handler called? I could not find it in the latest I-Build
> org.eclipse.ui/plugin.xml
> 


Right, the handler was checked in, but we needed concrete usecases and a more robust implementation before a command id was published.

PW
Comment 4 Philipp Kursawe CLA 2009-04-01 13:38:33 EDT
I am using it right now, declared as you can see in my initial post. Its working great with a keybinding until now.