Class StringSwtParameter

All Implemented Interfaces:
SwtParameter<String>

public class StringSwtParameter extends BaseSwtStringParameter<StringSwtParameter>
SWT widget representing a String Parameter
  • Constructor Details

    • StringSwtParameter

      public StringSwtParameter(org.eclipse.swt.widgets.Composite parent, StringParameterImpl pluginParam)
    • StringSwtParameter

      public StringSwtParameter(org.eclipse.swt.widgets.Composite composite, String paramID, String labelKey, String suffixLabelKey, SwtParameterValueProcessor<StringSwtParameter,String> valueProcessor)
      Make SWT components representing a String Parameter

      When parent composite is of GridLayout, resulting new widgets will take 2 columns

      Parameters:
      composite - Where widgets will be placed. Composite is not altered
      paramID - ID of the parameter (usually config id)
      labelKey - Messagebundle key for the text shown before text box. null for no label, "" to allocate blank label
      suffixLabelKey - Messagebundle key for text shown after the text box null for no suffix label, "" to allocate blank suffix label
      valueProcessor - null if you want to use COConfigurationManager