Package com.aelitis.azureus.ui

Examples of com.aelitis.azureus.ui.UIFunctions


        protected void
        refreshIconBar()
        {
          SelectedContentManager.clearCurrentlySelectedContent();
         
          UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
          if (uiFunctions != null) {
            uiFunctions.refreshIconBar();
          }
        }
      }, false );
   
    tv_downloads.addLifeCycleListener(
View Full Code Here


          uif.getMainShell().setText(hasFullLicence ? "Vuze Plus" : "Vuze");
        }
      });
    }

    UIFunctions uif = UIFunctionsManager.getUIFunctions();
    MultipleDocumentInterface mdi = uif.getMDI();
    if (mdi != null) {
      MdiEntry entry = mdi.getEntry(MultipleDocumentInterface.SIDEBAR_SECTION_PLUS);
      if (entry != null) {
        entry.setTitleID(hasFullLicence ? "mdi.entry.plus.full"
            : "mdi.entry.plus.free");
View Full Code Here

    tvFiles.addSelectionListener(new TableSelectionListener() {

      public void selected(TableRowCore[] row) {
        SelectedContentManager.clearCurrentlySelectedContent();

        UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
        if (uiFunctions != null) {
          uiFunctions.refreshIconBar();
        }
       
      }

      public void mouseExit(TableRowCore row) {
      }

      public void mouseEnter(TableRowCore row) {
      }

      public void focusChanged(TableRowCore focus) {
        SelectedContentManager.clearCurrentlySelectedContent();
       
        UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
        if (uiFunctions != null) {
          uiFunctions.refreshIconBar();
        }
      }

      public void deselected(TableRowCore[] rows) {
        SelectedContentManager.clearCurrentlySelectedContent();
       
        UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
        if (uiFunctions != null) {
          uiFunctions.refreshIconBar();
        }
      }

      public void defaultSelected(TableRowCore[] rows, int stateMask) {
        SelectedContentManager.clearCurrentlySelectedContent();
View Full Code Here

      }
      TableRowCore row = tvFiles.getRow(job.getTranscodeFile());
      if (row != null) {
        row.invalidate();
        if (row.isVisible()) {
          UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
          if (uiFunctions != null) {
            uiFunctions.refreshIconBar();
          }
        }
      }
    }
  }
View Full Code Here

      } else {
        TableRowCore row = tvFiles.getRow(job.getTranscodeFile());
        if (row != null) {
          row.invalidate();
          if (row.isVisible()) {
            UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
            if (uiFunctions != null) {
              uiFunctions.refreshIconBar();
            }
          }
        }
      }
    }
View Full Code Here

      row = tvFiles.getRow(file);
    }
    if (row != null) {
      row.invalidate();
      if (row.isVisible()) {
        UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
        if (uiFunctions != null) {
          uiFunctions.refreshIconBar();
        }
      }
    }
  }
View Full Code Here

                    if (COConfigurationManager.getStringParameter("ui", "az3").equals(
                        "az3")) {
                      return false;
                    }

                    UIFunctions uif = UIFunctionsManager.getUIFunctions();
                    if (uif == null) {
                      core.addLifecycleListener(new AzureusCoreLifecycleAdapter() {
                        public void componentCreated(AzureusCore core,
                            AzureusCoreComponent component) {
                          if (component instanceof UIFunctions) {
View Full Code Here

        "sidebar." + media_servers_category.getKey(),
        "device.mediaserver.configure");

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

        if (uif != null) {

          uif.openView(UIFunctions.VIEW_CONFIG, "upnpmediaserver.name");
        }
      }
    });

    // routers

    categoryView routers_category = addDeviceCategory(
        Device.DT_INTERNET_GATEWAY, "device.router.view.title",
        "image.sidebar.device.router");

    categories.add(routers_category);

    MenuItem rt_menu_item = menu_manager.addMenuItem("sidebar."
        + routers_category.getKey(), "device.show");

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

    rt_menu_item = menu_manager.addMenuItem(
        "sidebar." + routers_category.getKey(), "device.router.configure");

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

        if (uif != null) {

          uif.openView(UIFunctions.VIEW_CONFIG, "UPnP");
        }
      }
    });

    // offline downloaders
View Full Code Here

    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) {

          uif.openView(UIFunctions.VIEW_CONFIG, "Devices");
        }
      }
    });

    if (Constants.isCVSVersion()) {
View Full Code Here

      NavigationHelper.addListener(new NavigationHelper.navigationListener() {
        public void processCommand(final int type, final String[] args) {
          Utils.execSWTThread(new AERunnable() {
            public void runSupport() {

              UIFunctions uif = UIFunctionsManager.getUIFunctions();

              if (type == NavigationHelper.COMMAND_SWITCH_TO_TAB) {
                MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
                if (mdi == null) {
                  return;
                }
                ContentNetworkUtils.setSourceRef(args[0], "menu", false);
                mdi.showEntryByID(args[0]);

                if (uif != null) {

                  uif.bringToFront();
                }
              } else if (type == NavigationHelper.COMMAND_CONDITION_CHECK) {
              }
            }
          });
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.ui.UIFunctions

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.