Package org.eclipse.debug.ui

Examples of org.eclipse.debug.ui.StringVariableSelectionDialog.open()


    private String getVariable()
    {
        StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(
            getShell());
        dialog.open();
        return dialog.getVariableExpression();
    }

    protected void setDefaultWorkingDir()
    {
View Full Code Here


        {
            public void widgetSelected(SelectionEvent e)
            {
                StringVariableSelectionDialog dialog =
                    new StringVariableSelectionDialog(getShell());
                dialog.open();
                String variable = dialog.getVariableExpression();
                if (variable != null)
                {
                    fPerlArgumentsText.insert(variable);
                }
View Full Code Here

        }
    }

    private void selectVariable() {
        StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(getShell());
        dialog.open();
        String variable = dialog.getVariableExpression();
        if (variable != null) {
            addVariable(variable);
        }
    }
View Full Code Here

    });
    fVariables = createPushButton(standardGroup, LaunchConfigurationsMessages.CommonTab_9, null);
    fVariables.addSelectionListener(new SelectionListener() {
      public void widgetSelected(SelectionEvent e) {
        StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(getShell());
        dialog.open();
        String variable = dialog.getVariableExpression();
        if (variable != null) {
          fFileText.insert(variable);
        }
      }
View Full Code Here

        }
    }

    private void selectVariable() {
        StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(getShell());
        dialog.open();
        String variable = dialog.getVariableExpression();
        if (variable != null) {
            addVariable(variable);
        }
    }
View Full Code Here

       
        public void widgetSelected( final SelectionEvent e ) {
          final StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(
              PlatformUI.getWorkbench().getActiveWorkbenchWindow()
                  .getShell() );
        dialog.open();
          final String var = dialog.getVariableExpression();
        commandText.insert(var);
      }
    });
    button.setText("Variables...");
View Full Code Here

      public void widgetSelected( final SelectionEvent e ) {
        final StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(
            PlatformUI.getWorkbench().getActiveWorkbenchWindow()
            .getShell() );
        dialog.open();
        final String var = dialog.getVariableExpression();
        comp.getTextControl( getFieldEditorParent() ).insert( var );
      }
    } );
    button.setText( "Variables..." );
View Full Code Here

    fPgrmArgVariableButton = SWTFactory.createPushButton(composite, LauncherMessages.VMArgumentsBlock_4, null);
    fPgrmArgVariableButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
    fPgrmArgVariableButton.addSelectionListener(new SelectionListener() {
      public void widgetSelected(SelectionEvent e) {
        StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(getShell());
        dialog.open();
        String variable = dialog.getVariableExpression();
        if (variable != null) {
          fVMArgumentsText.insert(variable);
        }
      }
View Full Code Here

   * Prompts the user to choose and configure a variable and returns
   * the resulting string, suitable to be used as an attribute.
   */
  private String getVariable() {
    StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(getShell());
    dialog.open();
    return dialog.getVariableExpression();
  }
 
  @Override
  public void createControl(Composite parent) {
View Full Code Here

    Button pgrmArgVariableButton = createPushButton(group, buttonLabel, null);
    pgrmArgVariableButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
    pgrmArgVariableButton.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        StringVariableSelectionDialog dialog = new StringVariableSelectionDialog(getShell());
        dialog.open();
        String variable = dialog.getVariableExpression();
        if (variable != null) {
                    fPrgmArgumentsText.insert(variable);
        }
      }
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.