Problem starting Editor - no Tool tip title [message #460903] |
Tue, 02 January 2007 14:00 |
Eclipse User |
|
|
|
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 #461017 is a reply to message #460993] |
Wed, 03 January 2007 17:23 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03524 seconds