Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 251720 - [Graphical Editor] Provide better visual cues for abstract types/elements
Summary: [Graphical Editor] Provide better visual cues for abstract types/elements
Status: CLOSED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xsd (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Keith Chong CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard: EaseOfUse
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-22 11:03 EDT by Valentin Baciu CLA
Modified: 2009-02-02 10:05 EST (History)
0 users

See Also:


Attachments
Log entries (19.46 KB, text/plain)
2009-01-24 18:20 EST, Valentin Baciu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Baciu CLA 2008-10-22 11:03:46 EDT
It would be nice to somehow show abstract elements/types in a unique way in the graphical XML Schema editor and related views. 

For example: in UML the name of an abstract class is rendered with an italic font.

Alternatively, we can choose to have an icon decorator, similar to how the Java tools show abstract classes or methods. 

The icon decorator is probably more "in your face" but the A decorator letter may not make sense in all languages... Perhaps this is fine given that the constructs in the XML Schema namespace are all English.
Comment 1 Keith Chong CLA 2009-01-20 15:16:00 EST
Targetting 3.1 M5
Comment 2 Keith Chong CLA 2009-01-22 18:12:32 EST
Fixed in wtp-sdk-I-3.1-20090122163112 using the italics approach.
Comment 3 Valentin Baciu CLA 2009-01-24 18:19:08 EST
Keith, there seem to be some loose ends here. Here are the steps I used:
- create a new element
- mark it as abstract using the properties view
- drill down to the details view 
- try to navigate back to the index view.

I see a few errors in the log and the navigation does not work. 

I'll attach the stack traces shortly.
Comment 4 Valentin Baciu CLA 2009-01-24 18:20:02 EST
Created attachment 123652 [details]
Log entries
Comment 5 Keith Chong CLA 2009-01-26 17:09:47 EST
Fix re-released.  Thanks Valentin.  Please retry in tomorrow's driver.
Comment 6 Valentin Baciu CLA 2009-02-02 10:04:50 EST
Verified with I-3.1-20090202085744.
Comment 7 Valentin Baciu CLA 2009-02-02 10:05:07 EST
Closing.