Class OpenTorrentOptionsWindow
java.lang.Object
com.biglybt.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow
- All Implemented Interfaces:
UIUpdatable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprotected classstatic interfaceprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static TimerEventPeriodicprivate static final Map<HashWrapper, OpenTorrentOptionsWindow> private StandardButtonsAreaprivate org.eclipse.swt.widgets.Buttonprivate org.eclipse.swt.widgets.Buttonprivate org.eclipse.swt.widgets.Buttonprivate org.eclipse.swt.widgets.Buttonprivate static final Stringprivate static AsyncDispatcherprivate SkinnedDialogprivate org.eclipse.swt.custom.StackLayoutprivate org.eclipse.swt.widgets.Compositeprivate static FrequencyLimitedDispatcherprivate ImageLoaderprivate static booleanprivate static final String[]private static final Stringprivate SWTSkinObjectSashprivate static final String(package private) AsyncDispatcherstatic final Stringstatic final Stringprivate org.eclipse.swt.widgets.Labelprivate static Comparatorprivate final intprivate static final AtomicIntegerprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate static voidactiveWindowsChanged(boolean delay) private voidstatic voidaddTorrent(TorrentOpenOptions torrentOptions) private static voidaddTorrentSupport(TorrentOpenOptions torrentOptions, int attempt_count) private voidstatic voidclose()protected voiddispose()static List<TorrentOpenOptions> private org.eclipse.swt.graphics.Rectanglestatic TaggetExistingTag(List<Tag> initialTags, String tagName) getInstance(TorrentOpenOptions options) private org.eclipse.swt.widgets.ShellgetShell()A name for this UIUpdatable so we can track who's being badstatic voidprivate booleanprivate booleanprivate org.eclipse.swt.graphics.Imagestatic voidprivate voidokPressed(boolean auto) private static voidrcmSearch(HashWrapper hash, String[] nets) private voidrcmTagFound(HashWrapper hash, String tag, String[] nets) private voidprivate voidremoveInstance(OpenTorrentOptionsWindow.OpenTorrentInstance instance, boolean is_removal) private static voidprivate voidprivate voidprivate voidprivate voidsetupShowAgainOptions(SWTSkin skin) private static voidprivate static voidprivate voidsetupTVTorrents(org.eclipse.swt.widgets.Composite parent) private voidprotected voidswt_addTorrent(HashWrapper hash, TorrentOpenOptions torrentOptions) private voidprivate voidunloadImage(String key) private voidprivate voidvoidupdateUI()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
-
spaceUpdateDispatcher
AsyncDispatcher spaceUpdateDispatcher -
paramListeners
-
tree_comp
-
-
Constructor Details
-
OpenTorrentOptionsWindow
private OpenTorrentOptionsWindow()
-
-
Method Details
-
main
-
setupTableTorrents
private static void setupTableTorrents() -
setupTableFiles
private static void setupTableFiles() -
initialise
public static void initialise() -
close
public static void close() -
activeWindowsChanged
private static void activeWindowsChanged(boolean delay) -
saveActiveWindows
private static void saveActiveWindows() -
getActiveTorrentOptions
-
addTorrent
-
addTorrentSupport
-
rcmSearch
-
swt_addTorrent
-
rcmTagFound
-
setSelectedRows
private void setSelectedRows() -
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:UIUpdatableUpdate your UI!- Specified by:
updateUIin interfaceUIUpdatable
-
getUpdateUIName
Description copied from interface:UIUpdatableA name for this UIUpdatable so we can track who's being bad- Specified by:
getUpdateUINamein 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
-