Package org.openide.explorer.view

Examples of org.openide.explorer.view.BeanTreeView


class ExplorerPanel extends JPanel implements ExplorerManager.Provider {
    private final ExplorerManager mgr = new ExplorerManager();

    ExplorerPanel () {
        setLayout( new BorderLayout() );
        BeanTreeView btv = new BeanTreeView();
        add( btv, BorderLayout.CENTER );
        btv.setRootVisible( false );
        btv.setSelectionMode( TreeSelectionModel.SINGLE_TREE_SELECTION );
    }
View Full Code Here


     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel2 = new javax.swing.JPanel();
        jScrollPane1 = new BeanTreeView();

        setLayout(new java.awt.BorderLayout());

        jPanel2.setLayout(new java.awt.BorderLayout());
        jPanel2.add(jScrollPane1, java.awt.BorderLayout.CENTER);
View Full Code Here

        manager.setRootContext(new AbstractNode(Children.LEAF));
        ((BeanTreeView) tree).setRootVisible(false);
    }

    private void initComponents() {
        tree = new BeanTreeView();

        setLayout(new java.awt.BorderLayout());

        //((BeanTreeView) tree).setRootVisible(false);
        add(tree, java.awt.BorderLayout.CENTER);
View Full Code Here

     * always regenerated by the FormEditor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new BeanTreeView();

        setLayout(new java.awt.BorderLayout());

        setFocusable(false);
        add(jScrollPane1, java.awt.BorderLayout.CENTER);
View Full Code Here

     * regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new BeanTreeView();
        backButton = new javax.swing.JButton();
        forwardButton = new javax.swing.JButton();
        jSeparator1 = new javax.swing.JSeparator();

        jScrollPane1.setBorder(null);
View Full Code Here

        ExplorerManager em = DirectoryTreeTopComponent.findInstance().getExplorerManager();
        Node[] selectedNode = em.getSelectedNodes();

        // Collapse all

        BeanTreeView tree = DirectoryTreeTopComponent.findInstance().getTree();
        collapseAll(tree, selectedNode[0]);
    }
View Full Code Here

TOP

Related Classes of org.openide.explorer.view.BeanTreeView

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.