Package org.gudy.azureus2.plugins.update

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


      }
    });

    de_menu_item = menu_manager.addMenuItem(parentID, "device.show");

    de_menu_item.addListener(show_listener);
    de_menu_item.addFillListener(show_fill_listener);

    // simple

    de_menu_item = menu_manager.addMenuItem(parentID, "devices.sidebar.simple");
View Full Code Here


        menu.setData(COConfigurationManager.getIntParameter(CONFIG_VIEW_TYPE,
            SBV_SIMPLE) == SBV_SIMPLE);
      }
    });

    de_menu_item.addListener(new MenuItemListener() {
      public void selected(MenuItem menu, Object target) {
        COConfigurationManager.setParameter(CONFIG_VIEW_TYPE,
            ((Boolean) menu.getData()) ? SBV_SIMPLE : SBV_FULL);
      }
    });
View Full Code Here

    // options

    de_menu_item = menu_manager.addMenuItem(parentID, "MainWindow.menu.view.configuration");

    de_menu_item.addListener(new MenuItemListener() {
      public void selected(MenuItem menu, Object target) {
        UIFunctions uif = UIFunctionsManager.getUIFunctions();

        if (uif != null) {
View Full Code Here

    });

    if (Constants.isCVSVersion()) {
      de_menu_item = menu_manager.addMenuItem(parentID, "!(CVS Only)Show FTUX!");

      de_menu_item.addListener(new MenuItemListener() {
        public void selected(MenuItem menu, Object target) {
          DevicesFTUX.showForDebug();
        }
      });
View Full Code Here

       
        need_sep = true;
       
        MenuItem explore_menu_item = menu_manager.addMenuItem("sidebar." + key, "v3.menu.device.exploreTranscodes");
       
        explore_menu_item.addListener(new MenuItemListener() {
          public void selected(MenuItem menu, Object target) {
             ManagerUtils.open( ((TranscodeTarget) device).getWorkingDirectory());
          }
        });
      }
View Full Code Here

          filterfiles_menu_item.addFillListener(new MenuItemFillListener() {
            public void menuWillBeShown(MenuItem menu, Object data) {
              menu.setData(new Boolean(renderer.getFilterFilesView()));
            }
          });
          filterfiles_menu_item.addListener(new MenuItemListener() {
            public void selected(MenuItem menu, Object target) {
               renderer.setFilterFilesView( (Boolean) menu.getData());
            }
          });
        }
View Full Code Here

          showcat_menu_item.addFillListener(new MenuItemFillListener() {
            public void menuWillBeShown(MenuItem menu, Object data) {
              menu.setData(new Boolean(renderer.getShowCategories()));
            }
          });
          showcat_menu_item.addListener(new MenuItemListener() {
            public void selected(MenuItem menu, Object target) {
               renderer.setShowCategories( (Boolean) menu.getData());
            }
          });
        }
View Full Code Here

        alwayscache_menu_item.addFillListener(new MenuItemFillListener() {
          public void menuWillBeShown(MenuItem menu, Object data) {
            menu.setData(new Boolean(renderer.getAlwaysCacheFiles()));
          }
        });
        alwayscache_menu_item.addListener(new MenuItemListener() {
          public void selected(MenuItem menu, Object target) {
             renderer.setAlwaysCacheFiles( (Boolean) menu.getData());
          }
        });
       
View Full Code Here

          autocopy_menu_item.addFillListener(new MenuItemFillListener() {
            public void menuWillBeShown(MenuItem menu, Object data) {
              menu.setData(new Boolean(renderer.getAutoCopyToFolder()));
            }
          });
          autocopy_menu_item.addListener(new MenuItemListener() {
            public void selected(MenuItem menu, Object target) {
               renderer.setAutoCopyToFolder((Boolean) menu.getData());
            }
          });
         
View Full Code Here

          });
         
          final MenuItem mancopy_menu_item = menu_manager.addMenuItem("sidebar." + key, "devices.xcode.mancopy");
          mancopy_menu_item.setStyle(MenuItem.STYLE_PUSH);
         
          mancopy_menu_item.addListener(new MenuItemListener() {
            public void
            selected(
                MenuItem menu, Object target)
            {
              try{
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.