Exemplo n.º 1
0
 /** 控制点发生变化时并通知 Editpart */
 public void replaceBendpoint(int index, Point point) {
   bendpoints.set(index, point);
   lineXmlProperty.setBendPointList(bendpoints);
   firePropertyListenerChange(P_BEND_POINT, null, null);
 }
Exemplo n.º 2
0
 /** 删除控制点并通知 Editpart */
 public void removeBendpoint(int index) {
   bendpoints.remove(index);
   lineXmlProperty.setBendPointList(bendpoints);
   firePropertyListenerChange(P_BEND_POINT, null, null);
 }