Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to create nested editparts
How to create nested editparts [message #243881] Tue, 24 June 2008 12:33
Eclipse UserFriend
Originally posted by: rashi.bahal.gmail.com

Hi,
I have an EditPart. Now i want to have two objects inside this editPart. For eg: I have a big rectangle that will consist two smaller circles....these circles would not be created through pallette. it should be ther as the rectangle editpart would be created.

Now is it possible to do this? if yes then how.
Is it possible to put GridLayout in the editpart that extends AbstractGraphicalEditPart instead of FreeformLayout. I am getting classCastException saying .... Rectangle cannot be cast to GridData.

Plz help.
Previous Topic:Zoom keyboard shortcuts don't work
Next Topic:[Announce] GEF 3.4.0 is available
Goto Forum:
  


Current Time: Sat Jan 20 05:31:02 GMT 2018

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

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