Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Platform Command Framework suggestions
Platform Command Framework suggestions [message #333279] Wed, 03 December 2008 09:14 Go to next message
Matt Biggs is currently offline Matt BiggsFriend
Messages: 71
Registered: July 2009
Member
Recently i have been converting our app over to use handlers etc and came
across a few niggles and wonder if a couple of suggestions would be
appreciated?

When defining a handler within the plugin.xml, it becomes very difficult
to distinguish between them as the text simply states '(handler)' for each
of them under the extensions. Perhaps an improvement would be to add a
name/label field or even display the command id as the text?

Finally, when defining a property tester each property is listed on a
single 'properties' line separated by a comma. It may easier to view if
individual properties were added as new elements. (eg Right click -> Add
property)
Re: Platform Command Framework suggestions [message #333300 is a reply to message #333279] Wed, 03 December 2008 15:46 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Matt Biggs wrote:
> Recently i have been converting our app over to use handlers etc and
> came across a few niggles and wonder if a couple of suggestions would be
> appreciated?
>
> When defining a handler within the plugin.xml, it becomes very difficult
> to distinguish between them as the text simply states '(handler)' for
> each of them under the extensions. Perhaps an improvement would be to
> add a name/label field or even display the command id as the text?

The PDE UI is supposed to guess at the best element to display, and if
it can't it simply takes the first string I believe. You can open a bug
against
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI&short_desc=[Commands]
about that.

>
> Finally, when defining a property tester each property is listed on a
> single 'properties' line separated by a comma. It may easier to view if
> individual properties were added as new elements. (eg Right click -> Add
> property)
>

There is a discussion about property testers as API (attributes and best
practices) https://bugs.eclipse.org/bugs/show_bug.cgi?id=256448

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/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Eclipse Key Bindings
Next Topic:ViewPart State & Customize label
Goto Forum:
  


Current Time: Fri Apr 19 07:42:58 GMT 2024

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

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

Back to the top