question: public boolean canEdit ( Class omgc ) { Iterator iterator ; if ( possibleEditableClasses == null ) { Set keys = loaders . keySet ( ) ; possibleEditableClasses = new Vector ( keys . size ( ) ) ; iterator = keys . iterator ( ) ; while ( iterator . hasNext ( ) ) { String key = ( String ) iterator . next ( ) ; try { possibleEditableClasses . add ( Class . forName ( key ) ) ; } catch ( ClassNotFoundException cnfe ) { } } } iterator = possibleEditableClasses . iterator ( ) ; while ( iterator . hasNext ( ) ) { Class kc = ( Class ) iterator . next ( ) ; if ( kc == omgc || kc . isAssignableFrom ( omgc ) ) { return true ; } } return false ; }
target:  Return true if the OMDrawingTool can edit the OMGraphic. Meant to be a low-cost check, with a minimal allocation of memory.