Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 373255 - Add tooltips providing a documentation for the selected elements in the Select ETypedElement Dialog
Summary: Add tooltips providing a documentation for the selected elements in the Selec...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Gregoire Dupe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 357621
  Show dependency tree
 
Reported: 2012-03-05 09:59 EST by Vincent Lorenzo CLA
Modified: 2020-05-01 11:26 EDT (History)
3 users (show)

See Also:
gdupe: juno+


Attachments
This patch provides the customization to display the documentation in a tooltip. (13.06 KB, patch)
2012-03-05 11:44 EST, Vincent Lorenzo CLA
no flags Details | Diff
This patch provides the customization to display the documentation in a tooltip. (14.37 KB, patch)
2012-04-13 12:48 EDT, Vincent Lorenzo CLA
no flags Details | Diff
This patch add a description to the DocumentedElement of the example in order to test easily the development (19.30 KB, patch)
2012-04-25 12:02 EDT, Vincent Lorenzo CLA
gdupe: iplog+
gdupe: review+
Details | Diff
This patch adds the tooltips to display documentation of the element in a viewer (17.44 KB, patch)
2012-04-25 12:07 EDT, Vincent Lorenzo CLA
no flags Details | Diff
This patch adds the tooltips to display documentation of the element in a viewer (10.80 KB, patch)
2012-04-27 08:49 EDT, Vincent Lorenzo CLA
gdupe: iplog+
gdupe: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2012-03-05 09:59:06 EST
The dialog "Select ETypedElement Dialog" doesn't provide description of the displayed elements. It should be interesting to provide a tooltip
to display the documentation about the selected element.
Comment 1 Vincent Lorenzo CLA 2012-03-05 11:44:21 EST
Created attachment 212080 [details]
This patch provides the customization to display the documentation in a tooltip.

(1) I, Vincent Lorenzo, wrote 100% of the code I've provided.
(2) This code contains no cryptography
(3) I have the right to contribute the code to Eclipse.
(4) I contribute the content under the EPL.
Comment 2 Vincent Lorenzo CLA 2012-04-13 12:48:17 EDT
Created attachment 213990 [details]
This patch provides the customization to display the documentation in a tooltip.

(1) I, Vincent Lorenzo, wrote 100% of the code I've provided.
(2) This code contains no cryptography
(3) I have the right to contribute the code to Eclipse.
(4) I contribute the content under the EPL.
Comment 3 Vincent Lorenzo CLA 2012-04-25 12:02:34 EDT
Created attachment 214543 [details]
This patch add a description to the DocumentedElement of the example in order to test easily the development

(1) I, Vincent Lorenzo, wrote 100% of the code I've provided.
(2) This code contains no cryptography
(3) I have the right to contribute the code to Eclipse.
(4) I contribute the content under the EPL.
Comment 4 Vincent Lorenzo CLA 2012-04-25 12:07:20 EDT
Created attachment 214544 [details]
This patch adds the tooltips to display documentation of the element in a viewer

(1) I, Vincent Lorenzo, wrote 100% of the code I've provided.
(2) This code contains no cryptography
(3) I have the right to contribute the code to Eclipse.
(4) I contribute the content under the EPL.

To test it, you can create a new table, then apply the aggregat for tooltip on the table.
Open a select ETypedElement dialog to test it.

Problem known : 
   when you are in an Aggregat, the FacetAttribute become an AggregateEStructuralFeature
   		-> this element is not a DocumentedElement, so you can't display its documentation on it.
Comment 5 Gregoire Dupe CLA 2012-04-27 06:41:48 EDT
Comment on attachment 214543 [details]
This patch add a description to the DocumentedElement of the example in order to test easily the development

This patch add or modify less than 250 lines (36 lines).

I've committed this patch.
Committed revision 2140.
Comment 6 Vincent Lorenzo CLA 2012-04-27 08:49:38 EDT
Created attachment 214691 [details]
This patch adds the tooltips to display documentation of the element in a viewer

(1) I, Vincent Lorenzo, wrote 100% of the code I've provided.
(2) This code contains no cryptography
(3) I have the right to contribute the code to Eclipse.
(4) I contribute the content under the EPL.
Comment 7 Gregoire Dupe CLA 2012-05-03 04:58:17 EDT
Comment on attachment 214691 [details]
This patch adds the tooltips to display documentation of the element in a viewer

Here is a patch modifying less than 250 lines (92 lines).

I've committed this patch after to have cleaned the warning in ToolTipTextQuery.

Contributed by Vincent Lorenzo (CEA-LIST).
Comment 8 Gregoire Dupe CLA 2012-05-03 08:26:47 EDT
This bug can be marked as fixed.
Comment 9 Gregoire Dupe CLA 2012-05-04 11:49:23 EDT
We can not get tool tips on AggregatedFacetElement instances because AggregatedFacetElement  is not a sub-class of DocumentedElement. .
Comment 10 Gregoire Dupe CLA 2012-05-04 12:11:12 EDT
(In reply to comment #9)
> We can not get tool tips on AggregatedFacetElement instances because
> AggregatedFacetElement  is not a sub-class of DocumentedElement. .

Fixed.
Committed revision 2176.
Comment 11 Vincent Lorenzo CLA 2012-05-10 07:41:22 EDT
This bug can be marked as closed