How to customise Circuit model [message #236523] |
Sat, 30 June 2007 06:13 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03061 seconds