Package com.biglybt.plugin.net.buddy.swt
Class BuddyPluginView.BetaSubViewHolder
java.lang.Object
com.biglybt.plugin.net.buddy.swt.BuddyPluginView.BetaSubViewHolder
- All Implemented Interfaces:
BuddyPluginViewInterface.View
- Enclosing class:
- BuddyPluginView
private class BuddyPluginView.BetaSubViewHolder
extends Object
implements BuddyPluginViewInterface.View
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.custom.CTabItem
private org.eclipse.swt.widgets.Composite[]
private int
private int
private int
private int
private int
private int
private Tag
private String
private String
private String
private Tag
private String
private boolean
private boolean
private int
private String
private org.eclipse.swt.widgets.Group
private org.eclipse.swt.widgets.Group
private List<org.eclipse.swt.widgets.Button>
private org.eclipse.swt.custom.CTabItem
private org.eclipse.swt.custom.CTabItem
private boolean
private org.eclipse.swt.custom.CTabFolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
private void
activateChat
(String _network, String key, boolean select_tab) private void
activateNetwork
(String network) private void
activateNetwork
(String network, boolean select_tab) private void
buildChatMode
(int mode, boolean activate) private org.eclipse.swt.widgets.Composite
createScrolledComposite
(org.eclipse.swt.widgets.Composite parent) void
destroy()
private void
gotFocus()
void
handleDrop
(String drop) private void
initialise
(UISWTView view, org.eclipse.swt.widgets.Composite parent) private void
initialise
(org.eclipse.swt.widgets.Composite parent, BuddyPluginViewInterface.DownloadAdapter download, BuddyPluginViewInterface.ViewListener listener) private void
initialiseSupport
(org.eclipse.swt.widgets.Composite parent) private void
private void
selectButtonGroup
(List<org.eclipse.swt.widgets.Button> buttons, int data) private void
selectButtonGroup
(List<org.eclipse.swt.widgets.Button> buttons, String data) private void
setChatMode
(int mode) private void
setDataSource
(Object obj) private void
setupButtonGroup
(List<org.eclipse.swt.widgets.Button> buttons) private void
-
Field Details
-
CHAT_DOWNLOAD
private int CHAT_DOWNLOAD -
CHAT_TRACKERS
private int CHAT_TRACKERS -
CHAT_TAG
private int CHAT_TAG -
CHAT_GENERAL
private int CHAT_GENERAL -
CHAT_FAVOURITES
private int CHAT_FAVOURITES -
download_only_mode
private boolean download_only_mode -
view_listener
-
chat_composites
private org.eclipse.swt.widgets.Composite[] chat_composites -
mode_buttons
-
middle
private org.eclipse.swt.widgets.Group middle -
tab_folder
private org.eclipse.swt.custom.CTabFolder tab_folder -
public_item
private org.eclipse.swt.custom.CTabItem public_item -
anon_item
private org.eclipse.swt.custom.CTabItem anon_item -
neither_item
private org.eclipse.swt.custom.CTabItem neither_item -
last_build_chat_mode
private int last_build_chat_mode -
chat_mode
private int chat_mode -
last_selected_network
-
current_download
-
current_tracker
-
current_tag
-
current_general
-
current_favourite_net
-
current_favourite_key
-
current_ds_tag
-
have_focus
private boolean have_focus -
rebuild_outstanding
private boolean rebuild_outstanding -
lhs
private org.eclipse.swt.widgets.Group lhs
-
-
Constructor Details
-
BetaSubViewHolder
private BetaSubViewHolder()
-
-
Method Details
-
initialise
private void initialise(org.eclipse.swt.widgets.Composite parent, BuddyPluginViewInterface.DownloadAdapter download, BuddyPluginViewInterface.ViewListener listener) -
initialise
-
initialiseSupport
private void initialiseSupport(org.eclipse.swt.widgets.Composite parent) -
tagsUpdated
-
setupButtonGroup
-
selectButtonGroup
-
selectButtonGroup
-
setChatMode
private void setChatMode(int mode) -
buildChatMode
private void buildChatMode(int mode, boolean activate) -
createScrolledComposite
private org.eclipse.swt.widgets.Composite createScrolledComposite(org.eclipse.swt.widgets.Composite parent) -
activate
public void activate()- Specified by:
activate
in interfaceBuddyPluginViewInterface.View
-
handleDrop
- Specified by:
handleDrop
in interfaceBuddyPluginViewInterface.View
-
activateNetwork
-
activateNetwork
-
activateChat
-
setDataSource
-
gotFocus
private void gotFocus() -
lostFocus
private void lostFocus() -
destroy
public void destroy()- Specified by:
destroy
in interfaceBuddyPluginViewInterface.View
-