Package org.openquark.gems.client.ModuleNameDisplayUtilities

Examples of org.openquark.gems.client.ModuleNameDisplayUtilities.TreeViewDisplayMode


       
        PreferencesHelper.getDialogProperties(prefs, DIALOG_PROPERTIES_PREF_KEY, this, MIN_SIZE_SHOWN, new Point(50, 50));
        splitPane.setDividerLocation(prefs.getInt(DIVIDER_LOCATION_PREF_KEY, DIVIDER_LOCATION_DEFAULT));
       
        TreeViewDisplayMode navTreeDisplayMode = TreeViewDisplayMode.fromName(prefs.get(NAV_TREE_DISPLAY_MODE, TreeViewDisplayMode.FLAT_ABBREVIATED.getName()));
        setNavTreeDisplayModeButtonStates(navTreeDisplayMode);
    }
View Full Code Here


     * @param showAllModules whether to show modules not visible from the given perspective.
     * @param highlightCurrentModule whether the current module should be highlighted.
     */
    public void initialize(Perspective perspective, boolean showAllModules, boolean highlightCurrentModule) {
       
        final TreeViewDisplayMode preferredModuleTreeDisplayMode = getPreferredModuleTreeDisplayMode();
       
        // Fill in the gem browser with the available gems
        BrowserTreeModel browserTreeModel = (BrowserTreeModel)getBrowserTree().getModel();
        browserTreeModel.clearDrawers();
        browserTreeModel.populate(perspective, showAllModules, preferredModuleTreeDisplayMode);
View Full Code Here

TOP

Related Classes of org.openquark.gems.client.ModuleNameDisplayUtilities.TreeViewDisplayMode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.