Package org.eclipse.debug.internal.ui

Examples of org.eclipse.debug.internal.ui.MultipleInputDialog.open()


  protected void handleEnvAddButtonSelected() {
    MultipleInputDialog dialog = new MultipleInputDialog(getShell(), LaunchConfigurationsMessages.EnvironmentTab_22);
    dialog.addTextField(NAME_LABEL, null, false);
    dialog.addVariablesField(VALUE_LABEL, null, true);
   
    if (dialog.open() != Window.OK) {
      return;
    }
   
    String name = dialog.getStringValue(NAME_LABEL);
    String value = dialog.getStringValue(VALUE_LABEL);
View Full Code Here


    String value= var.getValue();
    MultipleInputDialog dialog= new MultipleInputDialog(getShell(), LaunchConfigurationsMessages.EnvironmentTab_11);
    dialog.addTextField(NAME_LABEL, originalName, false);
    dialog.addVariablesField(VALUE_LABEL, value, true);
   
    if (dialog.open() != Window.OK) {
      return;
    }
    String name= dialog.getStringValue(NAME_LABEL);
    value= dialog.getStringValue(VALUE_LABEL);
    if (!originalName.equals(name)) {
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.