Package org.apache.oodt.cas.workflow.gui.model.repo

Examples of org.apache.oodt.cas.workflow.gui.model.repo.XmlWorkflowModelRepositoryFactory


      this.setTitle(StringUtils.leftPad("Workspace: " + this.workspace, 100));
  }

  private void loadProjects() {
    try {
      XmlWorkflowModelRepositoryFactory factory = new XmlWorkflowModelRepositoryFactory();
      factory.setWorkspace(this.workspace.getAbsolutePath());
      repo = factory.createModelRepository();
      repo.loadGraphs(new HashSet<String>(Arrays.asList("sequential",
          "parallel", "task", "condition")));
      for (File file : repo.getFiles()) {
        List<ModelGraph> graphs = new Vector<ModelGraph>();
        for (ModelGraph graph : repo.getGraphs())
View Full Code Here


            return;
          JFileChooser chooser = new JFileChooser(new File("."));
          int value = chooser.showOpenDialog(WorkflowGUI.this);
          if (value == JFileChooser.APPROVE_OPTION) {
            File file = chooser.getSelectedFile();
            XmlWorkflowModelRepositoryFactory factory = new XmlWorkflowModelRepositoryFactory();
            factory.setWorkspace(workspace.getAbsolutePath());
            View activeView = perspective.getActiveView();

            if (activeView != null) {
              // TODO: add code for import
            }
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.workflow.gui.model.repo.XmlWorkflowModelRepositoryFactory

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.