Package org.eclipse.debug.core

Examples of org.eclipse.debug.core.ILaunchConfigurationWorkingCopy.rename()


    try {
      String initialValue = node.getLaunchConfiguration().getName();
      InputDialog dialog = openInputDialog(Message_rename, Message_renameLaunchConfiguration, initialValue, new LaunchConfigurationNameValidator(initialValue));
      if (dialog.getReturnCode() == Window.OK) {
        ILaunchConfigurationWorkingCopy workingCopy = node.getLaunchConfiguration().getWorkingCopy();
        workingCopy.rename(dialog.getValue().trim());
        workingCopy.doSave();
      }
    } catch (CoreException e) {
      openErrorDialog(Message_error, e.getMessage());
    }
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.