Examples of openView()


Examples of com.aelitis.azureus.ui.UIFunctions.openView()

  public static MenuItem addStatisticsMenuItem(Menu menu) {
    return addMenuItem(menu, MENU_ID_STATS, new Listener() {
      public void handleEvent(Event e) {
        UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
        if (uiFunctions != null) {
          uiFunctions.openView(UIFunctions.VIEW_STATS, null);
        }
      }
    });
  }
View Full Code Here

Examples of com.aelitis.azureus.ui.UIFunctions.openView()

  public static MenuItem addOptionsMenuItem(Menu menu) {
    return addMenuItem(menu, MENU_ID_OPTIONS, new Listener() {
      public void handleEvent(Event e) {
        UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
        if (uiFunctions != null) {
          uiFunctions.openView(UIFunctions.VIEW_CONFIG, null);
        }
      }
    });
  }
View Full Code Here

Examples of com.aelitis.azureus.ui.UIFunctions.openView()

        DownloadManager dm = core.getGlobalManager().getDownloadManager(
            torrent.getTorrent());
        if (dm != null) {
          UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
          if (uiFunctions != null) {
            uiFunctions.openView(UIFunctions.VIEW_DM_DETAILS, dm);
          }
        }
      }
    });
  }
View Full Code Here

Examples of com.aelitis.azureus.ui.UIFunctions.openView()

      Utils.setMenuItemImage(itemDetails, "details");
      itemDetails.addListener(SWT.Selection, new DMTask(dms) {
        public void run(DownloadManager dm) {
          UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
          if (uiFunctions != null) {
            uiFunctions.openView(UIFunctions.VIEW_DM_DETAILS, dm);
          }
        }
      });
      itemDetails.setEnabled(hasSelection);
    }
View Full Code Here

Examples of com.aelitis.azureus.ui.UIFunctions.openView()

      Messages.setLanguageText(itemExportXML, "MainWindow.menu.view.configuration");
      itemExportXML.addListener(SWT.Selection, new DMTask(dms) {
        public void run(DownloadManager[] dms) {
          UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
         
          uiFunctions.openView(UIFunctions.VIEW_DM_MULTI_OPTIONS, dms);
        }
      });
    }
    // === advanced > peer sources ===
    // ===============================
View Full Code Here

Examples of com.aelitis.azureus.ui.UIFunctions.openView()

      }
    };
    task.go();
    UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
    if (uiFunctions != null) {
      uiFunctions.openView(UIFunctions.VIEW_MYTRACKER, null);
    }
  }

  public static void publishTorrents(final Object[] download_managers, final AzureusCore azureus_core,
      final Composite composite) {
View Full Code Here

Examples of com.aelitis.azureus.ui.UIFunctions.openView()

      }
    };
    task.go();
    UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
    if (uiFunctions != null) {
      uiFunctions.openView(UIFunctions.VIEW_MYTRACKER, null);
    }
  }

  public static void removeDataSources(final Object[] datasources) {
    DownloadManager[] dms = toDMS(datasources);
View Full Code Here

Examples of com.aelitis.azureus.ui.UIFunctions.openView()

    Messages.setLanguageText(itemOptions, "MainWindow.menu.view.configuration");
    itemOptions.addListener(SWT.Selection, new Listener() {
      public void handleEvent(Event event) {
        UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();

        uiFunctions.openView(UIFunctions.VIEW_DM_MULTI_OPTIONS, dms);
      }
    });

    if (dms.length == 0) {
View Full Code Here

Examples of com.aelitis.azureus.ui.UIFunctions.openView()

      Messages.setLanguageText(btnConfig, "plugins.basicview.config");
      btnConfig.addSelectionListener(new SelectionAdapter() {
        public void widgetSelected(SelectionEvent e) {
          UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
         if (uiFunctions != null) {
           uiFunctions.openView(UIFunctions.VIEW_CONFIG,
                model.getConfigSectionID());
         }
        }
      });
      btnConfig.setLayoutData(new GridData());
View Full Code Here

Examples of com.aelitis.azureus.ui.UIFunctions.openView()

          {
                 UIFunctions uif = UIFunctionsManager.getUIFunctions();
                
                 if ( uif != null ){
                  
                   uif.openView( UIFunctions.VIEW_CONFIG, "Subscriptions" );
                 }
          }
        });
   
    SubscriptionManager subs_man = SubscriptionManagerFactory.getSingleton();
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.