Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problems creating a new GraphicalEditor
Problems creating a new GraphicalEditor [message #202362] Wed, 09 November 2005 00:37 Go to next message
rob bercik is currently offline rob bercikFriend
Messages: 15
Registered: July 2009
Junior Member
Hi,

I am trying to create a new Graphical editor. However, I keep getting
a null pointer exception when I display the editor. Looking through the
stacktrace brings me to the line of code:

// Test getTitleToolTip
Assert.isNotNull(part.getTitleToolTip());

However, I am calling the following in the constructor for my Editor:

this.setTitleToolTip("nada");


Any Ideas what could be going on. Anyone experience a similar problem?

Thanks,
Rob
Re: Problems creating a new GraphicalEditor [message #202371 is a reply to message #202362] Wed, 09 November 2005 02:21 Go to previous messageGo to next message
rob bercik is currently offline rob bercikFriend
Messages: 15
Registered: July 2009
Junior Member
Also,

I forgot to mention that I am trying to open the editor
programmatically with a call to:

getActivePage().openEditor(new FlowChartEditorInput(),FlowchartEditor.ID);

if that helps clarify what I am doing more explicitly.

Thanks,
Rob

Rob Bercik wrote:
> Hi,
>
> I am trying to create a new Graphical editor. However, I keep getting
> a null pointer exception when I display the editor. Looking through the
> stacktrace brings me to the line of code:
>
> // Test getTitleToolTip
> Assert.isNotNull(part.getTitleToolTip());
>
> However, I am calling the following in the constructor for my Editor:
>
> this.setTitleToolTip("nada");
>
>
> Any Ideas what could be going on. Anyone experience a similar problem?
>
> Thanks,
> Rob
Re: Problems creating a new GraphicalEditor [message #202378 is a reply to message #202371] Wed, 09 November 2005 04:46 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

Rob Bercik wrote:
> Also,
>
> I forgot to mention that I am trying to open the editor
> programmatically with a call to:
>
> getActivePage().openEditor(new
> FlowChartEditorInput(),FlowchartEditor.ID);
> if that helps clarify what I am doing more explicitly.
>
Can you provide the stack trace?

--
Sunil
Previous Topic:Tooltip on Tree items #2
Next Topic:stereotypes & code generation
Goto Forum:
  


Current Time: Wed Nov 06 15:56:15 GMT 2024

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

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

Back to the top