Class DeviceManagerUI
java.lang.Object
com.biglybt.ui.swt.devices.DeviceManagerUI
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static classprotected static classprivate static classstatic classprivate static classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate UIExitUtilsSWT.canCloseListenerprivate List<DeviceManagerUI.categoryView> private static org.eclipse.swt.graphics.Color[]private static final Stringstatic final Stringstatic final Stringprivate static final Stringprivate ParameterListenerprivate BasicPluginConfigModelprivate static final Objectprivate DeviceManagerprivate DeviceManagerListenerprivate booleanprivate DeviceManagerListenerprivate DeviceManagerListenerstatic booleanstatic booleanprivate MdiEntryprivate MenuItemListenerprivate MenuItemListenerprivate static final Stringprivate intprivate static final intprivate static final intprivate MultipleDocumentInterfaceSWTprivate MdiEntryprivate static final intprivate booleanprivate intprivate booleanprivate Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate booleanprivate ParameterListenerprivate final PluginInterfaceprivate MenuItemListenerprivate MenuItemListenerprivate MenuItemListenerprivate static final intprivate static final intprivate MenuItemFillListenerprivate MenuItemListenerprivate static final booleanprivate static final booleanprivate booleanprivate booleanprivate intprivate booleanprivate static final Stringprivate UISWTInstanceprivate MenuItemListenerprivate TranscodeManagerListenerprivate TranscodeQueueListenerprivate final UIManagerprivate booleanprivate MenuItemFillListenerprivate MenuItemFillListenerprivate MenuItemFillListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddDefaultDropListener(MdiEntry mainSbEntry) protected DeviceManagerUI.categoryViewaddDeviceCategory(int device_type, String category_title, String category_image_id) protected static voidaddDirectory(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, File file) protected static voidaddDownload(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, byte[] hash) protected static voidaddDownload(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, Download download) protected static voidaddFile(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, DiskManagerFileInfo file) protected static voidaddFile(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, File file) protected voidprotected voidaddOrChangeDevice(Device device) private static voidaddTagSubMenu(MenuManager menu_manager, MenuItem menu, DeviceMediaRenderer device) protected static voidaddURL(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, String url) private voidbuildCategories(boolean full) protected MdiEntrybuildSideBar(boolean rebuild) private voidprivate voidcreateOverallMenu(MenuManager menu_manager, String parentID) voidvoiddispose()private voidprotected static String[]getDeviceImageIDs(Device device) protected DeviceManagerprivate Stringprotected PluginInterfaceprotected static voidhandleDrop(TranscodeTarget target, TranscodeProfile profile, Object payload, int transcode_requirement) static booleanhandleDrop(TranscodeTarget target, Object payload) private static booleanhandleDropSupport(TranscodeTarget target, Object payload, boolean allow_retry) protected static voidprotected intprotected voidprotected voidstatic voidregisterDiskOps(MultipleDocumentInterface mdi, String parent, boolean closeable) protected voidprotected voidremoveDevice(Device device) protected voidsearch()private voidsetOXCState(String new_action) protected voidsetStatus(Device device, DeviceManagerUI.deviceItem sbi) voidprivate voidsetupEntry(DeviceManagerUI.deviceItem new_di, Device device, String parent) private voidsetupHeader(MultipleDocumentInterface mdi, MdiEntry entryHeader) protected voidprotected voidprivate voidprotected voidprivate voidprotected voidshowDevice(Device device) protected static voidprotected voidshowProperties(Device device) private voiduiAttachedAndCoreRunning(Core core)
-
Field Details
-
CONFIG_SECTION_ID
- See Also:
-
DISABLED
public static boolean DISABLED -
DISABLED_TRANSCODING
public static boolean DISABLED_TRANSCODING -
MIN_FILE_SIZE_FOR_XCODE
private static final int MIN_FILE_SIZE_FOR_XCODE- See Also:
-
MAX_FILES_FOR_MULTI_XCODE
private static final int MAX_FILES_FOR_MULTI_XCODE- See Also:
-
DEVICE_IVIEW_KEY
-
CONFIG_VIEW_TYPE
- See Also:
-
CONFIG_VIEW_HIDE_REND_GENERIC
- See Also:
-
CONFIG_VIEW_SHOW_ONLY_TAGGED
- See Also:
-
SPINNER_IMAGE_ID
- See Also:
-
INFO_IMAGE_ID
- See Also:
-
ALERT_IMAGE_ID
- See Also:
-
SHOW_RENDERER_VITALITY
private static final boolean SHOW_RENDERER_VITALITY- See Also:
-
SHOW_OD_VITALITY
private static final boolean SHOW_OD_VITALITY- See Also:
-
colors
private static org.eclipse.swt.graphics.Color[] colors -
device_manager
-
device_manager_listener
-
device_manager_listener_added
private boolean device_manager_listener_added -
plugin_interface
-
ui_manager
-
swt_ui
-
ui_setup
private boolean ui_setup -
mdi
-
sidebar_built
private boolean sidebar_built -
SBV_SIMPLE
private static final int SBV_SIMPLE- See Also:
-
SBV_FULL
private static final int SBV_FULL- See Also:
-
side_bar_view_type
private int side_bar_view_type -
side_bar_hide_rend_gen
private boolean side_bar_hide_rend_gen -
side_bar_show_tagged
private boolean side_bar_show_tagged -
next_sidebar_id
private int next_sidebar_id -
categories
-
last_job_count
private int last_job_count -
properties_listener
-
hide_listener
-
rename_listener
-
export_listener
-
will_remove_listener
-
remove_listener
-
show_fill_listener
-
show_listener
-
will_tag_listener
-
tag_listener
-
will_browse_listener
-
mdiEntryOverview
-
needsAddAllDevices
private boolean needsAddAllDevices -
entryHeader
-
OXC_NOTHING
- See Also:
-
OXC_QUIT_VUZE
- See Also:
-
OXC_SLEEP
- See Also:
-
OXC_HIBERNATE
- See Also:
-
OXC_SHUTDOWN
- See Also:
-
oxc_action
-
oxc_trigger_set
private boolean oxc_trigger_set -
MAX_MS_DISPLAY_LINE_DEFAULT
private static final int MAX_MS_DISPLAY_LINE_DEFAULT- See Also:
-
device_manager_listener_setupui
-
transcodeQueueListener
-
configListener
-
deviceManagerListener
-
transcodeManagerListener
-
parameterListener
-
canCloseListener
-
configModel
-
builder_map
-
-
Constructor Details
-
DeviceManagerUI
-
-
Method Details
-
uiAttachedAndCoreRunning
-
getDeviceManager
-
getPluginInterface
-
setupUI
-
setupUIwithDeviceManager
private void setupUIwithDeviceManager() -
setupConfigUI
public void setupConfigUI() -
createTranscodingSection
public void createTranscodingSection() -
setupMenuListeners
protected void setupMenuListeners() -
export
-
setupListeners
protected void setupListeners() -
hideIcon
-
showIcon
-
rebuildSideBarIfExists
protected void rebuildSideBarIfExists() -
rebuildSideBar
protected void rebuildSideBar() -
getHeaderToolTip
-
buildSideBar
-
registerDiskOps
-
buildCategories
private void buildCategories(boolean full) -
setupHeader
-
addNewDevice
protected void addNewDevice()- Since:
- 4.1.0.5
-
setOXCState
-
checkOXCState
private void checkOXCState() -
setupTranscodeMenus
private void setupTranscodeMenus() -
search
protected void search() -
addOrChangeDevice
-
setupEntry
-
getDeviceImageIDs
-
showDevice
-
handleDrop
-
handleDropSupport
private static boolean handleDropSupport(TranscodeTarget target, Object payload, boolean allow_retry) -
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
-
addAllDevices
protected void addAllDevices() -
removeAllDevices
protected void removeAllDevices() -
removeDevice
-
addDeviceCategory
protected DeviceManagerUI.categoryView addDeviceCategory(int device_type, String category_title, String category_image_id) -
addDefaultDropListener
-
showProperties
-
nextSidebarID
protected int nextSidebarID() -
dispose
public void dispose()
-