Skip to main content


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:composed figure
Next Topic:Reparenting - howto
Goto Forum:
  


Current Time: Tue Mar 19 03:06:24 GMT 2024

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

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

Back to the top