Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315836 - Server tooltips are difficult to extend
Summary: Server tooltips are difficult to extend
Status: RESOLVED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: Elson Yuen CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 16:19 EDT by Troy Bishop CLA
Modified: 2017-10-11 16:34 EDT (History)
0 users

See Also:
arvera: review+


Attachments
possible patch. (2.02 KB, patch)
2010-06-04 16:21 EDT, Troy Bishop CLA
no flags Details | Diff
v1.0 (2.95 KB, patch)
2010-08-18 10:58 EDT, Elson Yuen CLA
arvera: iplog+
arvera: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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