Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to customise Circuit model
How to customise Circuit model [message #236523] Sat, 30 June 2007 06:13
Eclipse UserFriend
Originally posted by: suvajit.blr.interrasystems.com

Hi All,
In GEF logic diagram example, we can create a Figure model which has 4
input connections and 4 output connections.
I modified the Circuit Model. Instead of static String array
TERMINALS_IN[] & TERMINALS_OUT[], I defined two List of String
terminalsIn and terminalsOut.
After creating a new Circuit, I am populating the terminalsIn and
terminalsOut with my data.
In CircuitFigure figure, I am creating connection anchors from the above
list.
After running my app with these setting, I find a blank display.
In CircuitBorder, there are two static Polygons defined as connectors &
bottomConnectors whose usage I could not make out.

My objective is two create a Circuit figure with variable inout and
output connectors.

Help in any form in earnestly solicited.
--
Regards,
Suvajit
http://flickr.com/photos/jeet_sen
Previous Topic:How can I pass drop target information to the CreateFactory?
Next Topic:TextArea (bis)
Goto Forum:
  


Current Time: Thu Apr 25 07:38:47 GMT 2024

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

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

Back to the top