Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330700 - Provide convenient way to visualize all attributes on artifacts (local and inherited)
Summary: Provide convenient way to visualize all attributes on artifacts (local and in...
Status: VERIFIED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: UI (show other bugs)
Version: 0.5M1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 14:25 EST by Eric Dillon CLA
Modified: 2011-01-24 13:52 EST (History)
3 users (show)

See Also:


Attachments
TS-330700.txt (89.96 KB, text/plain)
2011-01-13 07:43 EST, Valentin Yerastov CLA
no flags Details
TS_330700_2.patch (13.89 KB, text/plain)
2011-01-24 07:47 EST, Valentin Yerastov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Dillon CLA 2010-11-19 14:25:15 EST
There is currently no way to visualize all the attributes defined on a given artifacts, only locally defined attributes can be visualized, not all of the inherited attributes.

A possible solution is to display them (grey-ed out?) in the corresponding editor. Maybe this is something can be switched on/off in the editor itself to avoid polluting the view when not needed.
Comment 1 Navid Mehregani CLA 2010-11-19 14:35:21 EST
Once bug#328441 is implemented, it'll make this "easier".  User can simply click on a link to visit the parent artifact and view the attributes in there.  However, I do agree that it would be useful to show all the inherited/local attributes in a single list.
Comment 2 Chris Hartley CLA 2010-11-23 00:47:35 EST
So you can do this currently in Tigerstripe.

Go to the Java perspective and select a class.

Right-click and choose Open Type Hierarchy (F4).
This opens a hierarchy explorer where you can traverse the hierarchy see the inherited attributes.
Comment 3 Navid Mehregani CLA 2010-11-23 09:44:56 EST
Ideally, you wouldn't want to use JDT tools for your modeling work.  Tigerstripe should provide all the tools necessary to properly navigate your model.
Comment 4 Chris Hartley CLA 2010-11-23 17:29:38 EST
Agreed, but perhaps this functionality can be used or extended in Tigerstripe (no need to code it all from scratch ?)
Comment 5 Valentin Yerastov CLA 2011-01-13 07:43:02 EST
Created attachment 186717 [details]
TS-330700.txt

Done.
Comment 6 Yuri Strot CLA 2011-01-13 07:54:26 EST
Valentin's patch applied.
Comment 7 Navid Mehregani CLA 2011-01-17 11:22:00 EST
Looks great! Thank you!  There is only one thing missing: Can we also display the methods of an implemented Session Facade? 

Consider the following:

S1 is a session facade with two methods defined
Ent1 is an entity implementing S1

Can we display the methods of S1 in Ent1's editor?
Comment 8 Valentin Yerastov CLA 2011-01-24 07:47:34 EST
Created attachment 187415 [details]
TS_330700_2.patch

Hi Navid, yes, I fixed what you requested for
Comment 9 Yuri Strot CLA 2011-01-24 09:36:37 EST
Second patch applied as well.
Comment 10 Navid Mehregani CLA 2011-01-24 13:52:41 EST
Looks great.  Thanks Valentin!