Skip to main content



      Home
Home » Eclipse Projects » GEF » need help
need help [message #91918] Sun, 31 August 2003 21:33
Eclipse UserFriend
Originally posted by: rajujacob_c.yahoo.com

Hi,

I am very new to GEF and I got few problems, hope somebody can help
me to solve this,

1.) I am trying to modify the Logic example by adding two tabs in the
design area (View).
basically what I did was modify LogicEditor to extends from
MultiPageEditor and add two pages on it, both pages(DesignPage,
PreviewPage) extends from GraphicalEditorWithPalette and it working fine.

now the problem comes while saving the design diagram,

I put following debug statements in the LogicEditor.doSave()
seems it can get the active editor "getActiveEditor() = DesignPage".
but when I tried to access the "getActiveEditor().getEditorInput()" which
returns null for me.

but it can work with TextEditor, meaning if I use a
TextEditor as a page in the LogicEditor I can get the EditorInput using
"getActiveEditor().getEditorInput()".

any idea about this problem, anything wrong in my implementation.

2.) Is it possible to place SWT widgets on the GraphicalEditor
and add drag-and-drop functionality, something like a SWT GUI builder
(I required only standard controls like Text, Label, Combo & Button) using
GEF, any sample codes available that I can refer.

thanks in advance for any help

thanks
Raju Jacob
Previous Topic:How to implement a Manhattan like router that don't cover the Node?
Next Topic:How to run a GEF Graph example?
Goto Forum:
  


Current Time: Sun May 11 03:13:07 EDT 2025

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

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

Back to the top