Class LanguageValue


public class LanguageValue extends AbstractValue<LanguageCompilerSpecPair>
Value class for LanguageCompilerSpecPair types. The component for this class is a TextField with a browse button for bringing up a language/compiler chooser. It supports the concept of no value when the text field is empty. If it is not empty, the the contents must be one of the known valid language/compiler spec pairs.

This class and other subclasses of AbstractValue are part of a subsystem for easily defining a set of values that can be displayed in an input dialog (ValuesMapDialog). Typically, these values are created indirectly using a GValuesMap which is then given to the constructor of the dialog. However, an alternate approach is to create the dialog without a ValuesMap and then use its ValuesMapDialog.addValue(AbstractValue) method directly.