Examples of PluginListener


Examples of de.beimax.simplespleef.listeners.PluginListener

    // Prepare listeners
    PluginManager pm = getServer().getPluginManager();
   
    // add listener for other plugins
    pm.registerEvents(new PluginListener(), this);
    // Register our events
    pm.registerEvents(gameHandler, this);
    pm.registerEvents(new UpdateChecker(), this); // check updates
    pm.registerEvents(new SimpleSpleefSignCommandExecutor(), this); // check sign actions
    pm.registerEvents(new SimpleSpleefCommandWhitelist(), this); // check command whitelist
View Full Code Here

Examples of org.apache.log4j.plugins.PluginListener

      });
  }

  private void initPlugins(PluginRegistry pluginRegistry) {
    pluginRegistry.addPluginListener(
      new PluginListener() {
        public void pluginStarted(PluginEvent e) {
          if (e.getPlugin() instanceof JComponent) {
            JComponent plugin = (JComponent) e.getPlugin();
            getTabbedPane().addANewTab(plugin.getName(), plugin, null, null);
          }
View Full Code Here

Examples of org.apache.log4j.plugins.PluginListener

    startTutorial.addPropertyChangeListener(pcl);
    stopTutorial.addPropertyChangeListener(pcl);

    pluginRegistry.addPluginListener(
      new PluginListener() {
        public void pluginStarted(PluginEvent e) {
        }

        public void pluginStopped(PluginEvent e) {
          List list = pluginRegistry.getPlugins(Generator.class);
View Full Code Here

Examples of org.apache.log4j.plugins.PluginListener

          MessageCenter.getInstance().getLogger().info(
            "Connection lost! :: " + e.getMessage());
        }
      };

    PluginListener pluginListener =
      new PluginListener() {
        public void pluginStarted(PluginEvent e) {
          MessageCenter.getInstance().getLogger().info(
            e.getPlugin().getName() + " started!");

          Method method = getAddListenerMethod(e.getPlugin());
View Full Code Here

Examples of org.apache.log4j.plugins.PluginListener

      });
  }

  private void initPlugins(PluginRegistry pluginRegistry) {
    pluginRegistry.addPluginListener(
      new PluginListener() {
        public void pluginStarted(PluginEvent e) {
          if (e.getPlugin() instanceof JComponent) {
            JComponent plugin = (JComponent) e.getPlugin();
            getTabbedPane().addANewTab(plugin.getName(), plugin, null, null);
          }
View Full Code Here

Examples of org.apache.log4j.plugins.PluginListener

    startTutorial.addPropertyChangeListener(pcl);
    stopTutorial.addPropertyChangeListener(pcl);

    pluginRegistry.addPluginListener(
      new PluginListener() {
        public void pluginStarted(PluginEvent e) {
        }

        public void pluginStopped(PluginEvent e) {
          List list = pluginRegistry.getPlugins(Generator.class);
View Full Code Here

Examples of org.apache.log4j.plugins.PluginListener

          MessageCenter.getInstance().getLogger().info(
            "Connection lost! :: " + e.getMessage());
        }
      };

    PluginListener pluginListener =
      new PluginListener() {
        public void pluginStarted(PluginEvent e) {
          MessageCenter.getInstance().getLogger().info(
            e.getPlugin().getName() + " started!");

          Method method = getAddListenerMethod(e.getPlugin());
View Full Code Here

Examples of org.getspout.spout.listeners.PluginListener

    }
    if (!hardDisable) {
      playerListener = new SpoutPlayerListener(this);
      chunkListener = new SpoutWorldListener(this);
      chunkMonitorListener = new SpoutWorldMonitorListener(this);
      pluginListener = new PluginListener(this);
      entityListener = new SpoutEntityListener(this);
      blockMonitor = new SpoutCustomBlockMonitor(this);
      blockListener = new SpoutBlockListener(this);
      invListener = new InventoryListener(this);
View Full Code Here

Examples of org.gudy.azureus2.plugins.PluginListener

    PluginInterface _pi )
  { 
    plugin_interface  = _pi;
   
    plugin_interface.addListener(
        new PluginListener()
        {
          public void
          initializationComplete()
          {
            Thread  t  =
View Full Code Here

Examples of org.gudy.azureus2.plugins.PluginListener

    plugin_interface = PluginInitializer.getDefaultInterface();
   
    ta_category = plugin_interface.getTorrentManager().getAttribute( TorrentAttribute.TA_CATEGORY );
   
    plugin_interface.addListener(
        new PluginListener()
        {
          public void
          initializationComplete()
          {
              // startup can take a while as adding the upnp listener can sync call back device added and result
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.