Class OpenTorrentOptionsWindow
java.lang.Object
com.biglybt.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow
- All Implemented Interfaces:
UIUpdatable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
protected class
static interface
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static TimerEventPeriodic
private static final Map<HashWrapper,
OpenTorrentOptionsWindow> private StandardButtonsArea
private org.eclipse.swt.widgets.Button
private org.eclipse.swt.widgets.Button
private org.eclipse.swt.widgets.Button
private org.eclipse.swt.widgets.Button
private static final String
private static AsyncDispatcher
private SkinnedDialog
private org.eclipse.swt.custom.StackLayout
private org.eclipse.swt.widgets.Composite
private static FrequencyLimitedDispatcher
private ImageLoader
private static boolean
protected Map<String,
OpenTorrentOptionsWindow.DiscoveredTag> private static final String[]
private static final String
private SWTSkinObjectSash
private static final String
(package private) AsyncDispatcher
static final String
static final String
private org.eclipse.swt.widgets.Label
private static Comparator
private final int
private static final AtomicInteger
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private static void
private void
static void
addTorrent
(TorrentOpenOptions torrentOptions) private static void
addTorrentSupport
(TorrentOpenOptions torrentOptions, int attempt_count) private void
static void
close()
protected void
dispose()
private org.eclipse.swt.graphics.Rectangle
static Tag
getExistingTag
(List<Tag> initialTags, String tagName) getInstance
(TorrentOpenOptions options) private org.eclipse.swt.widgets.Shell
getShell()
A name for this UIUpdatable so we can track who's being badstatic void
private boolean
private boolean
private org.eclipse.swt.graphics.Image
static void
private void
okPressed
(boolean auto) private void
private void
removeInstance
(OpenTorrentOptionsWindow.OpenTorrentInstance instance, boolean is_removal) private static void
private void
private void
private void
setupShowAgainOptions
(SWTSkin skin) private void
setupTVTorrents
(org.eclipse.swt.widgets.Composite parent) private void
protected void
swt_addTorrent
(HashWrapper hash, TorrentOpenOptions torrentOptions) private void
private void
unloadImage
(String key) private void
private void
void
updateUI()
Update your UI!
-
Field Details
-
window_id_next
-
active_windows
-
active_window_checker
-
PARAM_DEFSAVEPATH
- See Also:
-
MSGKEY_QUEUELOCATIONS
-
TABLEID_TORRENTS
- See Also:
-
TABLEID_FILES
- See Also:
-
SP_KEY
- See Also:
-
CONFIG_FILE
- See Also:
-
initialised
private static volatile boolean initialised -
dispatcher
-
freq_disp
-
window_id
private final int window_id -
dlg
-
image_loader
-
sash_object
-
expand_stack
private org.eclipse.swt.custom.StackLayout expand_stack -
expand_stack_area
private org.eclipse.swt.widgets.Composite expand_stack_area -
buttonsArea
-
window_initialised
private boolean window_initialised -
buttonTorrentUp
private org.eclipse.swt.widgets.Button buttonTorrentUp -
buttonTorrentDown
private org.eclipse.swt.widgets.Button buttonTorrentDown -
buttonTorrentRemove
private org.eclipse.swt.widgets.Button buttonTorrentRemove -
buttonTorrentAccept
private org.eclipse.swt.widgets.Button buttonTorrentAccept -
images_to_dispose
-
tvTorrents
-
torrents_info_label
private org.eclipse.swt.widgets.Label torrents_info_label -
optionListener
-
open_instances
-
selected_instances
-
multi_selection_instance
-
listDiscoveredTags
-
spaceUpdateDispatcher
AsyncDispatcher spaceUpdateDispatcher -
tree_comp
-
-
Constructor Details
-
OpenTorrentOptionsWindow
private OpenTorrentOptionsWindow()
-
-
Method Details
-
main
-
initialise
public static void initialise() -
close
public static void close() -
activeWindowsChanged
private static void activeWindowsChanged() -
saveActiveWindows
private static void saveActiveWindows() -
addTorrent
-
addTorrentSupport
-
swt_addTorrent
-
isDisposed
private boolean isDisposed() -
isInitialised
private boolean isInitialised() -
getInstances
-
getInstance
-
cancelPressed
private void cancelPressed() -
okPressed
private void okPressed(boolean auto) -
setupShowAgainOptions
-
setupTVTorrents
private void setupTVTorrents(org.eclipse.swt.widgets.Composite parent) -
addInstance
-
selectInstance
-
selectInstances
-
removeInstance
private void removeInstance(OpenTorrentOptionsWindow.OpenTorrentInstance instance, boolean is_removal) -
acceptInstances
-
updateDialogTitle
private void updateDialogTitle() -
swt_updateTVTorrentButtons
private void swt_updateTVTorrentButtons() -
refreshTVTorrentIndexes
private void refreshTVTorrentIndexes() -
updateInstanceInfo
private void updateInstanceInfo() -
updateUI
public void updateUI()Description copied from interface:UIUpdatable
Update your UI!- Specified by:
updateUI
in interfaceUIUpdatable
-
getUpdateUIName
Description copied from interface:UIUpdatable
A name for this UIUpdatable so we can track who's being bad- Specified by:
getUpdateUIName
in interfaceUIUpdatable
- Returns:
- some name
-
swt_activate
private void swt_activate() -
getShell
private org.eclipse.swt.widgets.Shell getShell() -
getBounds
private org.eclipse.swt.graphics.Rectangle getBounds() -
loadImage
-
unloadImage
-
dispose
protected void dispose() -
getExistingTag
-