setupwizard.java

来自「SANCHO」· Java 代码 · 共 39 行

JAVA
39
字号
/* * Copyright (C) 2004-2005 Rutger M. Ovidius for use with the sancho project. * See LICENSE.txt for license information. */package sancho.view.utility.setupWizard;import org.eclipse.jface.wizard.Wizard;import sancho.view.preferences.PreferenceLoader;import sancho.view.utility.SResources;public class SetupWizard extends Wizard {  private HostPage hostPage;  private CoreBinaryPage coreBinaryPage;  public SetupWizard() {    super();    setWindowTitle(SResources.getString("hm.setupTitle"));    hostPage = new SSHHostPage();    coreBinaryPage = new CoreBinaryPage();  }  public boolean performFinish() {    hostPage.saveData();    coreBinaryPage.saveData();    ((SetupWizardDialog) getContainer()).setNum(hostPage.getNum());    return true;  }  public void addPages() {    if (!PreferenceLoader.loadBoolean("initialized")) {      addPage(new WelcomePage());      addPage(coreBinaryPage);    }    addPage(hostPage);  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?