Class StringAreaSwtParameter

    • Field Detail

      • 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 Detail

      • StringAreaSwtParameter

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

        public StringAreaSwtParameter​(org.eclipse.swt.widgets.Composite composite,
                                      java.lang.String configID,
                                      java.lang.String labelKey,
                                      java.lang.String suffixKey,
                                      int numLinesToShow,
                                      SwtParameterValueProcessor<StringAreaSwtParameter,​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
        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