EnumValueName

ide.Java.EnumValueName = Number | Symbol (Default = Number)

Number

This is the default setting:

  • All Enum values are numbered consecutively

  • With leading zeros and preset special characters, e.g. the dollar symbol for Java

  • $001, $002, $003, etc.

Symbol

This argument is used to create more descriptive names for the enum values from the symbols of the condi­tion and action values

Example 1 – targeted at an ‘Enum-Setup’
ide.Java.InterfaceEnum.02: EnumValueName = Symbol; IncludeTagsSource = $$Enum02; Symbol = double

 

Example 2 – As a default setting for all ‘Enum-Setup’
ide.Java.InterfaceEnum.DefaultValues: EnumValueName = Symbol

ide.Java.InterfaceEnum.01: IncludeTagsText = $$Enum01
ide.Java.InterfaceEnum.02: IncludeTagsText = $$Enum02; Symbol = double
ide.Java.InterfaceEnum.03: IncludeTagsText = $$Enum03; Symbol = double; Title

 

Specific features when deriving EnumValueNames from symbols of condition and action values.

  • All characters that are not allowed in a programming language are removed from the name.

  • If a name begins with a digit, it is automa­tically preceded with an '$

Symbol [, UpperCase] [, Prefix$]

The extra option UpperCase is used to turn the name made of symbols additionally into an uppercase name. The name made of symbols is preceded with a '$’ with an aid of the extra option Prefix$.

Entry in an LFET.Project.ini-file:
ide.Java.InterfaceEnum.DefaultValues: EnumValueName = Symbol, UpperCase, Prefix$
Entry in an LFET.Project.yaml-file:
ide.Java:

  InterfaceEnum:
   DefaultValues:
     EnumValueName:
       - Symbol
       - UpperCase
       - Prefix$