Package org.eclipse.dltk.ui.environment

Examples of org.eclipse.dltk.ui.environment.IEnvironmentUI


  }

  @Override
  public void changeControlPressed(DialogField field) {
    IEnvironment environment = this.composerProjectWizardFirstPage.getEnvironment();
    IEnvironmentUI environmentUI = (IEnvironmentUI) environment.getAdapter(IEnvironmentUI.class);
    if (environmentUI != null) {
      String selectedDirectory = environmentUI.selectFolder(this.composerProjectWizardFirstPage.getShell());

      if (selectedDirectory != null) {
        DLTKUIPlugin.getDefault().getDialogSettings().put(DIALOGSTORE_LAST_EXTERNAL_LOC, selectedDirectory);
      }
    }
View Full Code Here


    return environments[localEnv];
  }

  public void changeControlPressed(DialogField field) {
    IEnvironment environment = getEnvironment();
    IEnvironmentUI environmentUI = (IEnvironmentUI) environment
        .getAdapter(IEnvironmentUI.class);
    if (environmentUI != null) {
      String selectedDirectory = environmentUI.selectFolder(shell);

      if (selectedDirectory != null) {
        fLocation.setText(selectedDirectory);
        DLTKUIPlugin.getDefault().getDialogSettings()
            .put(DIALOGSTORE_LAST_EXTERNAL_LOC, selectedDirectory);
View Full Code Here

      fireEvent();
    }

    public void changeControlPressed(DialogField field) {
      IEnvironment environment = getEnvironment();
      IEnvironmentUI environmentUI = (IEnvironmentUI) environment
          .getAdapter(IEnvironmentUI.class);
      if (environmentUI != null) {
        String selectedDirectory = environmentUI
            .selectFolder(getShell());

        if (selectedDirectory != null) {
          // fLocation.setText(selectedDirectory);
          DLTKUIPlugin
View Full Code Here

    return environments[localEnv];
  }

  public void changeControlPressed(DialogField field) {
    IEnvironment environment = getEnvironment();
    IEnvironmentUI environmentUI = (IEnvironmentUI) environment
        .getAdapter(IEnvironmentUI.class);
    if (environmentUI != null) {
      String selectedDirectory = environmentUI.selectFolder(shell);

      if (selectedDirectory != null) {
        fLocation.setText(selectedDirectory);
        DLTKUIPlugin.getDefault().getDialogSettings()
            .put(DIALOGSTORE_LAST_EXTERNAL_LOC, selectedDirectory);
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.ui.environment.IEnvironmentUI

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.