Package lupos.gui.operatorgraph.graphwrapper

Examples of lupos.gui.operatorgraph.graphwrapper.GraphWrapperBasicOperator


          os.close();
          writer.close();
          if(this.evaluator instanceof RDF3XQueryEvaluator){
            ((RDF3XQueryEvaluator)this.evaluator).writeOutIndexFileAndModifiedPages(this.dir);
          }
          new Viewer(new GraphWrapperBasicOperator(this.evaluator.getRootNode()), logDirectory+DebugEndpoint.queryNumber+".jpg");
        }
        return;
      } catch (final Error e) {
        System.err.println(e);
        e.printStackTrace();
View Full Code Here


      this.evaluator = evaluator;
    }

    @Override
    public void writeResult(final OutputStream os, final Collection<Variable> variables, final QueryResult queryResult) throws IOException {
      new Viewer(new GraphWrapperBasicOperator(this.evaluator.getRootNode()), this.format, os);
    }
View Full Code Here

                  thread.start();

                  final BasicOperator root = (evaluator instanceof BasicIndexRuleEvaluator)? ((BasicIndexRuleEvaluator)evaluator).getRootNode() :((CommonCoreQueryEvaluator<Node>) evaluator).getRootNode();

                  this.operatorGraphViewer = new Viewer(
                      new GraphWrapperBasicOperator(
                          root),
                          this.prefixInstance,
                          "Evaluation Demo",
                          false,
                          this.webdemo != DEMO_ENUM.ECLIPSE,
View Full Code Here

        } catch (final Exception e) {
          XPref.getInstance(new URL("file:"
              + GUI.class.getResource("/preferencesMenu.xml")
                  .getFile()));
        }
        new Viewer(new GraphWrapperBasicOperator(
            basicIndexQueryEvaluator.getRootNode()), "Query: "
            + query, true, false);
      }

      time += ((QueryClient) basicIndexQueryEvaluator).evaluateQuery();
View Full Code Here

    } catch (IllegalClassFormatException e1) {
      e1.printStackTrace();
    }
  }
  //Start viewer ...
  new Viewer(new GraphWrapperBasicOperator(basicOperator),
      title, true, false);
  }
View Full Code Here

  private void reloadGraphViewer() {
    final T root = this.debugContainerList.get(this.curContainerPos).getRoot();

    if(root instanceof BasicOperator) {
      this.operatorGraphViewer.createGraphElement(new GraphWrapperBasicOperator((BasicOperator) root));
    }
    else {
      this.operatorGraphViewer.createGraphElement(new GraphWrapperBasicOperatorByteArray((BasicOperatorByteArray) root));
    }
View Full Code Here

      final ViewerPrefix prefix, final String title,
      final boolean standAlone, final boolean fromJar) {
    super();

    this.startGWs = new LinkedList<GraphWrapper>();
    this.startGWs.add(new GraphWrapperBasicOperator(debugContainerList.get(debugContainerList.size() - 1).getRoot()));
    this.operatorGraph = new OperatorGraphWithPrefix(prefix); // initiate OperatorGraph class

    this.constructFrame(title, standAlone, fromJar);

    final JPanel topToolBar = this.createTopToolBar(standAlone, fromJar);
View Full Code Here

        menuItem.addActionListener(new ActionListener(){

          @Override
          public void actionPerformed(final ActionEvent e) {
            new Viewer(
                new GraphWrapperBasicOperator(((SubgraphContainer)graphWrapper.getElement()).getRootOfSubgraph()),
                new ViewerPrefix(true, Viewer.this.getOperatorGraph().getPrefix()),
                "Contained Subgraph", false, true, (JPanel) null);
          }});
      } else {
        menuItem.addActionListener(new ActionListener(){
View Full Code Here

TOP

Related Classes of lupos.gui.operatorgraph.graphwrapper.GraphWrapperBasicOperator

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.