Package org.jampa.model.validators

Examples of org.jampa.model.validators.PodcastNameValidator


  public PodcastPropertiesDialog(Shell parentShell, Podcast item) {
    super(parentShell);
    _item = item;
    _initialName = _item.getName();
    _initialUrl = _item.getUrl();
    _nameValidator = new PodcastNameValidator();
  }
View Full Code Here


  protected PodcastAdderPage() {
    super("PodcastAdderWizard"); //$NON-NLS-1$
    setTitle(Messages.getString("PodcastAdderWizard.Title")); //$NON-NLS-1$
    setDescription(Messages.getString("PodcastAdderWizard.IntroText")); //$NON-NLS-1$
   
    nameValidator = new PodcastNameValidator();
  }
View Full Code Here

        Object obj = ((IStructuredSelection)selection).getFirstElement();
       
        if (obj != null) {
          String oldName = ((Podcast) obj).getName();
          InputDialog dialog = new InputDialog(_parent.getShell(),
              Messages.getString("PodcastListView.RenameDialogTitle"), Messages.getString("PodcastListView.RenameDialogQuestion"), oldName, new PodcastNameValidator()); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$

          int result = dialog.open();

          if (result == InputDialog.OK) {
            ApplicationUtils.closeViewByID(PodcastView.ID, oldName);
View Full Code Here

TOP

Related Classes of org.jampa.model.validators.PodcastNameValidator

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.