コード例 #1
0
  public void readSettings(Object settings) {
    wizardDescriptor = (WizardDescriptor) settings;
    panel.read(wizardDescriptor);

    // XXX hack, TemplateWizard in final setTemplateImpl() forces new wizard's title
    // this name is used in NewProjectWizard to modify the title
    Object substitute = ((JComponent) panel).getClientProperty("NewProjectWizard_Title"); // NOI18N
    if (substitute != null)
      wizardDescriptor.putProperty("NewProjectWizard_Title", substitute); // NOI18N
  }
コード例 #2
0
 public void storeSettings(Object settings) {
   WizardDescriptor d = (WizardDescriptor) settings;
   panel.store(d);
   ((WizardDescriptor) d).putProperty("NewProjectWizard_Title", null); // NOI18N
 }
コード例 #3
0
 public boolean isValid() {
   getComponent();
   return panel.valid(wizardDescriptor);
 }
コード例 #4
0
 public HelpCtx getHelp() {
   return new HelpCtx(
       ProjectImportLocationPanel.generateHelpID(
           ProjectImportLocationWizardPanel.class, j2eeModuleType));
 }