public void select(OMGraphicList list){
  if (list != null && !list.isEmpty()) {
    OMGraphic omg=list.getOMGraphicAt(0);
    DrawingTool dt=getDrawingTool();
    if (dt != null && dt.canEdit(omg.getClass())) {
      dt.setBehaviorMask(OMDrawingTool.QUICK_CHANGE_BEHAVIOR_MASK);
      if (dt.edit(omg,this) == null) {
        fireRequestInfoLine("Can't figure out how to modify this object.");
      }
    }
  }
}

public void select ( OMGraphicList list ) { if ( list != null && ! list . isEmpty ( ) ) { OMGraphic omg = list . getOMGraphicAt ( 0 ) ; DrawingTool dt = getDrawingTool ( ) ; if ( dt != null && dt . canEdit ( omg . getClass ( ) ) ) { dt . setBehaviorMask ( OMDrawingTool . QUICK_CHANGE_BEHAVIOR_MASK ) ; if ( dt . edit ( omg , this ) == null ) { fireRequestInfoLine ( "Can't figure out how to modify this object." ) ; } } } }
called if isselectable ( omgraphic ) was true , so the list has the omgraphic . a list is used in case underlying code is written to handle more than one omgraphic being selected at a time .
