Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Draw figure outside bounds
Draw figure outside bounds [message #247716] Fri, 13 March 2009 16:48
marya.85 is currently offline marya.85Friend
Messages: 4
Registered: July 2009
Junior Member
Hi all,
I 'm developing a WYSIWYG plugin for Eclipse, a simple GUI designer as VE
but with few components and I'm using EMF and GEF to do it following also
some issues from the redbook. My problem is about drawing MenuItem because
I can't see them as I would. I mean, since I use Figure as components, I
preserve relationships between them father-child etc. A MenuItem is a
child of a Menu that is a child of MenuBar, that is a child of Diagram,
the root Figure where I display all components ( the JFrame! ) The
father-figures have XYLayoutEditPolicy. My problem is that if I attach a
MenuItem to a Menu I can't see it because it is drawn outside Menu bounds
as you can see in this screenshot

1- Some Menu in the menubar without menuitems
http://img518.imageshack.us/img518/8657/screen1kjq.jpg


2 - Some MenuItems attached to the first Menu
http://img518.imageshack.us/img518/8934/screen2a.jpg

I tried to attach directly MenuItems to the root figure Diagram but I
don't have anymore any relationships between Menu and MenuItems and this
is a problem because I can't modify them, and other stuff useful as undo
redo etc
This happends because Menubar has a fixed dimension, in fact if I enlarge
Menubar I can see components, but this is not possible because is awful!
Do you know how can I solve it?I mean can I preserve relationships
Menu-MenuItem and show them outside Menu bounds (under the Menu)?
Thank you
Previous Topic:GEF forks and git
Next Topic:[Announce] GEF 3.5.0M6 is available
Goto Forum:
  


Current Time: Fri Apr 26 13:42:12 GMT 2024

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

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

Back to the top