Bug 84420 - [Manifest][Editors] Visually indicate deprecated and translatable schema entries
Summary: [Manifest][Editors] Visually indicate deprecated and translatable schema entries
Status: CLOSED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: bugday, helpwanted
: 90006 192840 197518 (view as bug list)
Depends on: 120238
Blocks:
  Show dependency tree
 
Reported: 2005-02-04 05:23 EST by Brock Janiczak CLA
Modified: 2019-09-09 02:40 EDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brock Janiczak CLA 2005-02-04 05:23:25 EST
There is no way in the GUI manifest editor to know which fields are translatable
or deprecated.  It would be really nice if there was a quick way to tell if a
field is deprecated without having to enter a value in and then check for errors
in the source view.

Perhaps if an icon with overlays were displayed to the left of the label?  The
images could be based on those used in the schema editor.  The benefit of doing
it this way is that you can also see the attribute type at a glance.

It might also be cool to display a warning icon for missing mandatory fields and
tranlatable fields that have not been translated.
Comment 1 Wassim Melhem CLA 2006-03-01 03:33:24 EST
*** Bug 90006 has been marked as a duplicate of this bug. ***
Comment 2 Markus Keller CLA 2006-08-23 11:05:40 EDT
I just fell over this again. Could this feature be added to the 3.3 plan?
Comment 3 Wassim Melhem CLA 2006-08-23 16:53:05 EDT
No.  We won't commit to this item until there is a reasonable outcome for bug 120238.
Comment 4 Markus Keller CLA 2006-08-24 05:13:55 EDT
I see, waiting for bug 120238 totally makes sense.
Comment 5 Mike Pawlowski CLA 2007-04-11 12:32:08 EDT
This can be simply done using field decorations.

For deprecated fields, decorate the corresponding text field on the bottom left corner with a warning field decoration.

For translatable fields, decorate the corresponding text field on the top left corner with a translatable field decoration.

A 7x7 pixel translatable field decoration will need to created by the media design team.

Will not start anything until Bug # 120238 is decided or until I get the go ahead from Wassim.
Comment 6 Wassim Melhem CLA 2007-04-11 13:13:09 EDT
This can wait until post-3.3
Comment 7 Mike Pawlowski CLA 2007-06-15 11:17:50 EDT
*** Bug 192840 has been marked as a duplicate of this bug. ***
Comment 8 Chris Aniszczyk CLA 2007-12-05 15:46:10 EST
*** Bug 197518 has been marked as a duplicate of this bug. ***
Comment 9 Simon Archer CLA 2007-12-07 13:23:32 EST
+1 for this bug.  Here's the description from bug 19758 that is a dup of this one...

"When an XML attribute or element is deprecated, it would be helpful if the
Extension Point Schema Editor, and the content it provides to the Outline view,
used a "strike through" icon.  This would bring some consistency with the JDT
regarding the way that deprecation is handled.

I feel that the need is greater in the Outline view, since the only way to see
that an element or attribute is deprecated is to look in the editor itself."

Plus, here's a useful comment from Mike Pawlowski...

"Other places where the deprecated element icon could be used for include the following:

* For elements proposed via the context menu in the Plug-in Manifest editor

* For elements in the Extensions tree viewer in the Plug-in Manifest editor

There was some discussion about new icons in bug 195764"

Comment 10 Chris Aniszczyk CLA 2007-12-07 14:13:09 EST
I will try to do something for 3.4... and appreciate any help from the community here.
Comment 11 Darin Wright CLA 2009-04-06 14:05:42 EDT
Not planned for 3.5
Comment 12 Udo Walker CLA 2010-10-21 03:33:36 EDT
3.6 shows the translatable fields already. Only the deprecated fields are not shown, or?
Comment 13 Markus Keller CLA 2010-10-21 08:10:50 EDT
> 3.6 shows the translatable fields already. Only the deprecated fields are not
> shown, or?

Both kinds of fields are shown, but you cannot easily see which of the fields are translatable or deprecated because they look the same as other fields. For translatable fields, the label is a link, but that's also the case for other field types (e.g. references to Java types), so it's still not easy to determine.
Comment 14 Eclipse Webmaster CLA 2019-09-06 15:36:06 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 15 Julian Honnen CLA 2019-09-09 02:40:40 EDT
Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release.