Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Toolbar action inconsistencies

I have noticed some inconsistencies (or incompleteness) in how actions are defined in XML (plugin.xml/fragment.xml).

 

Action Sets (org.eclipse.ui.actionSets)

- The "pulldown" attribute enables an action in the toolbar to have an associated drop-down menu. Unfortunately, it appears impossible to define the contents of that menu in XML. The pulldown menu contents are defined in code by calling IWorkbenchWindowPulldownDelegate.getMenu(). It should be possible to define the pulldown menu completely in XML.

- An action defined in the toolbar should be able to use a combobox (e.g, for a list of font names, font sizes, etc.)

 

Editor Actions (org.eclipse.ui.editorActions)

- Although an accelerator can be defined for an editor action, the XML does not allow the "definitionId" attribute to be defined as actions in an action set.

- Editor actions defined for the main toolbar cannot define the "pulldown" attribute. Pulldown actions in the toolbar should be supported, along with a mechanism to completely define that pulldown menu in XML.

- An editor action defined in the toolbar should be able to use a combobox.

 

View Actions (org.eclipse.ui.viewActions)

- View actions defined for its local toolbar cannot define the "pulldown" attribute. Pulldown actions in this toolbar should be supported, along with a mechanism to completely define that pulldown menu in XML.

- A view action defined in its local toolbar should be able to use a combobox.

 

Are there any plans to add this functionality to 2.1 and should I log a feature request bug?

 

Kevin

------------------------------------------
Kevin Cornell
Senior Staff Software Engineer,
Rational Suites Group

R a t i O n a l
the software development company
770 Palladium Drive
Kanata (Ottawa), Ontario, K2V 1C8
Canada

E-mail *:  kcornell@xxxxxxxxxxxx
Office ':  613.599.3919
Fax:          613.591.7020

 


Back to the top