Package net.geco.control

Examples of net.geco.control.GecoControl


    window = new GecoWindow(this);
  }
 
  public void startup(GecoStageLaunch stageLaunch) throws Exception {
    AppBuilder builder = stageLaunch.getAppBuilder();
    GecoControl gecoControl = new GecoControl(builder);
    history.remove(stageLaunch);
    history.addFirst(stageLaunch);
    gecoControl.openStage(stageLaunch.getStageDir());
    initControls(builder, gecoControl);
    window.initAndLaunchGUI(builder);
    System.gc();
  }
View Full Code Here


  public static void main(String[] args) {
    new GecoPools().run(args[0]);
  }
 
  public void run(String baseDir) {
    gecoControl = new GecoControl(baseDir);
    try {
      importStages(Util.readLines(StageBuilder.filepath(baseDir, "pools.prop"))); //$NON-NLS-1$
      mergePools();
      gecoControl.saveCurrentStage();
      exportMergedResults();
View Full Code Here

    gecows.guiLaunch();
    gecows.runnersTable.getSelectionModel().setSelectionInterval(0, 0);
  }

  public GecoWebStart() {
    gecoControl = new GecoControl("", false); //$NON-NLS-1$
    liveComponent = new LiveComponent();
  }
View Full Code Here

    if( startDir==null ){
      System.out.println("Bye bye!");
      System.exit(0);
    }

    gecoControl = new GecoControl();
    gecoControl.openStage(startDir);
    liveComponent = new LiveComponent();
  }
View Full Code Here

  @Before
  public void setUp(){
    registry = Mockito.mock(Registry.class);
    Stage stage = Mockito.mock(Stage.class);
    GecoControl gecoControl = Mockito.mock(GecoControl.class);
    Mockito.when(gecoControl.stage()).thenReturn(stage);
    Mockito.when(stage.registry()).thenReturn(registry);
    runnerControl = new RunnerControl(gecoControl);   
  }
View Full Code Here

  }

 
  @Test
  public void gecoControlInitialization(){
    GecoControl geco = new GecoControl(mockBuilder);
    verify(mockBuilder, times(1)).getFactory();
    verify(mockBuilder, times(1)).createStageBuilder();
    verify(mockBuilder, times(1)).createChecker(geco);
  }
View Full Code Here

  /**
   * @throws java.lang.Exception
   */
  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    GecoControl belfieldGeco = new GecoControl("testData/belfield");
    belfieldStage = belfieldGeco.stage();
    belfieldResultBuilder = new ResultBuilder(belfieldGeco);
   
    GecoControl mullaghmeenGeco = new GecoControl("testData/mullaghmeen");
    mullaghmeenStage = mullaghmeenGeco.stage();
    mullaghmeenResultBuilder = new ResultBuilder(mullaghmeenGeco);

  }
View Full Code Here

TOP

Related Classes of net.geco.control.GecoControl

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.