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: kathy.abcsolutions.com

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.

Thanks,
Kathy
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: kathy.abcsolutions.com

Hey all,

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

Kathy.
Previous Topic:connection figure antialiasing
Next Topic:HandleBounds and selection of children
Goto Forum:
  


Current Time: Thu Apr 25 05:49:51 GMT 2024

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

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

Back to the top