Package org.gudy.azureus2.plugins.update

Examples of org.gudy.azureus2.plugins.update.UpdateCheckInstanceListener


   
    int userMode = COConfigurationManager.getIntParameter("User Mode");
    int maxUsermode = 0;
    try
    {
      ConfigSection sect = sections.get(section);
      if (sect instanceof UISWTConfigSection)
      {
        maxUsermode = ((UISWTConfigSection) sect).maxUserMode();
      }
    } catch (Error e)
View Full Code Here


   
    for (int i=0;i<items.length;i++){
     
      TreeItem  item = items[i];
             
      ConfigSection section = (ConfigSection)item.getData("ConfigSectionSWT");
       
      if ( section != null && section.getClass() == config_section_class ){
         
        tree.setSelection( new TreeItem[]{ item });
       
        showSection( item );
       
View Full Code Here

            && (!(currentContent[0] instanceof ISelectedVuzeFileContent))
            && currentContent[0].getDownloadManager() == null
            && (currentContent[0].getHash() != null || currentContent[0].getDownloadInfo() != null));
 
      if (tv != null) {
        TableColumn tc = tv.getTableColumn(RankItem.COLUMN_ID);
        if (tc != null && !tc.isVisible()) {
          mapNewToolbarStates.put("up", false);
          mapNewToolbarStates.put("down", false);
        }
      }
     
View Full Code Here

    start();
  }

  private void start() {
    for (int i = 0; i < updates.length; i++) {
      Update update = updates[i];
      ResourceDownloader[] rds = update.getDownloaders();
      for (int j = 0; j < rds.length; j++) {
        ResourceDownloader rd = rds[j];
        downloaders.add(rd);
      }
    }
View Full Code Here

  private void allDownloadsComplete() {
    boolean bRequiresRestart = false;
    boolean bHadMandatoryUpdates = false;
   
    for (int i = 0; i < updates.length; i++) {
      Update update = updates[i];
        // updates with no downloaders exist for admin purposes only
      if ( update.getDownloaders().length > 0){
        if (update.getRestartRequired() != Update.RESTART_REQUIRED_NO) {
          bRequiresRestart = true;
        }
        if ( update.isMandatory()){
          bHadMandatoryUpdates = true;
        }
      }
    }
View Full Code Here

        UIFunctionsSWT uiFunctions = UIFunctionsManagerSWT.getUIFunctionsSWT();
        if (uiFunctions != null) {
          uiFunctions.bringToFront();
        }
        UpdateMonitor.getSingleton(core).performCheck(true, false, false,
            new UpdateCheckInstanceListener() {
              public void cancelled(UpdateCheckInstance instance) {
              }

              public void complete(UpdateCheckInstance instance) {
                Update[] updates = instance.getUpdates();
View Full Code Here

      }else if ( beta_enabled && !beta_was_enabled ){
       
        UpdateMonitor.getSingleton(
          AzureusCoreFactory.getSingleton()).performCheck(
            true, false, false,
            new UpdateCheckInstanceListener() {
              public void
              cancelled(
                UpdateCheckInstance instance)
              {
              }
View Full Code Here

    UpdateManager update_manager = azureus_core.getPluginManager().getDefaultPluginInterface().getUpdateManager();
   
    UpdateCheckInstance  checker = update_manager.createUpdateCheckInstance();
   
    checker.addListener(
      new UpdateCheckInstanceListener()
      {
        public void
        cancelled(
          UpdateCheckInstance    instance )
        {
View Full Code Here

       
        return( false );
      }
     
      instance.addListener(
        new UpdateCheckInstanceListener() {

          public void
          cancelled(
            UpdateCheckInstance    instance )
          {
View Full Code Here

       
        return( false );
      }
     
      instance.addListener(
        new UpdateCheckInstanceListener() {

          public void
          cancelled(
            UpdateCheckInstance    instance )
          {             
View Full Code Here

TOP

Related Classes of org.gudy.azureus2.plugins.update.UpdateCheckInstanceListener

Copyright © 2018 www.massapicom. 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.