Skip to main content



      Home
Home » Eclipse Projects » GEF » How to create nested editparts
How to create nested editparts [message #243881] Tue, 24 June 2008 08: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: Wed Jun 04 10:24:27 EDT 2025

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

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

Back to the top