Can someone help me how to get the connected Widgets(for example:
Label or Image..) from an instance of Connector??
I tried to write the following codes:
ArrayList<Connector> cons = diagram.connectors;
Iterator<Connector> it = cons.iterator();
while(it.hasNext()){
Connector con = (Connector)it.next();
EndPoint start = con.startEndPoint;
EndPoint end = con.endEndPoint;
ConnectionPoint startpo = start.gluedConnectionPoint;
Widget startwid = startpo.getWidget();
}
But it's not correct. I need to develop an Application: when a
processdiagramm is sent, the Server should reply, which 2 or more
Widgets are connected.
Thank you for the helps
Regards
Yiling
Yiling a écrit :