Package org.eclim.plugin.core.preference

Examples of org.eclim.plugin.core.preference.Option


    Preferences.addOptionHandler("com.android.ide.eclipse.adt", new OptionHandler());
    ProjectNatureFactory.addNature("android", NATURE);
    ProjectManagement.addProjectManager(NATURE, new AndroidProjectManager());

    Preferences preferences = Preferences.getInstance();
    Option option = new Option();
    option.setNature(NATURE);
    option.setPath("Android");
    option.setName(AdtPrefs.PREFS_SDK_DIR);
    option.setValidator(new SdkValidator());
    preferences.addOption(option);

    String sdkLocation = AdtPrefs.getPrefs().getOsSdkFolder();
    if (sdkLocation == null || sdkLocation.length() == 0){
      logger.warn("Android SDK Location not set.");
View Full Code Here

TOP

Related Classes of org.eclim.plugin.core.preference.Option

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.