Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Open editor tooltip not null
Open editor tooltip not null [message #461182] Sat, 06 January 2007 03: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] Sat, 06 January 2007 04:29 Go to previous messageGo to next message
Brandon Kane is currently offline Brandon KaneFriend
Messages: 7
Registered: July 2009
Junior Member
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] Sun, 07 January 2007 02: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: Thu Apr 25 13:46:37 GMT 2024

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

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

Back to the top