Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Setting contents of the editor
Setting contents of the editor [message #225778] Thu, 02 November 2006 10:09 Go to next message
Eclipse UserFriend
Originally posted by:

Hi all,

I am a newbie to Eclipse and using GEF for some of my work. Please help me
out here with my problem.

I am trying to perform a call to IDE.openEditor(page, file, true);
I want to set the contents to the Editor after making the above call. But
this call to open the editor does everything to show up the editor i.e.
initializing and setting the contents [which is null and will be set later
]. But when I make a call to initalizeGraphicalViewer() where I am
performing "getGraphicalViewer().setContents(contents)" the editor is
still blank. the graph which I am drawing on the GEF Editor is not visible
because of the contents not found.

There is something wrong I am doing for resetting the contents of the
Editor. Please, someone help me out here.

Re: Setting contents of the editor [message #225797 is a reply to message #225778] Thu, 02 November 2006 11:05 Go to previous message
Eclipse UserFriend
Originally posted by:

Hey all,

I got the problem solved. I was doing a really stupid mistake.
Anyways, thanks.

Previous Topic:Why is CommandStack.notifyListeners deprecated?
Next Topic:Rcp gef editor and pixels when you move figures
Goto Forum:

Current Time: Tue Oct 19 00:31:47 GMT 2021

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

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

Back to the top