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

Bug 315836

Summary: Server tooltips are difficult to extend
Product: [WebTools] WTP ServerTools Reporter: Troy Bishop <tjbishop>
Component: wst.serverAssignee: Elson Yuen <eyuen7>
Status: RESOLVED FIXED QA Contact: Angel Vera <arvera>
Severity: normal    
Priority: P3 Flags: arvera: review+
Version: 3.2   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows XP   
See Also: https://git.eclipse.org/r/108979
Whiteboard:
Attachments:
Description Flags
possible patch.
none
v1.0 arvera: iplog+, arvera: review+

Description Troy Bishop CLA 2010-06-04 16:19:28 EDT
Build Identifier: WTP 3.2

The server tooltip functionality is difficult to extend because of these two reasons:

1) The extension point is only loaded if the serverType defined in the extension point starts with the server id name.  I think this logic is backwards but it also could be improved to support regular expressions.

2) Any UI contributions added will end up being horizontally aligned to the current GeneralToolTip, causing the flow of the tooltip to be incorrect.  This is an easy fix by ensuring that the FillLayout is vertial aligned.

Attached is a patch which will correct both of these problems.

Reproducible: Always
Comment 1 Troy Bishop CLA 2010-06-04 16:21:05 EDT
Created attachment 171170 [details]
possible patch.
Comment 2 Elson Yuen CLA 2010-08-18 10:58:35 EDT
Created attachment 176899 [details]
v1.0

This patch replaces the previous patch from Troy. The previous patch does not work week when the tooltip information is multi line or the line is long.  This new patch provides better display to the extended tooltip.
Comment 3 Angel Vera CLA 2010-08-23 13:45:51 EDT
Changes committed to HEAD (3.3)
Comment 4 Angel Vera CLA 2010-08-23 13:55:57 EDT
Changes committed to 32M
Comment 5 Angel Vera CLA 2010-08-23 13:57:25 EDT
Updated the version of the plugin at the sametime for 32M
Comment 6 Angel Vera CLA 2010-08-23 17:22:18 EDT
Changes committed and released to 32M and HEAD(3.3)
Comment 7 Angel Vera CLA 2010-08-24 14:16:43 EDT
Fixed.
Comment 8 Eclipse Genie CLA 2017-10-11 16:34:22 EDT
New Gerrit change created: https://git.eclipse.org/r/108979