Package net.alteiar.campaign.player.plugin

Examples of net.alteiar.campaign.player.plugin.PluginInfo


    File pluginsDir = new File(HelpersPath.PATH_PLUGIN);

    File[] files = pluginsDir.listFiles();
    for (File pluginDir : files) {
      try {
        PluginInfo plugin = new PluginInfo(pluginDir);
        plugins.add(plugin);
      } catch (IOException e) {
        Logger.getLogger(PanelChooseGameSystem.class).warn(
            "impossible de charger le plugin "
                + pluginDir.getName(), e);
View Full Code Here


    this.add(buttonPanel);
  }

  private void choosePlayer() {
    PluginInfo plugin = gameSystemList.getSelectedValue();

    try {
      PluginSystem.buildPluginSystem(plugin);

      Helpers.getGlobalProperties().setGameSystem(plugin.getName());
      Helpers.getGlobalProperties().save();
      nextState();
    } catch (IOException e) {
      Logger.getLogger(getClass()).error(
          "Impossible de charger le plugin", e);
View Full Code Here

TOP

Related Classes of net.alteiar.campaign.player.plugin.PluginInfo

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.