Package org.eclipse.php.internal.debug.core.pathmapper.PathMapper

Examples of org.eclipse.php.internal.debug.core.pathmapper.PathMapper.Mapping


      btn.setEnabled(false);
    }
  }

  protected void validate() {
    Mapping mapping = new Mapping();

    String remotePathStr = fRemotePathText.getText().trim();
    if (remotePathStr.length() == 0) {
      setError(Messages.PathMapperEntryDialog_9);
      return;
View Full Code Here


  }

  protected void handleAdd() {
    PathMapperEntryDialog dialog = new PathMapperEntryDialog(getShell());
    if (dialog.open() == Window.OK) {
      Mapping mapping = dialog.getResult();
      fMapList.addElement(mapping);
    }
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  protected void handleEdit() {
    List l = fMapList.getSelectedElements();
    if (l.size() == 1) {
      Mapping oldElement = (Mapping) l.get(0);
      PathMapperEntryDialog dialog = new PathMapperEntryDialog(
          getShell(), oldElement);
      if (dialog.open() == Window.OK) {
        Mapping newElement = dialog.getResult();
        fMapList.replaceElement(oldElement, newElement);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.debug.core.pathmapper.PathMapper.Mapping

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.