Examples of PluginManager


Examples of cero.plugin.PluginManager

*
* @author Telem
*/
public class CeroLauncher {
  public static void main(String[] args) {
    PluginManager manager = PluginManager.getInstance();

    // must be created before the game
    //UserInterface launcher1 = manager.getNewUserInterface("Cero incomplete command line interface :P");
   
    //this could work as well with any other interface
    UserInterface launcher2 = manager.getNewUserInterface("Cero Devint interface");

    for (InterfaceModule mod : launcher2.getInterfaceModules())
      launcher2.activateInterfaceModule(mod);

    // UserInterface sound =
View Full Code Here

Examples of ch.rakudave.jnetmap.plugins.PluginManager

 
 
  public Controller(Model mapModel, UI userInterface) {
    setModel(mapModel);
    setUi(userInterface);
    setPluginManager(new PluginManager());
  }
View Full Code Here

Examples of com.ecyrd.jspwiki.plugin.PluginManager

    engine.saveText( "TestPage01", "Some Text for testing 01" );
    engine.saveText( "TestPage02", "Some Text for testing 02" );
    engine.saveText( "TestPage03", "Some Text for testing 03" );

    manager = new PluginManager( engine, props );
}
View Full Code Here

Examples of com.eteks.sweethome3d.plugin.PluginManager

        UserPreferences userPreferences = getUserPreferences();
        if (userPreferences instanceof FileUserPreferences) {
          File [] applicationPluginsFolders = ((FileUserPreferences) userPreferences)
              .getApplicationSubfolders(APPLICATION_PLUGINS_SUB_FOLDER);
          // Create the plug-in manager that will search plug-in files in plugins folders
          this.pluginManager = new PluginManager(applicationPluginsFolders);
        }
      } catch (IOException ex) {
      }
      this.pluginManagerInitialized = true;
    }
View Full Code Here

Examples of com.eteks.sweethome3d.plugin.PluginManager

   */
  protected PluginManager getPluginManager() {
    if (this.pluginManager == null) {
      URL codeBase = this.applet.getCodeBase();
      String pluginURLs = getAppletParameter(this.applet, PLUGIN_URLS_PARAMETER, "");
      this.pluginManager = new PluginManager(getURLs(codeBase, pluginURLs));
    }
    return this.pluginManager;
  }
View Full Code Here

Examples of com.gitblit.manager.PluginManager

  protected ITicketService getService(boolean deleteAll) throws Exception {

    IStoredSettings settings = getSettings(deleteAll);

    IRuntimeManager runtimeManager = new RuntimeManager(settings).start();
    IPluginManager pluginManager = new PluginManager(runtimeManager).start();
    INotificationManager notificationManager = new NotificationManager(settings).start();
    IUserManager userManager = new UserManager(runtimeManager).start();
    IRepositoryManager repositoryManager = new RepositoryManager(runtimeManager, userManager).start();

    RedisTicketService service = new RedisTicketService(
View Full Code Here

Examples of com.valhalla.pluginmanager.PluginManager

                if (!DialogTracker.containsDialog(ChangePasswordDialog.class))
                    new ChangePasswordDialog().setVisible(true);
            } else if (e.getSource() == pluginItem) {
                if (DialogTracker.containsDialog(PluginManager.class))
                    return;
                PluginManager manager = new PluginManager(
                  Settings.getInstance().getProperty("pluginsDownloadMirror"),
                  Settings.getInstance().getProperty("pluginsDownloadScript"),
                  JBother.settingsDir);
                manager.setVisible(true);
            } else if (e.getSource() == consoleItem) {
                String from = resources.getString("xmlConsole");;
                ParsedBuddyInfo info = new ParsedBuddyInfo(from);
                String userId = info.getUserId().toLowerCase();
                final BuddyStatus buddyStatus = BuddyList.getInstance()
View Full Code Here

Examples of com.volantis.osgi.cm.plugin.PluginManager

                "Per Thread Expectations");

        logServiceMock =
                new LogServiceMock("logServiceMock", perThreadExpectations);

        PluginManager pluginManager =
                new PluginManagerImpl(logServiceMock);

        // Add the container for the current thread.
        mainThread = mockFactory.createKnownThreadMatcher("Main thread");
        perThreadExpectations.addThreadSpecificBuilder(
View Full Code Here

Examples of de.kilobyte22.app.kibibyte.plugin.PluginManager

            if (!f.exists())
                f.mkdir();
        }
        eventBus.register(this);
        Logger.setEventBus(eventBus);
        pluginManager = new PluginManager(this);
        config = new Configuration(new File("kibibyte.conf"));
        rehash(null);
        if (crash) {
            logger.log("Crash Option enabled, stopping");
            System.exit(-1);
View Full Code Here

Examples of de.sciss.meloncillo.plugin.PlugInManager

    m = new HashMap( 2 );
    m.put( KEY_CLASSNAME, "de.sciss.meloncillo.transmitter.SimpleTransmitter" );
    m.put( KEY_HUMANREADABLENAME, "Simple Transmitter" );
    collTransmitterTypes.add( m );

    new PlugInManager( this )// singleton
   
    // ---- init prefs ----

    final double prefsVersion = prefs.getDouble( PrefsUtil.KEY_VERSION, 0.0 );
    if( prefsVersion < APP_VERSION ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.