Package org.gudy.azureus2.plugins

Examples of org.gudy.azureus2.plugins.PluginInterface.addListener()


          //browserSkinObject.restart();
        }
      });

      menuItem = menuManager.addMenuItem(parent, "Tux RPC Test");
      menuItem.addListener(new MenuItemListener() {
        public void selected(MenuItem menu, Object target) {
          browserSkinObject.setURL("c:\\test\\BrowserMessaging.html");
        }
      });
View Full Code Here


          browserSkinObject.setURL("c:\\test\\BrowserMessaging.html");
        }
      });

      menuItem = menuManager.addMenuItem(parent, "URL..");
      menuItem.addListener(new MenuItemListener() {
        public void selected(MenuItem menu, Object target) {
          SimpleTextEntryWindow entryWindow = new SimpleTextEntryWindow("", "!URL!");
          entryWindow.prompt(new UIInputReceiverListener() {
            public void UIInputReceiverClosed(UIInputReceiver entryWindow) {
              if (entryWindow.hasSubmittedInput()) {
View Full Code Here

        }
      });

      if (contentNetwork != ConstantsVuze.getDefaultContentNetwork()) {
        menuItem = menuManager.addMenuItem(parent, "Remove HD Network");
        menuItem.addListener(new MenuItemListener() {
          public void selected(MenuItem menu, Object target) {
            if (mdi != null) {
              MdiEntry entry = mdi.getEntryBySkinView(Browse.this);
              if (entry != null) {
                entry.removeListener(Browse.this);
View Full Code Here

            contentNetwork.remove();
          }
        });

        menuItem = menuManager.addMenuItem(parent, "Reset IP Flag && Close");
        menuItem.addListener(new MenuItemListener() {
          public void selected(MenuItem menu, Object target) {
            contentNetwork.setPersistentProperty(
                ContentNetwork.PP_AUTH_PAGE_SHOWN, Boolean.FALSE);
            if (mdi != null) {
              MdiEntry entry = mdi.getEntryBySkinView(Browse.this);
View Full Code Here

    MenuManager menuManager = uim.getMenuManager();

    MenuItem menuItem = menuManager.addMenuItem("sidebar."
        + MultipleDocumentInterface.SIDEBAR_SECTION_ACTIVITIES,
        "v3.activity.button.readall");
    menuItem.addListener(new MenuItemListener() {
      public void selected(MenuItem menu, Object target) {
        VuzeActivitiesEntry[] allEntries = VuzeActivitiesManager.getAllEntries();
        for (int i = 0; i < allEntries.length; i++) {
          VuzeActivitiesEntry entry = allEntries[i];
          entry.setRead(true);
View Full Code Here

    if (Constants.isCVSVersion()) {
      menuItem = menuManager.addMenuItem("sidebar."
          + MultipleDocumentInterface.SIDEBAR_SECTION_ACTIVITIES,
          "!test update expiry!");
      menuItem.addListener(new MenuItemListener() {
        public void selected(MenuItem menu, Object target) {
          FeatureManagerUIListener.buildNotifications();
        }
      });
    }
View Full Code Here

              if ( true || engine.getSource() != Engine.ENGINE_SOURCE_VUZE ){
               
                MenuItem mi = menuManager.addMenuItem( engine_menu, "MyTorrentsView.menu.exportmenu" );

                mi.addListener(
                  new MenuItemListener()
                  {
                    public void
                    selected(
                      MenuItem menu,
View Full Code Here

             
              if ( Constants.IS_CVS_VERSION ){
               
                MenuItem copy_mi = menuManager.addMenuItem( engine_menu, "ConfigView.copy.to.clipboard.tooltip" );
 
                copy_mi.addListener(
                  new MenuItemListener()
                  {
                    public void
                    selected(
                      MenuItem menu,
View Full Code Here

                 
                  if ( cookies != null && cookies.length() > 0 ){
                   
                    MenuItem mi = menuManager.addMenuItem( engine_menu, "Subscription.menu.resetauth" );

                    mi.addListener(
                      new MenuItemListener()
                      {
                        public void
                        selected(
                          MenuItem menu,
View Full Code Here

                mi.setStyle( MenuItem.STYLE_SEPARATOR );
              }
             
              MenuItem mi = menuManager.addMenuItem( engine_menu, "Subscription.menu.properties" );

              mi.addListener(
                new MenuItemListener()
                {
                  public void
                  selected(
                    MenuItem menu,
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.