Class StringAreaSwtParameter

All Implemented Interfaces:
SwtParameter<String>

public class StringAreaSwtParameter extends BaseSwtParameter<StringAreaSwtParameter,String>
SWT widget representing a multiline String Parameter
  • Field Details

    • inputField

      private final org.eclipse.swt.widgets.Text inputField
    • lblSuffix

      private org.eclipse.swt.widgets.Label lblSuffix
    • lblSuffixGap

      private org.eclipse.swt.widgets.Label lblSuffixGap
  • Constructor Details

    • StringAreaSwtParameter

      public StringAreaSwtParameter(org.eclipse.swt.widgets.Composite curComposite, StringParameterImpl pluginParam)
    • StringAreaSwtParameter

      public StringAreaSwtParameter(org.eclipse.swt.widgets.Composite composite, String configID, String labelKey, String suffixKey, int numLinesToShow, SwtParameterValueProcessor<StringAreaSwtParameter,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
      labelKey - Messagebundle key for the text shown before text box. null for no label, "" to allocate blank label
      suffixKey - 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
      paramID - ID of the parameter (usually config id)
  • Method Details