Class BuddyPluginView.BetaSubViewHolder
java.lang.Object
com.biglybt.ui.swt.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.CTabItemprivate org.eclipse.swt.widgets.Composite[]private intprivate intprivate intprivate intprivate intprivate intprivate intprivate Tagprivate Stringprivate Stringprivate Stringprivate PeerDescriptorprivate Tagprivate Stringprivate Classprivate booleanprivate intprivate Stringprivate org.eclipse.swt.widgets.Groupprivate org.eclipse.swt.widgets.Groupprivate List<org.eclipse.swt.widgets.Button> private org.eclipse.swt.custom.CTabItemprivate org.eclipse.swt.custom.CTabItemprivate booleanprivate org.eclipse.swt.custom.CTabFolder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()private voidactivateChat(String _network, String key, boolean select_tab) private voidactivateNetwork(String network) private voidactivateNetwork(String network, boolean select_tab) private voidbuildChatMode(int mode, boolean activate) private org.eclipse.swt.widgets.CompositecreateScrolledComposite(org.eclipse.swt.widgets.Composite parent) voiddestroy()private voidgotFocus()voidhandleDrop(String drop) private voidinitialise(UISWTView view, org.eclipse.swt.widgets.Composite parent) private voidinitialise(org.eclipse.swt.widgets.Composite parent, BuddyPluginViewInterface.DownloadAdapter download, BuddyPluginViewInterface.ViewListener listener) private voidinitialiseSupport(org.eclipse.swt.widgets.Composite parent) private voidprivate voidselectButtonGroup(List<org.eclipse.swt.widgets.Button> buttons, int data) private voidselectButtonGroup(List<org.eclipse.swt.widgets.Button> buttons, String data) private voidsetChatMode(int mode) private voidsetDataSource(UISWTView view, Object obj) private voidsetupButtonGroup(List<org.eclipse.swt.widgets.Button> buttons) private void
-
Field Details
-
ds_only
-
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 -
CHAT_PEER
private int CHAT_PEER -
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_peer
-
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() -
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:
activatein interfaceBuddyPluginViewInterface.View
-
handleDrop
- Specified by:
handleDropin interfaceBuddyPluginViewInterface.View
-
activateNetwork
-
activateNetwork
-
activateChat
-
setDataSource
-
gotFocus
private void gotFocus() -
lostFocus
private void lostFocus() -
destroy
public void destroy()- Specified by:
destroyin interfaceBuddyPluginViewInterface.View
-