new BrowserMode[] { BrowserMode.IMAGE_NAME_MODE,
new BrowserMode[] { BrowserMode.NOOP_MODE, BrowserMode.IMAGE_NAME_MODE,
    private void init()    {        env = BrowserEnvironment.getInstance();        progressListeners = new HashSet();        modelListeners = new HashSet();        selectedThumbnails = new HashSet();        attributeMap = new AttributeMap();        groupingMethod = new SingleGroupingMethod();        groupModels = Arrays.asList(groupingMethod.getGroups());        thumbnailSet = new HashSet();        imageIDMap = new HashMap();        annotationModel = new PaintMethodZOrder();        modeClassMap = new HashMap();        availableTypesList = new ArrayList();        panActionClass =            new BrowserModeClass(PAN_MODE_NAME,                                 new BrowserMode[] { BrowserMode.DEFAULT_MODE,                                                     BrowserMode.HAND_MODE},                                 BrowserMode.DEFAULT_MODE);                                         majorUIModeClass =            new BrowserModeClass(MAJOR_UI_MODE_NAME,                                 new BrowserMode[] { BrowserMode.DEFAULT_MODE,                                                     BrowserMode.ANNOTATE_MODE,                                                     BrowserMode.CLASSIFY_MODE,                                                     BrowserMode.GRAPH_MODE},                                 BrowserMode.DEFAULT_MODE);                selectModeClass =            new BrowserModeClass(SELECT_MODE_NAME,                                 new BrowserMode[] { BrowserMode.UNSELECTED_MODE,                                                     BrowserMode.SELECTING_MODE,                                                     BrowserMode.SELECTED_MODE},                                 BrowserMode.UNSELECTED_MODE);                                      zoomModeClass =            new BrowserModeClass(ZOOM_MODE_NAME,                                 new BrowserMode[] { BrowserMode.ZOOM_TO_FIT_MODE,                                                     BrowserMode.ZOOM_50_MODE,                                                     BrowserMode.ZOOM_75_MODE,                                                     BrowserMode.ZOOM_ACTUAL_MODE,                                                     BrowserMode.ZOOM_200_MODE},                                 BrowserMode.ZOOM_TO_FIT_MODE);                                         semanticModeClass =            new BrowserModeClass(SEMANTIC_MODE_NAME,                                 new BrowserMode[] { BrowserMode.IMAGE_NAME_MODE,                                                     BrowserMode.SEMANTIC_ZOOMING_MODE},                                 BrowserMode.SEMANTIC_ZOOMING_MODE);                modeClassMap.put(PAN_MODE_NAME,panActionClass);        modeClassMap.put(MAJOR_UI_MODE_NAME,majorUIModeClass);        modeClassMap.put(SELECT_MODE_NAME,selectModeClass);        modeClassMap.put(ZOOM_MODE_NAME,zoomModeClass);        modeClassMap.put(SEMANTIC_MODE_NAME,semanticModeClass);            }