public void addEdgeConnector(){
  numEdgeConnectors++;
  String name="";
  boolean duplicate=true;
  while (duplicate) {
    name="EC" + numEdgeConnectors;
    if (finder.findPositionablePointByName(name) == null) {
      duplicate=false;
    }
    if (duplicate) {
      numEdgeConnectors++;
    }
  }
  PositionablePoint o=new PositionablePoint(name,PositionablePoint.EDGE_CONNECTOR,currentPoint,this);
  pointList.add(o);
  setDirty(true);
}

public void addEdgeConnector ( ) { numEdgeConnectors ++ ; String name = "" ; boolean duplicate = true ; while ( duplicate ) { name = "EC" + numEdgeConnectors ; if ( finder . findPositionablePointByName ( name ) == null ) { duplicate = false ; } if ( duplicate ) { numEdgeConnectors ++ ; } } PositionablePoint o = new PositionablePoint ( name , PositionablePoint . EDGE_CONNECTOR , currentPoint , this ) ; pointList . add ( o ) ; setDirty ( true ) ; }
add an edge connector point .
