예제 #1
0
  @Override
  protected void backPressed() {

    if (wizard.getPreviousPage((IWizardPage) getSelectedPage()) instanceof RefreshableIF)
      ((RefreshableIF) wizard.getPreviousPage((IWizardPage) getSelectedPage())).refresh();

    super.backPressed();
  }
예제 #2
0
  @Override
  protected void nextPressed() {

    //		if (getSelectedPage() instanceof ModelEntryPage) {
    //			wizard.setModel();
    //		}

    if (wizard.getNextPage((IWizardPage) getSelectedPage()) instanceof RefreshableIF)
      ((RefreshableIF) wizard.getNextPage((IWizardPage) getSelectedPage())).refresh();

    super.nextPressed();
  }
예제 #3
0
 public DesignCreatorDataModel getData() {
   return wizard.getDataModel();
 }
예제 #4
0
 public void addImportedFiles(String importedFile) {
   wizard.addImportedFiles(importedFile);
 }
예제 #5
0
  public void setAllowedCellTypes(CellType[] allowedCellTypes) {
    wizard.setAllowedCellTypes(allowedCellTypes);

    if (allowedCellTypes[0] == CellType.CODE) wizard.setType(WIZARD_TYPE.NEW_INSTANCE_CODE);
  }