Package org.jampa.gui.wizard.radioadder

Examples of org.jampa.gui.wizard.radioadder.RadioAdderWizard


    _shell = shell;
    _itemParent = itemParent;
  }
 
  public void run() {
    RadioAdderWizard wizard = new RadioAdderWizard(_itemParent);
   
    WizardDialog wizardDialog = new WizardDialog(_shell, wizard);
    wizardDialog.setPageSize(500, 100);
   
    if (wizardDialog.open() == Dialog.OK) {
      Log.getInstance(NewRadioAction.class).debug("Adding radio " + wizard.getRadioName() + " (" + wizard.getRadioUrl() + ") in category " + wizard.getCategoryName() + "."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
     
      Controller.getInstance().getRadioController().addRadio(wizard.getCategoryName(), wizard.getRadioName(), wizard.getRadioUrl());
      Controller.getInstance().getEventController().fireRadioChange(EventConstants.EVT_RADIO_ADD, null, null);
    }
  }
View Full Code Here

TOP

Related Classes of org.jampa.gui.wizard.radioadder.RadioAdderWizard

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.