コード例 #1
0
ファイル: ImportScreen.java プロジェクト: GTsiliki/chipster
  /**
   * Goes to the second import step. Calls methods which initialized the table and other components
   * for the second step.
   */
  private void gotoSecondStep() {
    // This should be first to get updates right
    currentStep = Step.SECOND;

    // Order is siqnificant in avoiding nullPointers
    tableFrame.initializeSecondStep();
    toolsFrame.initializeSecondStep();

    backButton.setEnabled(true);
    nextButton.setEnabled(false);
    finishButton.setEnabled(true);
  }
コード例 #2
0
ファイル: ImportScreen.java プロジェクト: GTsiliki/chipster
  /**
   * Goes to the first import step. Calls methods which initialized the table and other components
   * for the first step.
   */
  private void gotoFirstStep() {
    // This should be first to get updates right
    currentStep = Step.FIRST;

    // Removes the internal frames while updating
    this.getFrame().remove(tableFrame);
    this.getFrame().remove(toolsFrame);

    // Order is siqnificant in avoiding nullPointers
    tableFrame.initializeFirstStep();
    toolsFrame.initializeFirstStep();

    backButton.setEnabled(false);
    nextButton.setEnabled(true);
    finishButton.setEnabled(false);
  }