com.aelitis.azureus.ui.swt.devices
Class DeviceManagerUI

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.devices.DeviceManagerUI

public class DeviceManagerUI
extends Object


Nested Class Summary
protected static class DeviceManagerUI.categoryView
           
protected static class DeviceManagerUI.categoryViewGeneric
           
protected  class DeviceManagerUI.deviceView
           
 
Field Summary
static String CONFIG_VIEW_HIDE_REND_GENERIC
           
static String CONFIG_VIEW_SHOW_ONLY_TAGGED
           
static boolean DISABLED
           
 
Constructor Summary
DeviceManagerUI(AzureusCore core)
           
 
Method Summary
protected  void addAllDevices()
           
protected  void addDefaultDropListener(MdiEntry mainSbEntry)
           
protected  DeviceManagerUI.categoryView addDeviceCategory(int device_type, String category_title, String category_image_id)
           
protected static void addDirectory(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, File file)
           
protected static void addDownload(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, byte[] hash)
           
protected static void addDownload(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, Download download)
           
protected static void addFile(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, DiskManagerFileInfo file)
           
protected static void addFile(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, File file)
           
protected  void addNewDevice()
           
protected  void addOrChangeDevice(Device device)
           
protected static void addURL(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, String url)
           
protected  MdiEntry buildSideBar(boolean rebuild)
           
protected static String getDeviceImageID(Device device)
           
protected  DeviceManager getDeviceManager()
           
protected  PluginInterface getPluginInterface()
           
static boolean handleDrop(TranscodeTarget target, Object payload)
           
protected static void handleDrop(TranscodeTarget target, TranscodeProfile profile, Object payload, int transcode_requirement)
           
protected static void hideIcon(MdiEntryVitalityImage x)
           
protected  int nextSidebarID()
           
protected  void rebuildSideBar()
           
protected  void rebuildSideBarIfExists()
           
protected  void removeAllDevices()
           
protected  void removeDevice(Device device)
           
protected  void search()
           
protected  void setStatus(Device device, com.aelitis.azureus.ui.swt.devices.DeviceManagerUI.deviceItem sbi)
           
 void setupConfigUI()
           
protected  void setupListeners()
           
protected  void setupMenuListeners()
           
protected  void setupUI(MultipleDocumentInterfaceSWT mdi)
           
protected  void showDevice(Device device)
           
protected static void showIcon(MdiEntryVitalityImage x, String t)
           
protected  void showProperties(Device device)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLED

public static boolean DISABLED

CONFIG_VIEW_HIDE_REND_GENERIC

public static final String CONFIG_VIEW_HIDE_REND_GENERIC
See Also:
Constant Field Values

CONFIG_VIEW_SHOW_ONLY_TAGGED

public static final String CONFIG_VIEW_SHOW_ONLY_TAGGED
See Also:
Constant Field Values
Constructor Detail

DeviceManagerUI

public DeviceManagerUI(AzureusCore core)
Method Detail

getDeviceManager

protected DeviceManager getDeviceManager()

getPluginInterface

protected PluginInterface getPluginInterface()

setupUI

protected void setupUI(MultipleDocumentInterfaceSWT mdi)

setupConfigUI

public void setupConfigUI()

setupMenuListeners

protected void setupMenuListeners()

setupListeners

protected void setupListeners()

hideIcon

protected static void hideIcon(MdiEntryVitalityImage x)

showIcon

protected static void showIcon(MdiEntryVitalityImage x,
                               String t)

rebuildSideBarIfExists

protected void rebuildSideBarIfExists()

rebuildSideBar

protected void rebuildSideBar()

buildSideBar

protected MdiEntry buildSideBar(boolean rebuild)

addNewDevice

protected void addNewDevice()
Since:
4.1.0.5

search

protected void search()

addOrChangeDevice

protected void addOrChangeDevice(Device device)

getDeviceImageID

protected static String getDeviceImageID(Device device)

showDevice

protected void showDevice(Device device)

handleDrop

public static boolean handleDrop(TranscodeTarget target,
                                 Object payload)

addDownload

protected static void addDownload(TranscodeTarget target,
                                  TranscodeProfile profile,
                                  int transcode_requirement,
                                  byte[] hash)

addDownload

protected static void addDownload(TranscodeTarget target,
                                  TranscodeProfile profile,
                                  int transcode_requirement,
                                  Download download)

addFile

protected static void addFile(TranscodeTarget target,
                              TranscodeProfile profile,
                              int transcode_requirement,
                              DiskManagerFileInfo file)

addDirectory

protected static void addDirectory(TranscodeTarget target,
                                   TranscodeProfile profile,
                                   int transcode_requirement,
                                   File file)

addFile

protected static void addFile(TranscodeTarget target,
                              TranscodeProfile profile,
                              int transcode_requirement,
                              File file)

addURL

protected static void addURL(TranscodeTarget target,
                             TranscodeProfile profile,
                             int transcode_requirement,
                             String url)

handleDrop

protected static void handleDrop(TranscodeTarget target,
                                 TranscodeProfile profile,
                                 Object payload,
                                 int transcode_requirement)

setStatus

protected void setStatus(Device device,
                         com.aelitis.azureus.ui.swt.devices.DeviceManagerUI.deviceItem sbi)

addAllDevices

protected void addAllDevices()

removeAllDevices

protected void removeAllDevices()

removeDevice

protected void removeDevice(Device device)

addDeviceCategory

protected DeviceManagerUI.categoryView addDeviceCategory(int device_type,
                                                         String category_title,
                                                         String category_image_id)

addDefaultDropListener

protected void addDefaultDropListener(MdiEntry mainSbEntry)

showProperties

protected void showProperties(Device device)

nextSidebarID

protected int nextSidebarID()