This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 305929 - [Usability] Annotations should appear like Stereotypes
Summary: [Usability] Annotations should appear like Stereotypes
Status: CLOSED FIXED
Alias: None
Product: Tigerstripe (Archived)
Classification: Technology
Component: Annotations (show other bugs)
Version: 0.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P2 enhancement with 1 vote (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-15 18:03 EDT by Eric Dillon CLA
Modified: 2011-08-12 09:47 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Dillon CLA 2010-03-15 18:03:21 EDT
Annotations should be considered equal citizens to stereotypes as far as how they're displayed in the models.

- They should appear in the Explorer similarly to stereotypes.
- They should appear in the Class Diagrams similarly to stereotypes

The corresponding label providers should be updated.

Note that only the "installed annotation definitions", i.e. those for which there is an Eclipse plugin carrying the details should be presented.

This will allow to have people see only those annotations that are relevant to their install.

Note also that changes on annotations will need to trigger refreshes as currently done for Stereotypes in both explorer and class diagrams.
Comment 1 Navid Mehregani CLA 2011-07-19 10:06:53 EDT
Note that they're only displayed in the Explorer if the following option is enabled from preferences:

Tigerstripe > Explorer > Display Stereotypes on Artifacts.
Comment 2 Anton Salnik CLA 2011-07-27 09:48:41 EDT
Now Annotations appear with Stereotypes in Tigerstripe Explorer and diagrams.
Comment 3 Navid Mehregani CLA 2011-08-08 14:47:03 EDT
There is an slight issue with this:

- Make sure the preference options are all turned on
- Create an entity artifact and add an annotation to it.  Make sure the annotation is displayed in Explorer view.
- Create a class diagram and drag and drop the artifact onto the class diagram.  Notice that the annotation is not displayed in the class diagram.  If you add another annotation to the artifact then it'll display the annotations in the class diagram.
Comment 4 Anton Salnik CLA 2011-08-09 07:22:09 EDT
(In reply to comment #3)
Now annotations are displayed after DnD from TS Explorer.
Comment 5 Navid Mehregani CLA 2011-08-11 14:56:45 EDT
Found another issue:

- Make sure the preference options are all turned on
- Create an entity artifact and add an annotation to it.  Make sure the
annotation is displayed in Explorer view.
- Create a class diagram and drag and drop the artifact onto the class diagram.  The annotations are displayed on class diagram
- Leave class diagram open, open preference page and turn off all options.  
- Annotations in Explorer are removed, but they still show up in class diagram.

Closing and reopening diagram does NOT resolve the issue.
Comment 6 Anton Salnik CLA 2011-08-12 04:18:53 EDT
(In reply to comment #5)
It's not an issue. Currently stereotypes/annotations representation in Tigerstripe Explorer and on diagrams are configured separatelly. Preference page is used for TS Explorer, while "Hide/Show -> Hide Stereotypes and Annotations" diagram's context menu is used for diagrams.
Comment 7 Navid Mehregani CLA 2011-08-12 09:47:35 EDT
(In reply to comment #6)
> (In reply to comment #5)
> It's not an issue. Currently stereotypes/annotations representation in
> Tigerstripe Explorer and on diagrams are configured separatelly. Preference
> page is used for TS Explorer, while "Hide/Show -> Hide Stereotypes and
> Annotations" diagram's context menu is used for diagrams.

I see. Thanks Anton.  Closing defect.