Managing multiple messages using MessageManager [message #594394] |
Tue, 04 December 2007 07:58 |
Eclipse User |
|
|
|
Originally posted by: velganesh.subramanian.iflexsolutions.com
I posted this in RCP group but didn't get any reply. Since the article I
referred has referenced to ua-dev, I am posting here. Thanks in
anticipation.
I referred this article
< http://www.eclipse.org/eclipse/platform-ua/proposals/forms/e nhancements-3.3/index.html>
and tried the class provided in examples project
(org.eclipse.ui.forms.examples.internal.rcp.ErrorMessagesPag e).
Is there any other way of displaying the messages but with hyperlinks? I
mean, I like a tooltip with a X button in a corner. I thought of
implementing the ToolTip example given in
< http://www.ibm.com/developerworks/library/os-eclipse-forms/i ndex.html>
but I am not sure which ToolTip he is referring to.
org.eclipse.swt.widgets.ToolTip is not related to any form but he is
overriding createToolTipContentArea(). Do you know how?
Moreover, the way the errors are displayed in ErrorMessagesPage is not
good. When we click on hyperlink ('2 errors detected') and on an error
message hyperlink, the shell closes. But if I click on '2 errors
hyperlink' and click elsewhere on the editor, the shell remains as such.
How do we close it? Is there a way to listen to click event for editor? I
also witnessed that when this shell pops up, the editor loses focus but I
don't know how to listen to editor events. One more situation: when this
shell is displayed, is there a way to stop the yellow tooltip box from
appearing when mouse is hovered? There is no need for both the boxes at
the same time.
I appreciate your help.
|
|
|
Powered by
FUDForum. Page generated in 0.03083 seconds