Package org.gudy.azureus2.plugins.update

Examples of org.gudy.azureus2.plugins.update.UpdateManager.addListener()


                //Not used   
            }
        };
   

        dm.addListener(dml);
   
}  
   
    /**
     * Writes to the user defined file a message with the following two parameters
View Full Code Here


       
       
        DownloadManager dm = pluginInterface.getDownloadManager();
        //final TorrentAttribute ta = pluginInterface.getTorrentManager().getAttribute(TorrentAttribute.TA_CATEGORY);
       
        dm.addListener(
            new DownloadManagerListener()
            {                   
              public void downloadAdded(Download dl) {
                if (!dl.isComplete())  //add only if the download isn't already complete
                  dl.addListener(AzCatDestDownloadListener.getInstance()); //attach DownloadListener                       
View Full Code Here

          }


        }
      };
      dm.addListener(
          new DownloadManagerListener()
          {
            public void
            downloadAdded(
                final Download  download )
View Full Code Here

                 
                  error.printStackTrace( ci.out );
                }
              };
             
            channel.addListener( l );
           
            channel_listener_map.put( name, new Object[]{ channel, l });
           
            ci.out.println( "> Channel '" + name + "' on" );
          }
View Full Code Here

                  }
                },
                "test", block_crypto );
            }
           
            con.addListener(
              new GenericMessageConnectionListener()
              {
                public void
                connected(
                  GenericMessageConnection  connection )
View Full Code Here

      param_view.setEnabled( false );
    }
   
    final ActionParameter ap = configModel.addActionParameter2( "pairing.ac.getnew", "pairing.ac.getnew.create" );
   
    ap.addListener(
      new ParameterListener()
      {
        public void
        parameterChanged(
          Parameter   param )
View Full Code Here

   
    final BooleanParameter te = _config.addBooleanParameter2("azbuddy.tracker.enabled", "azbuddy.tracker.enabled", true );
   
    tracker_enabled = te.getValue();
   
    te.addListener(
      new ParameterListener()
      {
        public void
        parameterChanged(
          Parameter param )
View Full Code Here

            MenuManager menuManager = PluginInitializer.getDefaultInterface().getUIManager().getMenuManager();
            MenuItem menuHide = menuManager.addMenuItem("Sidebar." +
                MultipleDocumentInterface.SIDEBAR_SECTION_BURN_INFO,
                "popup.error.hide");
            menuHide.addListener(new MenuItemListener() {
              public void selected(MenuItem menu, Object target) {
                mdi.closeEntry(MultipleDocumentInterface.SIDEBAR_SECTION_BURN_INFO);
              }
            });
View Full Code Here

    String menuID = "sidebar."
        + ContentNetworkUtils.getTarget(contentNetwork);
   
    MenuItem item = menuManager.addMenuItem(menuID, "Button.reload");
    item.addListener(new MenuItemListener() {
      public void selected(MenuItem menu, Object target) {
        browserSkinObject.refresh();
      }
    });
   
View Full Code Here

      MenuItem parent = menuManager.addMenuItem(menuID, "CVS Only");
      parent.setStyle(MenuItem.STYLE_MENU);
     
     
      MenuItem menuItem = menuManager.addMenuItem(parent, "Button.reset");
      menuItem.addListener(new MenuItemListener() {
        public void selected(MenuItem menu, Object target) {
          browserSkinObject.getContext().executeInBrowser("sendMessage('display','reset-url', {});");
          //browserSkinObject.restart();
        }
      });
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.