Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Incorporating GEF components in simple windows or special Perspective? Hints welcome...
Incorporating GEF components in simple windows or special Perspective? Hints welcome... [message #213322] Wed, 05 April 2006 07:30
Eclipse UserFriend
Originally posted by: remove-this-pgarbacz.pgs-soft.com.remove.this

Hi everyone,

I have this problem: I have to write a piece of application that shows a
window without menu bar, containing simple toolbar with 5 toolbar items and
some other controls (like buttons or combos), and in the main part of the
window on the left there should be a list of some items, and on the right 3
panes containing graphical data.

I found that GEF framework supports GraphicalEditors, that could be easily
used for those graphical panes i mentioned above. Let's suppose I could
write 3 graphical views and one list view and create a perspective
containing only those elements without the main data, or even a list view
and some editor containing graphical panes on a SashForm. The only problem
is I want the window to be separated from the workbench. I mean I have a RCP
application that openes workbench window. This window contains a main editor
(written in GEF of course), where one can place some elements.
Doubleclicking on a special element of the main editor window should open a
popup window (or simply a non-modal window), that looks like I wrote above.

If the first approach that incorporates a new workbench window would be a
better way to do this I would happily get to know how to turn off the menu,
and unnecessary toolbars in this newly opened window. If the second approach
is better, the question is: how to subclass GraphicalEditor and then open
this editor component as a composite of a simple SWT window. Is it anyway
possible?

I'm new to Eclipse development and I'm new to GEF framework development, so
I'd appreciate any hints for doing the module behavior like I described.

Thanks in advance,
Pawel
Previous Topic:connection validation
Next Topic:Label is not painted when setBounds is calles
Goto Forum:
  


Current Time: Thu Apr 25 23:28:21 GMT 2024

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

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

Back to the top