Package org.locationtech.udig.catalog.ui.workflow

Examples of org.locationtech.udig.catalog.ui.workflow.Workflow$WorkflowRunner


        // FIXME Andrea: Jody, this is the part that breaks DnD. Uncomment it to have it working
        // ResourceSearchState searchState = new ResourceSearchState();
        DataSourceSelectionState dsState = new DataSourceSelectionState(true);
        ResourceSelectionState rsState = new ResourceSelectionState();

        Workflow workflow = new Workflow(new State[]{dsState, rsState});
        // Workflow workflow = new Workflow(new State[] { searchState, rsState });
        return workflow;
    }
View Full Code Here


    initWorkflow();
  }

  @Override
  protected Workflow createWorkflow() {
    final Workflow workflow = new Workflow(new State[] { state });

    // create the workflow for the export wizard
    return workflow;
  }
View Full Code Here

     * We want our subclass of {@link ExportResourceSelectionState} to be used instead
     */
    @Override
    protected Workflow createWorkflow() {
        ExportResourceSelectionState layerState = new ExportLayerSelectionState();
        Workflow workflow = new Workflow(new State[]{layerState});
        return workflow;
    }
View Full Code Here

        dialog = new WorkflowWizardDialog(shell, wizard);
        dialog.setBlockOnOpen(true);
    }

    private void initWorkflow() {
        Workflow workflow = createWorkflow();
        Map<Class<? extends State>, WorkflowWizardPageProvider> map = createPageMapping();
        wizard = createWorkflowWizard(workflow, map);
    }
View Full Code Here

     *
     * @return workflow
     */
    protected Workflow createWorkflow() {
        DataSourceSelectionState state = new DataSourceSelectionState(false);
        Workflow workflow = new Workflow(new State[] { state });

        return workflow;
    }
View Full Code Here

    initWorkflow();
  }

  @Override
  protected Workflow createWorkflow() {
    final Workflow workflow = new Workflow(new State[] { state });

    // create the workflow for the export wizard
    return workflow;
  }
View Full Code Here

    page = new DataSourceSelectionPage();

    Map<Class< ? extends State>, WorkflowWizardPageProvider> map = new HashMap<Class< ? extends State>, WorkflowWizardPageProvider>();
    map.put(state.getClass(), new BasicWorkflowWizardPageFactory(page));

    workflow = new Workflow();
    workflow.setStates(new State[] { state });
   
    wizard = new WorkflowWizard(workflow, map);

    shell = new Shell(Display.getDefault());
View Full Code Here

    map.put(b1.getClass(), new SimplePage("one")); //$NON-NLS-1$
    map.put(b2.getClass(), new SimplePage("two")); //$NON-NLS-1$
    map.put(b3.getClass(), new SimplePage("three")); //$NON-NLS-1$
    map.put(b4.getClass(), new SimplePage("four")); //$NON-NLS-1$
   
    Workflow workflow = new Workflow();
    workflow.setStates(states);
   
    Workflow bworkflow = new Workflow();
    bworkflow.setStates(bstates);
   
    Workflow mworkflow = new Workflow();
    mworkflow.setStates(states);
   
    wizard = new WorkflowWizard(workflow, map);
    bwizard = new WorkflowWizard(bworkflow, map);
    mwizard = new MyDataPipelineWizard(mworkflow,map);
   
View Full Code Here

        State workflowState = getState();
        Object context = null;
        if (workflowState != null) {
            // gak!
            String name = workflowState.getName();
            Workflow workflow = workflowState.getWorkflow();
            context = workflow.getContext();
        }
        Map<String, Serializable> params = getParams();
        CatalogImportWizard importWizard = getWizard();

        DataAccessFactory factory = getPreviousPage().getFactory();
View Full Code Here

        dialog.setBlockOnOpen(true);
    }

    protected void initWorkflow() {
        Workflow workflow = createWorkflow();
        Map<Class<? extends State>, WorkflowWizardPageProvider> map = createPageMapping();
        wizard = createWorkflowWizard(workflow,map);
    }  
View Full Code Here

TOP

Related Classes of org.locationtech.udig.catalog.ui.workflow.Workflow$WorkflowRunner

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.