Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Add a GEF figures to the Multi page editor
Add a GEF figures to the Multi page editor [message #243285] Fri, 30 May 2008 13:12 Go to previous message
Eclipse User
Originally posted by: npchala.yahoo.com

Hi,

I am new to GEF and i'm using GEF 3.3 and Eclipse 3.3.

According to a model i managed to draw a set of figures. Now i need to
show that figures on the first page of a multi page Editor. The GEF model
seperately work fine and it initialy calls the,

public class Digraph1GraphicalEditor extends GraphicalEditor {
....................
}

class,

For the multi page editor i used 'plugin with a multi-page editor' example
available under eclipse. This initialy calls the,

public class MultiPageEditor extends MultiPageEditorPart implements
IResourceChangeListener{
........................
}

class.

I need to show the figures that i drew by using the GEF in the first page
of the multi page editor. But i found that simply creating an object of
the Digraph1GraphicalEditor and calls the configureGraphicalViewer()
method of that class wont work fine.

So if anybody could please let me know how to proceed with this?

The first page in the multi-page example is a normal text editor, and the
page was simply added by using,

int index = addPage(editor, getEditorInput());

So how to add the above GEF figures to the Editor is my second question?

Thanks in Advance,
Chalani
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Enable/Disable of Palette-Tools
Next Topic:What's up with Zest?
Goto Forum:
  


Current Time: Tue May 21 06:20:31 EDT 2013

Powered by FUDForum. Page generated in 0.01818 seconds