|Setting contents of the editor [message #225778]
||Thu, 02 November 2006 10:09
Originally posted by: kathy.abcsolutions.com|
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.
Powered by FUDForum
. Page generated in 0.01889 seconds