Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327258 - Extension elements should have an explicit label property
Summary: Extension elements should have an explicit label property
Status: RESOLVED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 328318 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-07 13:05 EDT by Ralf Ebert CLA
Modified: 2014-02-06 09:09 EST (History)
4 users (show)

See Also:


Attachments
Commands without Label in org.eclipse.ui.menus (3.39 KB, image/png)
2010-10-07 13:06 EDT, Ralf Ebert CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Ebert CLA 2010-10-07 13:05:13 EDT
Currently PDE shows the first string attribute as label text for the element nodes in the extension editor. For some org.eclipse.ui extension points, this choice is unfortunate. For example, when adding commands using org.eclipse.ui.menus, the label attribute is shown. Most of the time, you don't specify a label because the command already gets a label from the command definition. This yields not very helpful node labels in the tree (see attached screenshot). Manually entering an explicit label would overwrite the internationalized labels from the original command definition, so this is not really a solution. imho the extension schema author should be able to pick the attribute(s) which should be used for the tree nodes in the extension editor.
Comment 1 Ralf Ebert CLA 2010-10-07 13:06:52 EDT
Created attachment 180442 [details]
Commands without Label in org.eclipse.ui.menus
Comment 2 Curtis Windatt CLA 2010-10-07 15:16:51 EDT
See also bug 199124, I'm sure I've seen a duplicate for this bug, but I can't find it.
Comment 3 Ralf Ebert CLA 2010-10-08 11:35:14 EDT
Too bad that a "Label property" configuration for elements already existed and was removed in 2007 with Bug 196882 
Personally I can't agree on the argumentation back then, sacrificing usability of the extension editor for simplification of the schema metadata.
Are there other ideas how this problem could be solved / are there any objections to bringing back the explicit configuration as optional attribute?
Comment 4 Darin Wright CLA 2010-10-21 10:23:27 EDT
*** Bug 328318 has been marked as a duplicate of this bug. ***
Comment 5 Gunnar Wagenknecht CLA 2010-12-19 11:34:18 EST
Thank god it hasn't been removed completely. However, having to hack XML to get i back is just poor usability.

+1 for bringing it back in the Schema editor.
Comment 6 Lars Vogel CLA 2014-02-06 09:09:29 EST
Marking as WONTFIX, please open again if you plan to work on it.