I modify the AbstractConnectinExample so make the diagram have Image and label.. but I dont know how to tie them up so that both of it can move together.
[code] protected UIObjectConnector createConnector(String text, int left, int top, Direction direction) { Image image3 = new Image("img/IBM-z800.jpg"); image3.setPixelSize(65, 58); image3.setTitle("Testing"); image3.addStyleName("demo-resize-html"); CustomWidgetLib testing = new CustomWidgetLib("testing"); //TextBox textbox = new TextBox(); Label label = new Label(text); getArea().add(label, left,top+58); getArea().add(image3, left, top); dragController.makeDraggable(image3); dragController.makeDraggable(label); if(direction!=null){ return UIObjectConnector.wrap(image3, new Direction[]{direction}); } return UIObjectConnector.wrap(image3); } [/code] -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.