Package com.biglybt.ui.swt.devices
Class DeviceManagerUI
java.lang.Object
com.biglybt.ui.swt.devices.DeviceManagerUI
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
protected static class
protected static class
private static class
static class
private static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private UIExitUtilsSWT.canCloseListener
private List
<DeviceManagerUI.categoryView> private static org.eclipse.swt.graphics.Color[]
private static final String
static final String
static final String
private static final String
private ParameterListener
private BasicPluginConfigModel
private static final Object
private DeviceManager
private DeviceManagerListener
private boolean
private DeviceManagerListener
private DeviceManagerListener
static boolean
static boolean
private MdiEntry
private MenuItemListener
private MenuItemListener
private static final String
private int
private static final int
private static final int
private MultipleDocumentInterfaceSWT
private MdiEntry
private static final int
private boolean
private int
private boolean
private String
private static final String
private static final String
private static final String
private static final String
private static final String
private boolean
private ParameterListener
private final PluginInterface
private MenuItemListener
private MenuItemListener
private MenuItemListener
private static final int
private static final int
private MenuItemFillListener
private MenuItemListener
private static final boolean
private static final boolean
private boolean
private boolean
private int
private boolean
private static final String
private UISWTInstance
private MenuItemListener
private TranscodeManagerListener
private TranscodeQueueListener
private final UIManager
private boolean
private MenuItemFillListener
private MenuItemFillListener
private MenuItemFillListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
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
protected void
addOrChangeDevice
(Device device) private static void
addTagSubMenu
(MenuManager menu_manager, MenuItem menu, DeviceMediaRenderer device) protected static void
addURL
(TranscodeTarget target, TranscodeProfile profile, int transcode_requirement, String url) private void
buildCategories
(boolean full) protected MdiEntry
buildSideBar
(boolean rebuild) private void
private void
createOverallMenu
(MenuManager menu_manager, String parentID) void
void
dispose()
private void
protected static String[]
getDeviceImageIDs
(Device device) protected DeviceManager
private String
protected PluginInterface
protected static void
handleDrop
(TranscodeTarget target, TranscodeProfile profile, Object payload, int transcode_requirement) static boolean
handleDrop
(TranscodeTarget target, Object payload) private static boolean
handleDropSupport
(TranscodeTarget target, Object payload, boolean allow_retry) protected static void
protected int
protected void
protected void
static void
registerDiskOps
(MultipleDocumentInterface mdi, String parent, boolean closeable) protected void
protected void
removeDevice
(Device device) protected void
search()
private void
setOXCState
(String new_action) protected void
setStatus
(Device device, DeviceManagerUI.deviceItem sbi) void
private void
setupEntry
(DeviceManagerUI.deviceItem new_di, Device device, String parent) private void
setupHeader
(MultipleDocumentInterface mdi, MdiEntry entryHeader) protected void
protected void
private void
protected void
private void
protected void
showDevice
(Device device) protected static void
protected void
showProperties
(Device device) private void
uiAttachedAndCoreRunning
(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()
-