[jbosstools-issues] [JBoss JIRA] (JBIDE-12291) wtp ServerToolTip too aggressive, opens empty tooltips, no way to extend as we need
Rob Stryker (JIRA)
jira-events at lists.jboss.org
Fri Jul 6 04:59:12 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704754#comment-12704754 ]
Rob Stryker commented on JBIDE-12291:
-------------------------------------
Update ServerToolTip:
{code}
protected final boolean shouldCreateToolTip(Event event) {
if (tree.getItem(new Point(event.x, event.y)) == null)
return false;
IServer server = null;
IServerModule module = null;
Object o = tree.getItem(new Point(event.x, event.y));
if( o == null )
return false;
if (o instanceof TreeItem) {
Object obj = ((TreeItem)o).getData();
if (obj instanceof IServer)
server = (IServer) obj;
if (obj instanceof IServerModule)
module = (IServerModule) obj;
}
if( server == null && module == null)
return false;
return super.shouldCreateToolTip(event);
}
{code}
> wtp ServerToolTip too aggressive, opens empty tooltips, no way to extend as we need
> -----------------------------------------------------------------------------------
>
> Key: JBIDE-12291
> URL: https://issues.jboss.org/browse/JBIDE-12291
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: UpStream
> Affects Versions: 3.3.0.Final
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 3.3.2, 3.4.0.M1
>
>
> Upstream's tooltips open even when there's nothing to show. There is a way to extend it, however, that way is only valid for adding information if a server or module is selected. IT in no way allows us to customize the tooltip for something like an XPath node or a fileset node or any other custom node we might have.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list