Examples of PresetNameValidator


Examples of org.jampa.model.validators.PresetNameValidator

  private void savePreset() {
    InputDialog dialog = new InputDialog(_shell,
        Messages.getString("EqualizerView.PresetTitle"), //$NON-NLS-1$
        Messages.getString("EqualizerView.PresetQuestion"), //$NON-NLS-1$
        Messages.getString("EqualizerView.PresetDefaultName"), //$NON-NLS-1$
        new PresetNameValidator()); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$

    int result = dialog.open();

    if (result == InputDialog.OK) {
      Controller.getInstance().getEqualizerController().addPreset(dialog.getValue(),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.