Class NetStatusPluginView
- java.lang.Object
-
- com.biglybt.plugin.net.netstatus.swt.NetStatusPluginView
-
- All Implemented Interfaces:
UISWTViewEventListener
public class NetStatusPluginView extends java.lang.Object implements UISWTViewEventListener
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.widgets.Button
cancel_button
private org.eclipse.swt.widgets.Composite
composite
private boolean
created
private NetStatusPluginTester
current_test
private org.eclipse.swt.custom.StyledText
log
private static int
LOG_ERROR
private static int
LOG_INFO
private static int
LOG_NORMAL
private static int
LOG_SUCCESS
private int
log_type
private NetStatusPlugin
plugin
private int
selected_tests
private org.eclipse.swt.widgets.Button
start_button
-
Constructor Summary
Constructors Constructor Description NetStatusPluginView()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addOption(org.eclipse.swt.widgets.Button button, int type, boolean enable)
protected void
cancelTest()
protected void
cancelTestSupport()
protected void
destroy()
boolean
eventOccurred(UISWTViewEvent event)
Triggers when an even listed in UISWTViewEvent occursprotected void
initialise(org.eclipse.swt.widgets.Composite _composite)
static void
initSWTUI(UIInstance _ui)
Called via reflection fromNetStatusPlugin
protected void
print(java.lang.String str, boolean clear_first)
protected void
println(java.lang.String str)
protected void
println(java.lang.String str, boolean clear_first)
protected void
startTest()
protected void
startTestSupport(Core core)
-
-
-
Field Detail
-
plugin
private NetStatusPlugin plugin
-
created
private boolean created
-
composite
private org.eclipse.swt.widgets.Composite composite
-
start_button
private org.eclipse.swt.widgets.Button start_button
-
cancel_button
private org.eclipse.swt.widgets.Button cancel_button
-
log
private org.eclipse.swt.custom.StyledText log
-
selected_tests
private int selected_tests
-
current_test
private NetStatusPluginTester current_test
-
LOG_NORMAL
private static final int LOG_NORMAL
- See Also:
- Constant Field Values
-
LOG_SUCCESS
private static final int LOG_SUCCESS
- See Also:
- Constant Field Values
-
LOG_ERROR
private static final int LOG_ERROR
- See Also:
- Constant Field Values
-
LOG_INFO
private static final int LOG_INFO
- See Also:
- Constant Field Values
-
log_type
private int log_type
-
-
Method Detail
-
initSWTUI
public static void initSWTUI(UIInstance _ui)
Called via reflection fromNetStatusPlugin
-
eventOccurred
public boolean eventOccurred(UISWTViewEvent event)
Description copied from interface:UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurred
in interfaceUISWTViewEventListener
- Parameters:
event
- event that occurred- Returns:
- meaning dependent upon event type
-
initialise
protected void initialise(org.eclipse.swt.widgets.Composite _composite)
-
addOption
protected void addOption(org.eclipse.swt.widgets.Button button, int type, boolean enable)
-
startTest
protected void startTest()
-
cancelTest
protected void cancelTest()
-
startTestSupport
protected void startTestSupport(Core core)
-
println
protected void println(java.lang.String str)
-
println
protected void println(java.lang.String str, boolean clear_first)
-
print
protected void print(java.lang.String str, boolean clear_first)
-
cancelTestSupport
protected void cancelTestSupport()
-
destroy
protected void destroy()
-
-