determine if only one primitive has been selected concode_field_sep DrawingModel P concode_elem_sep int sel_tolerance concode_elem_sep UndoActions ua concode_field_sep StringBuffer getSelectedString concode_elem_sep boolean selectionCanBeSplitted concode_elem_sep void mirrorAllSelected concode_elem_sep boolean selectRect concode_elem_sep int distancePrimitive concode_elem_sep void deleteAllSelected concode_elem_sep void setSelectionTolerance concode_elem_sep boolean setLayerForSelectedPrimitives concode_elem_sep boolean selectPrimitive concode_elem_sep int getSelectionTolerance concode_elem_sep void moveAllSelected concode_elem_sep void setSelectionAll concode_elem_sep GraphicPrimitive getFirstSelectedPrimitive concode_elem_sep void handleSelection concode_elem_sep void rotateAllSelected
boolean function ( ) { boolean loc0 = true ; boolean loc1 = false ; for ( GraphicPrimitive loc2 : P . getPrimitiveVector ( ) ) { if ( loc2 . getSelected ( ) ) { if ( loc1 ) loc0 = false ; loc1 = true ; } } return loc1 && loc0 ; }