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 java.lang.Object implements BuddyPluginViewInterface.View
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.custom.CTabItem
anon_item
private org.eclipse.swt.widgets.Composite[]
chat_composites
private int
CHAT_DOWNLOAD
private int
CHAT_FAVOURITES
private int
CHAT_GENERAL
private int
chat_mode
private int
CHAT_TAG
private int
CHAT_TRACKERS
private BuddyPluginViewInterface.DownloadAdapter
current_download
private Tag
current_ds_tag
private java.lang.String
current_favourite_key
private java.lang.String
current_favourite_net
private java.lang.String
current_general
private Tag
current_tag
private java.lang.String
current_tracker
private boolean
download_only_mode
private boolean
have_focus
private int
last_build_chat_mode
private java.lang.String
last_selected_network
private org.eclipse.swt.widgets.Group
lhs
private org.eclipse.swt.widgets.Group
middle
private java.util.List<org.eclipse.swt.widgets.Button>
mode_buttons
private org.eclipse.swt.custom.CTabItem
neither_item
private org.eclipse.swt.custom.CTabItem
public_item
private boolean
rebuild_outstanding
private org.eclipse.swt.custom.CTabFolder
tab_folder
private BuddyPluginViewInterface.ViewListener
view_listener
-
Constructor Summary
Constructors Modifier Constructor Description private
BetaSubViewHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
private void
activateChat(java.lang.String _network, java.lang.String key, boolean select_tab)
private void
activateNetwork(java.lang.String network)
private void
activateNetwork(java.lang.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(java.lang.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
lostFocus()
private void
selectButtonGroup(java.util.List<org.eclipse.swt.widgets.Button> buttons, int data)
private void
selectButtonGroup(java.util.List<org.eclipse.swt.widgets.Button> buttons, java.lang.String data)
private void
setChatMode(int mode)
private void
setDataSource(java.lang.Object obj)
private void
setupButtonGroup(java.util.List<org.eclipse.swt.widgets.Button> buttons)
private void
tagsUpdated(DownloadManager dm)
-
-
-
Field Detail
-
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
private BuddyPluginViewInterface.ViewListener view_listener
-
chat_composites
private org.eclipse.swt.widgets.Composite[] chat_composites
-
mode_buttons
private java.util.List<org.eclipse.swt.widgets.Button> 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
private java.lang.String last_selected_network
-
current_download
private BuddyPluginViewInterface.DownloadAdapter current_download
-
current_tracker
private java.lang.String current_tracker
-
current_tag
private Tag current_tag
-
current_general
private java.lang.String current_general
-
current_favourite_net
private java.lang.String current_favourite_net
-
current_favourite_key
private java.lang.String current_favourite_key
-
current_ds_tag
private Tag current_ds_tag
-
have_focus
private boolean have_focus
-
rebuild_outstanding
private boolean rebuild_outstanding
-
lhs
private org.eclipse.swt.widgets.Group lhs
-
-
Method Detail
-
initialise
private void initialise(org.eclipse.swt.widgets.Composite parent, BuddyPluginViewInterface.DownloadAdapter download, BuddyPluginViewInterface.ViewListener listener)
-
initialise
private void initialise(UISWTView view, org.eclipse.swt.widgets.Composite parent)
-
initialiseSupport
private void initialiseSupport(org.eclipse.swt.widgets.Composite parent)
-
tagsUpdated
private void tagsUpdated(DownloadManager dm)
-
setupButtonGroup
private void setupButtonGroup(java.util.List<org.eclipse.swt.widgets.Button> buttons)
-
selectButtonGroup
private void selectButtonGroup(java.util.List<org.eclipse.swt.widgets.Button> buttons, int data)
-
selectButtonGroup
private void selectButtonGroup(java.util.List<org.eclipse.swt.widgets.Button> buttons, java.lang.String data)
-
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
public void handleDrop(java.lang.String drop)
- Specified by:
handleDrop
in interfaceBuddyPluginViewInterface.View
-
activateNetwork
private void activateNetwork(java.lang.String network)
-
activateNetwork
private void activateNetwork(java.lang.String network, boolean select_tab)
-
activateChat
private void activateChat(java.lang.String _network, java.lang.String key, boolean select_tab)
-
setDataSource
private void setDataSource(java.lang.Object obj)
-
gotFocus
private void gotFocus()
-
lostFocus
private void lostFocus()
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceBuddyPluginViewInterface.View
-
-