Class ConfigSectionPluginsSWT.PluginListContext
- java.lang.Object
-
- com.biglybt.ui.swt.views.configsections.ConfigSectionPluginsSWT.PluginListContext
-
- All Implemented Interfaces:
ParameterListener
,UIParameterContext
,UISWTParameterContext
- Enclosing class:
- ConfigSectionPluginsSWT
public static class ConfigSectionPluginsSWT.PluginListContext extends java.lang.Object implements UISWTParameterContext, ParameterListener
-
-
Field Summary
Fields Modifier and Type Field Description private static int[]
COLUMN_ALIGNS
private static java.lang.String[]
COLUMN_HEADERS
private static int[]
COLUMN_SIZES
(package private) ConfigSectionPluginsSWT.FilterComparator
comparator
private org.eclipse.swt.graphics.Image
imgGreenLed
private org.eclipse.swt.graphics.Image
imgRedLed
(package private) java.util.List<PluginInterface>
pluginIFs
private org.eclipse.swt.widgets.Table
table
-
Constructor Summary
Constructors Constructor Description PluginListContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(org.eclipse.swt.widgets.Composite infoGroup)
This method is invoked when the config section is going to be displayed in a SWT user interface.void
parameterChanged(java.lang.String parameterName)
Called, when a parameter has changed.private java.util.List<PluginInterface>
rebuildPluginIFs()
-
-
-
Field Detail
-
COLUMN_HEADERS
private static final java.lang.String[] COLUMN_HEADERS
-
COLUMN_SIZES
private static final int[] COLUMN_SIZES
-
COLUMN_ALIGNS
private static final int[] COLUMN_ALIGNS
-
comparator
final ConfigSectionPluginsSWT.FilterComparator comparator
-
pluginIFs
java.util.List<PluginInterface> pluginIFs
-
table
private org.eclipse.swt.widgets.Table table
-
imgRedLed
private org.eclipse.swt.graphics.Image imgRedLed
-
imgGreenLed
private org.eclipse.swt.graphics.Image imgGreenLed
-
-
Method Detail
-
create
public void create(org.eclipse.swt.widgets.Composite infoGroup)
Description copied from interface:UISWTParameterContext
This method is invoked when the config section is going to be displayed in a SWT user interface.- Specified by:
create
in interfaceUISWTParameterContext
- Parameters:
infoGroup
- The parent composite object which will contain the SWT object.
-
rebuildPluginIFs
private java.util.List<PluginInterface> rebuildPluginIFs()
-
parameterChanged
public void parameterChanged(java.lang.String parameterName)
Description copied from interface:ParameterListener
Called, when a parameter has changed. The listener could only react if the parameter name is relevant. Or the listener can just read all parameters again.- Specified by:
parameterChanged
in interfaceParameterListener
- Parameters:
parameterName
- the name of the parameter that has changed
-
-