Package org.eclipse.php.internal.ui.util

Examples of org.eclipse.php.internal.ui.util.StatusInfo


    // IStatus[] { fTaskTagsStatus });
    fContext.statusChanged(status);
  }

  private IStatus validateTaskTags() {
    return new StatusInfo();
  }
View Full Code Here


      fServersList.selectFirstElement();
    } else {
      fServersList.enableButton(IDX_EDIT, false);
    }

    fServersStatus = new StatusInfo();

    GridLayout layout = new GridLayout();
    layout.marginHeight = 0;
    layout.marginWidth = 0;
    layout.numColumns = 2;
View Full Code Here

   * @seeorg.eclipse.search.ui.ISearchQuery#run(org.eclipse.core.runtime.
   * IProgressMonitor)
   */
  public IStatus run(IProgressMonitor monitor) {
    if (fFinder == null) {
      return new StatusInfo(IStatus.ERROR,
          org.eclipse.php.internal.ui.search.Messages.OccurrencesSearchQuery_0);
    }
    if (monitor == null)
      monitor = new NullProgressMonitor();

View Full Code Here

  public IStatus checkSyntax() {
    IConfigurationElement[] children = fConfigurationElement
        .getChildren(ExpressionTagNames.ENABLEMENT);
    if (children.length > 1) {
      String id = fConfigurationElement.getAttribute(ID);
      return new StatusInfo(IStatus.ERROR,
          Messages.ContributedProcessorDescriptor_4 + id);
    }
    return new StatusInfo(IStatus.OK,
        Messages.ContributedProcessorDescriptor_5);
  }
View Full Code Here

      IStructuredSelection selection = (IStructuredSelection) fViewer
          .getSelection();
      Object element = selection.getFirstElement();
      // TODO: buildpath entry selection
      if (element == null/* || element instanceof IncludeNode */) {
        updateStatus(new StatusInfo(IStatus.ERROR, "")); //$NON-NLS-1$
        return;
      }
      selectedElement = element;
      updateStatus(Status.OK_STATUS);
    }
View Full Code Here

  }

  IStatus getStatus() {
    if (fStatus == null)
      fStatus = new StatusInfo();
    return fStatus;
  }
View Full Code Here

    text.addModifyListener(new ModifyListener() {
      public void modifyText(ModifyEvent e) {
        validateChange();
        if (!filterValid) {
          updateStatus(new StatusInfo(
              IStatus.ERROR,
              PHPDebugUIMessages.CreateStepFilterDialog_invalidPathPattern));
          return;
        } else if (isDuplicateFilter(text.getText().trim())) {
          updateStatus(new StatusInfo(
              IStatus.ERROR,
              PHPDebugUIMessages.CreateStepFilterDialog_stepFilterAlreadyExists));
          return;
        } else {
          filterValid = true;
          updateStatus(new StatusInfo());
        }
      }
    });

    return container;
View Full Code Here

  public AlreadyExistsDialog(Shell parentShell, CustomProfile profile,
      ProfileManager profileManager) {
    super(parentShell);
    fProfile = profile;
    fProfileManager = profileManager;
    fOk = new StatusInfo();
    fDuplicate = new StatusInfo(
        IStatus.ERROR,
        FormatterMessages.AlreadyExistsDialog_message_profile_already_exists);
    fEmpty = new StatusInfo(
        IStatus.ERROR,
        FormatterMessages.AlreadyExistsDialog_message_profile_name_empty);
  }
View Full Code Here

      ProfileManager manager) {
    super(parentShell);
    fManager = manager;
    setTitle(FormatterMessages.RenameProfileDialog_dialog_title);
    fProfile = profile;
    fOk = new StatusInfo();
    fDuplicate = new StatusInfo(
        IStatus.ERROR,
        FormatterMessages.RenameProfileDialog_status_message_profile_with_this_name_already_exists);
    fEmpty = new StatusInfo(
        IStatus.ERROR,
        FormatterMessages.RenameProfileDialog_status_message_profile_name_empty);
    fNoMessage = new StatusInfo(IStatus.ERROR, new String());
  }
View Full Code Here

    scriptField.getTextControl(null).addModifyListener(new ModifyListener() {
     
      @Override
      public void modifyText(ModifyEvent e) {
        if (!validateScript(scriptField.getText())) {
          StatusInfo info = new StatusInfo(StatusInfo.WARNING, "The selected file is no valid symfony console script.");
          fContext.statusChanged(info);
        }
      }
    });
   
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.util.StatusInfo

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.