Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330700

Summary: Provide convenient way to visualize all attributes on artifacts (local and inherited)
Product: [Technology] Tigerstripe Reporter: Eric Dillon <erdillon>
Component: UIAssignee: Project Inbox <tigerstripe.ui-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: chrhartl, nmehrega, yuri
Version: 0.5M1   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
TS-330700.txt
none
TS_330700_2.patch none

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!