Package liveplugin.toolwindow.util

Examples of liveplugin.toolwindow.util.ExamplePluginInstaller


  private final String pluginId;
  private final ExamplePluginInstaller examplePluginInstaller;

  public AddExamplePluginAction(String pluginPath, List<String> sampleFiles) {
    examplePluginInstaller = new ExamplePluginInstaller(pluginPath, sampleFiles);
    pluginId = ExamplePluginInstaller.extractPluginIdFrom(pluginPath);

    getTemplatePresentation().setText(pluginId);
  }
View Full Code Here


      }
    });
  }

  private static void installHelloWorldPlugin() {
    ExamplePluginInstaller pluginInstaller = new ExamplePluginInstaller(PLUGIN_EXAMPLES_PATH + "/helloWorld", asList("plugin.groovy"));
    pluginInstaller.installPlugin(new ExamplePluginInstaller.Listener() {
      @Override public void onException(Exception e, String pluginPath) {
        LOG.warn("Failed to install plugin: " + pluginPath, e);
      }
    });
  }
View Full Code Here

TOP

Related Classes of liveplugin.toolwindow.util.ExamplePluginInstaller

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.