ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportIIB10 Java tooltips/context help

Post new topicReply to topic
IIB10 Java tooltips/context help View previous topic :: View next topic
Author Message
leao
PostPosted: Tue Jan 29, 2019 4:34 am Post subject: IIB10 Java tooltips/context help Reply with quote

Newbie

Joined: 06 Dec 2018
Posts: 4

Is there a way to get tooltips when writing Java in the IBM Integration Toolkit? For example when hovering a function, I want to see a small description.

In "regular" Eclipse for Java, when hovering over a string, I get a descriptive tooltip like this:


When hovering over String in IIB, though, I get this:


Can anyone help me getting descriptive tooltips in IIB, please?
Back to top
View user's profile Send private message
rekarm01
PostPosted: Tue Jan 29, 2019 4:23 pm Post subject: Re: IIB10 Java tooltips/context help Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1344

leao wrote:
When hovering over String in IIB, though, I get this:

Code:
java.lang.String
Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.

It could be worse:

Code:
java.lang.String
Note: An exception occurred while getting the Javadoc. See log for details.

!ENTRY org.eclipse.jdt.ui 4 10001 2019-01-29 15:36:27.304
!MESSAGE Internal Error
!STACK 1
Java Model Exception: Java Model Status [Unknown javadoc format for String {key=Ljava/lang/String;} [in String.class [in java.lang [in C:\IBM\IIB\10.0.0.10\common\jdk\jre\bin\compressedrefs\jclSC170\vm.jar]]]]
   at org.eclipse.jdt.internal.core.JavadocContents.getTypeDoc(JavadocContents.java:77)
   at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:997)
   at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:463)
   at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:619)
   at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:565)
   at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:557)
   at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:163)
   at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
   at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85)
   at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

You can at least get descriptive tooltips working for your own classes, by adding suitable Javadoc comments to your source code.

leao wrote:
Can anyone help me getting descriptive tooltips in IIB, please?

However, for the JRE, and other IBM libraries, you would probably need a PMR, for IBM to provide alternate jarfiles.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportIIB10 Java tooltips/context help
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.