Package lupos.gui.operatorgraph

Examples of lupos.gui.operatorgraph.OperatorGraph


   * setting the operatorGraphViewer...
   */
  public void setUpContextMenus() {
    // --- context menu example - begin ---
    // get the OperatorGraph...
    final OperatorGraph operatorGraph = this.operatorGraphViewer.getOperatorGraph();

    this.menuItems = new LinkedList<JMenuItem>();

    // walk through the list of root GraphWrappers...
    final HashSet<GraphWrapper> visited = new HashSet<GraphWrapper>();
    for (final GraphWrapper rootGW : operatorGraph.getRootList(false)) {
      this.addContextMenusToGraphWrappers(operatorGraph, rootGW, visited);
    }

    // remove context menus only from the root GraphWrappers...
    // for (final GraphWrapper rootGW : operatorGraph.getRootList(false)) {
View Full Code Here

TOP

Related Classes of lupos.gui.operatorgraph.OperatorGraph

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.