Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337027 - [MWE2] Patch to show variable values in hover
Summary: [MWE2] Patch to show variable values in hover
Status: RESOLVED FIXED
Alias: None
Product: EMFT
Classification: Modeling
Component: MWE (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-12 08:14 EST by Christoph Kulla CLA
Modified: 2011-02-13 17:10 EST (History)
1 user (show)

See Also:
sven.efftinge: indigo+


Attachments
Patch for mwe2 (4.68 KB, patch)
2011-02-12 08:15 EST, Christoph Kulla CLA
sven.efftinge: iplog+
Details | Diff
Patch for Xtext (745 bytes, patch)
2011-02-12 08:16 EST, Christoph Kulla CLA
sven.efftinge: iplog+
Details | Diff
Hover displays variable value (26.76 KB, image/png)
2011-02-12 08:17 EST, Christoph Kulla CLA
no flags Details
Link in hover to referenced variable (31.42 KB, image/png)
2011-02-12 08:18 EST, Christoph Kulla CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Kulla CLA 2011-02-12 08:14:26 EST
Build Identifier: Indigo M5

The attached patch shows a variable's value in the hover. If the variable refers to other variables, links are placed into the hover. The user can then follow links and go back and forth in history. This patch requires a small modification in Xtext's DefaultEObjectHoverProvider (I added two separate patches, one for mwe2 and for Xtext). Added some screenshots.

Reproducible: Always
Comment 1 Christoph Kulla CLA 2011-02-12 08:15:21 EST
Created attachment 188830 [details]
Patch for mwe2
Comment 2 Christoph Kulla CLA 2011-02-12 08:16:19 EST
Created attachment 188831 [details]
Patch for Xtext
Comment 3 Christoph Kulla CLA 2011-02-12 08:17:39 EST
Created attachment 188832 [details]
Hover displays variable value
Comment 4 Christoph Kulla CLA 2011-02-12 08:18:20 EST
Created attachment 188833 [details]
Link in hover to referenced variable
Comment 5 Sven Efftinge CLA 2011-02-13 17:10:16 EST
patches applied, thanks.