Package com.intellij.ui.treeStructure

Examples of com.intellij.ui.treeStructure.SimpleTree


        });
    }

    private Tree createTree(final List<JenkinsSettings.FavoriteJob> favoriteJobs) {

        SimpleTree tree = new SimpleTree();
        tree.getEmptyText().setText(LOADING);
        tree.setCellRenderer(new JenkinsTreeRenderer(favoriteJobs));
        tree.setName("jobTree");
        tree.setModel(new DefaultTreeModel(new DefaultMutableTreeNode(jenkins)));

        new TreeSpeedSearch(tree, new Convertor<TreePath, String>() {

            @Override
            public String convert(TreePath treePath) {
View Full Code Here


            }
        });
    }

    private void initTree() {
        myTree = new SimpleTree() {
            final JLabel myLabel = new JLabel("There are no Leiningen projects to display.");

            @Override
            protected void paintComponent(Graphics g) {
                super.paintComponent(g);
View Full Code Here

TOP

Related Classes of com.intellij.ui.treeStructure.SimpleTree

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.