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 Object
implements UISWTParameterContext, ParameterListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int[]private static final String[]private static final int[](package private) final ConfigSectionPluginsSWT.FilterComparatorprivate org.eclipse.swt.graphics.Imageprivate org.eclipse.swt.graphics.Image(package private) List<PluginInterface> private org.eclipse.swt.widgets.Table -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(org.eclipse.swt.widgets.Composite infoGroup) This method is invoked when the config section is going to be displayed in a SWT user interface.voidparameterChanged(String parameterName) Called, when a parameter has changed.private List<PluginInterface>
-
Field Details
-
COLUMN_HEADERS
-
COLUMN_SIZES
private static final int[] COLUMN_SIZES -
COLUMN_ALIGNS
private static final int[] COLUMN_ALIGNS -
comparator
-
pluginIFs
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
-
-
Constructor Details
-
PluginListContext
public PluginListContext()
-
-
Method Details
-
create
public void create(org.eclipse.swt.widgets.Composite infoGroup) Description copied from interface:UISWTParameterContextThis method is invoked when the config section is going to be displayed in a SWT user interface.- Specified by:
createin interfaceUISWTParameterContext- Parameters:
infoGroup- The parent composite object which will contain the SWT object.
-
rebuildPluginIFs
-
parameterChanged
Description copied from interface:ParameterListenerCalled, 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:
parameterChangedin interfaceParameterListener- Parameters:
parameterName- the name of the parameter that has changed
-