Community
Participate
Working Groups
The tooltips should be customizable. The following fields should be customizable for tooltip : - text - background - foreground - image - overlay for the image (top left/middle/right and bottom left/middle/right) - bold - italic - font name - font size - time displayed - display delay time - shadow (SWT.SHADOW_NONE, SWT.SHADOW_IN and SWT.SHADOW_OUT) - aligment (SWT.LEFT, SWT.RIGHT, SWT.CENTER)
Created attachment 211664 [details] This patch adds several fields in the Customization metamodel in order to custom the tooltips. (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.
Created attachment 211668 [details] This patch enables the tooltips on the TreeViewer (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.
I mark the patch as obsolete, because I forgot to implement a class!
Comment on attachment 211668 [details] This patch enables the tooltips on the TreeViewer This patch is smaller than 250 lines (3 lines). I've committed it. Committed revision 1676.
Created attachment 211788 [details] This patch replaces the DefaultLabelProvider by the ICustomizableLabelProvider for the action Change Allowed Contents (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.
Created attachment 211798 [details] This patch adds the possibility to customize the tooltip in the TreeViewer dialog This patch adds : - custom emf-facet primitive types (used for tooltip) : - Alignment - Shadow - a new facet for the tooltip customization - adapt the CustomizedLabelProvider in order to manage these new customizations, a new interface has been created (a kind of TooltipLabelProvider) - TableLabelProviderimplements these new methods too, but currently, in the table, the cells don't support tooltips (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 on attachment 211788 [details] This patch replaces the DefaultLabelProvider by the ICustomizableLabelProvider for the action Change Allowed Contents Hello, This patch is not applicable on a regular EMF Facet workspace. Please, send us a new patch based on projects having the same name than the plug-in. Regards, Grégoire
Created attachment 211890 [details] This patch adds the possibility to customize the tooltip in the TreeViewer dialog This patch adds : - custom emf-facet primitive types (used for tooltip) : - Alignment - Shadow - a new facet for the tooltip customization - adapt the CustomizedLabelProvider in order to manage these new customizations, a new interface has been created (a kind of TooltipLabelProvider) - TableLabelProviderimplements these new methods too, but currently, in the table, the cells don't support tooltips (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.
Created attachment 211893 [details] This patch replaces the DefaultLabelProvider by the ICustomizableLabelProvider for the action Change Allowed Contents (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 on attachment 211893 [details] This patch replaces the DefaultLabelProvider by the ICustomizableLabelProvider for the action Change Allowed Contents This patch is smaller than 250 lines (55 lines). I've committed this patch (with some improvement of the code quality). Committed revision 1695.
Created attachment 212061 [details] This patch adds the possibility to customize the tooltip in the TreeViewer dialog This patch adds : - custom emf-facet primitive types (used for tooltip) : - Alignment - Shadow - a new facet for the tooltip customization - adapt the CustomizedLabelProvider in order to manage these new customizations, a new interface has been created (a kind of TooltipLabelProvider) - TableLabelProviderimplements these new methods too, but currently, in the table, the cells don't support tooltips (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 on attachment 212061 [details] This patch adds the possibility to customize the tooltip in the TreeViewer dialog Patrick, please, can you commit this patch. Regards, Grégoire
Comment on attachment 212061 [details] This patch adds the possibility to customize the tooltip in the TreeViewer dialog Here is a contribution from one employee of CEA. The company has signed a Member Commiter Agreement. The contribution does not need a CQ. (http://dev.eclipse.org/mhonarc/lists/modeling-pmc/msg01997.html) I've committed this contribution. Committed revision 1733.
This bug can marked as fixed. Vincent, please, can you check that your contribution has been properly integrated and close this bug ?
CustomizedToolTipEObject was missing the "bottomRightOverlay" FacetOperation. I added it in revision 2007.
Hello Vincent, Please, can you close this bug, if your problem has been solved ? Regards, Grégoire
Sorry Vincent but this bug has to be closed for the IP log generation.
(In reply to comment #17) > Sorry Vincent but this bug has to be closed for the IP log generation. So, closing.