Exemple #1
0
 @Override
 public void close() {
   super.close();
   for (Iterator<NuclosEntityAbstractStep> it = getModel().stepIterator(); it.hasNext(); ) {
     final NuclosEntityAbstractStep step = it.next();
     step.close();
   }
 }
Exemple #2
0
  public CreateRoleWizard(Category category) {
    setLayout(new BorderLayout());

    wizardModel = new CreateRoleWizardModel(category);
    wizard = new Wizard(wizardModel);
    wizard.addWizardListener(
        new WizardListener() {
          @Override
          public void wizardCancelled(WizardEvent e) {
            backAction.actionPerformed(null);
          }

          @Override
          public void wizardClosed(WizardEvent e) {
            backAction.actionPerformed(null);
          }
        });
    add(wizard, BorderLayout.CENTER);
  }
Exemple #3
0
 @Override
 public void cancel() {
   super.cancel();
   close();
 }