Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Open editor tooltip not null
Open editor tooltip not null [message #461182] Fri, 05 January 2007 22:40 Go to next message
Eclipse UserFriend
Originally posted by: jelgolfnut.gmail.com

I'm trying to open an editor and I'm getting the following error....
Unable to create this part due to an internal error. Reason for the
failure: null argument:A part's title tool tip must be non-null

I have the setTitleToolTip("tooltip"); method call in the init for the
editor. Any tips/tricks?
Thanks
Re: Open editor tooltip not null [message #461186 is a reply to message #461182] Fri, 05 January 2007 23:29 Go to previous messageGo to next message
Eclipse UserFriend
Check your implementation of IEditorInput for the editor. The
getToolTipText() method of the input must return a non-null entity, but
the default implementation if you use an Eclipse wizard to create the
class will implement a method that returns null.

Brandon

JimL wrote:
> I'm trying to open an editor and I'm getting the following error....
> Unable to create this part due to an internal error. Reason for the
> failure: null argument:A part's title tool tip must be non-null
>
> I have the setTitleToolTip("tooltip"); method call in the init for the
> editor. Any tips/tricks?
> Thanks
>
Re: Open editor tooltip not null [message #461214 is a reply to message #461186] Sat, 06 January 2007 21:26 Go to previous message
Eclipse UserFriend
Originally posted by: jelgolfnut.gmail.com

Thanks....that was it!
Previous Topic:ViewPart containing openoffice
Next Topic:views are not initialized on startup
Goto Forum:
  


Current Time: Wed Mar 26 09:56:07 EDT 2025

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

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

Back to the top