Package org.woped.qualanalysis.sidebar.expert.components

Examples of org.woped.qualanalysis.sidebar.expert.components.GraphTreeModelSelector


      editor.getGraph().getModel().addGraphModelListener(m_treeModel);
      m_treeObject.setRootVisible(false);
      m_treeObject.setShowsRootHandles(true);
      // Handle selection of tree items
      // by selecting corresponding item in graph
      GraphTreeModelSelector selectionHandler = new GraphTreeModelSelector(
          editor, m_treeObject, centralMediator, false);
      m_treeObject.addTreeSelectionListener(selectionHandler);
      editor.getGraph().getSelectionModel().addGraphSelectionListener(
          selectionHandler);
 
View Full Code Here


        JScrollPane scrollPane = new JScrollPane(treeObject);
        scrollPane.setBorder(null);
        this.add(scrollPane);

        GraphTreeModelSelector treeSelectionChangeHandler = new GraphTreeModelSelector(editor, treeObject, mediator,
                true);
        // We need to know about selection changes inside the tree
        treeObject.addTreeSelectionListener(treeSelectionChangeHandler);
    }
View Full Code Here

TOP

Related Classes of org.woped.qualanalysis.sidebar.expert.components.GraphTreeModelSelector

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.