Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem starting Editor - no Tool tip title
Problem starting Editor - no Tool tip title [message #460903] Tue, 02 January 2007 14:00 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.patcom.demon.co.uk

Hello

I am having problems with my first Graphical editor using GEF, I have
used the Shapes example as a reference.

The Editor fails to open and the log file contains a message to say that
it failed with an Assert error in the PartTester. I have traced the
problem to the point where it performs a getTitleToolTip() call on the
Editor which returns null and therefore trips the assert.

I can't find any reference to setting to Tool Tip Title in the shapes
example. I have also tried calling setTitleToolTip from within the
Editor's constructor but the result was the same.

What am I missing?

Many thanks

Mike
Re: Problem starting Editor - no Tool tip title [message #460993 is a reply to message #460903] Wed, 03 January 2007 12:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ssankhua.yahoo.com

I guess you need to set some string in the getToolTipText() method of EditorInput.

public class TestInput implements IEditorInput
{
public String getToolTipText()
{
return "";
}
}

Barnali
Re: Problem starting Editor - no Tool tip title [message #461017 is a reply to message #460993] Wed, 03 January 2007 17:23 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.patcom.demon.co.uk

Many thanks

Sorry for such a silly question - it is so obvious when you point it out
- I am still going through the steep learning curve for RCP and at times
it is easy to overlook the obvious

Cheers

Mike

Barnali wrote:
> I guess you need to set some string in the getToolTipText() method of EditorInput.
>
> public class TestInput implements IEditorInput
> {
> public String getToolTipText()
> {
> return "";
> }
> }
>
> Barnali
Previous Topic:Enabling and disabling actions
Next Topic:help browser vs intro browser
Goto Forum:
  


Current Time: Thu Sep 19 05:50:22 GMT 2024

Powered by FUDForum. Page generated in 0.03524 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top