public boolean add(OMGraphic shape){
  return super.add(shape);
}

public boolean add ( OMGraphic shape ) { return super . add ( shape ) ; }
over - ride the add ( ) method to trap for inconsistent shape geometry . if you are adding a omgraphic that is not a list , make sure this list is a sub - list containing multiple geometry parts . only add another list to a top level esrigraphiclist .
