This PR adds the following to org.omg.kerml.xtext.ui:
KerMLAntlrTokenToAttributeIdMapper – This class extends the DefaultAntlrTokenToAttributeIdMapper to appropriately map tokens using the names of the lexical rules in the KerMLExpressions grammar (which is the base for the KerML and SysML grammars).
KerMLHighlightingConfiguration – This class extends the DefaultHighlightingConfiguration so that the default style for numbers is the same as the default text style, because the usual Xtext gray style looks strange for numbers used in multiplicities with *. (The * symbol is also used as the multiplication operator, so it can't be given a number style.)
The org.omg.kerml.xtext.ui.KerMLUIModel and org.omg.sysml.xtext.ui.SysMLUiModel classes have been updated with the appropriate bindings for the above.
This PR adds the following to
org.omg.kerml.xtext.ui
:KerMLAntlrTokenToAttributeIdMapper
– This class extends theDefaultAntlrTokenToAttributeIdMapper
to appropriately map tokens using the names of the lexical rules in theKerMLExpressions
grammar (which is the base for theKerML
andSysML
grammars).KerMLHighlightingConfiguration
– This class extends theDefaultHighlightingConfiguration
so that the default style for numbers is the same as the default text style, because the usual Xtext gray style looks strange for numbers used in multiplicities with*
. (The*
symbol is also used as the multiplication operator, so it can't be given a number style.)The
org.omg.kerml.xtext.ui.KerMLUIModel
andorg.omg.sysml.xtext.ui.SysMLUiModel
classes have been updated with the appropriate bindings for the above.