public static boolean viewerIsEditor ( String type ) { Object viewer = s_viewers . get ( type ) ; if ( viewer != null ) { return viewer instanceof ContentEditor ; } else { return false ; } }
If a viewer would be provided for the given type is that viewer also an editor?