Class StringSwtParameter

    • Constructor Detail

      • StringSwtParameter

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

        public StringSwtParameter​(org.eclipse.swt.widgets.Composite composite,
                                  java.lang.String paramID,
                                  java.lang.String labelKey,
                                  java.lang.String suffixLabelKey,
                                  SwtParameterValueProcessor<StringSwtParameter,​java.lang.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