Package org.eclipse.php.internal.ui.preferences.util

Examples of org.eclipse.php.internal.ui.preferences.util.PreferencesSupport


  @Override
  public Environment getEnvironment(IProject project) {

    IPreferenceStore store = getPreferenceStore();
    PreferencesSupport prefSupport = new PreferencesSupport(getPluginId(), store);
    String executable = prefSupport.getPreferencesValue(getExecutableKey(), null, project);
    String useProjectPhar = prefSupport.getPreferencesValue(getUseProjectKey(), null, project);
    String systemPhar = prefSupport.getPreferencesValue(getScriptKey(), null, project);
   
    if (executable == null || executable.isEmpty()) {
      // the user has not set any preference for PHP executable yet,
      // so try finding any PHP executable, e.g. contributed via the
      // phpExe extension point
View Full Code Here


    nameGroup.notifyObservers();
    projectTemplateValidator = new Validator(this) {
      @Override
      protected void finishValidation() throws ValidationException {
        IPreferenceStore store = ComposerPlugin.getDefault().getPreferenceStore();
        PreferencesSupport prefSupport = new PreferencesSupport(ComposerPlugin.ID, store);
        String executable = prefSupport.getPreferencesValue(Keys.PHP_EXECUTABLE, null, null);
       
        if (executable == null || executable.isEmpty()) {
          // the user has not set any preference for PHP executable yet,
          // so try finding any PHP executable, e.g. contributed via the
          // phpExe extension point
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.preferences.util.PreferencesSupport

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.