org.eclipse.ocl.examples.xtext.essentialocl.ui.model
Class BaseTerminalsTokenTypeToPartitionMapper
java.lang.Object
org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper
org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
org.eclipse.ocl.examples.xtext.essentialocl.ui.model.BaseTerminalsTokenTypeToPartitionMapper
- All Implemented Interfaces:
- org.eclipse.xtext.ui.editor.model.ITokenTypeToPartitionTypeMapper
public class BaseTerminalsTokenTypeToPartitionMapper
- extends org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
Fields inherited from class org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper |
COMMENT_PARTITION, SL_COMMENT_PARTITION, STRING_LITERAL_PARTITION, SUPPORTED_PARTITIONS |
Methods inherited from class org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper |
getPartitionType |
Methods inherited from class org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper |
getMappedValue, initIds, setTokenDefProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRING_LITERAL_PARTITION1
public static final java.lang.String STRING_LITERAL_PARTITION1
- See Also:
- Constant Field Values
STRING_LITERAL_PARTITION2
public static final java.lang.String STRING_LITERAL_PARTITION2
- See Also:
- Constant Field Values
ML_STRING_LITERAL_PARTITION
public static final java.lang.String ML_STRING_LITERAL_PARTITION
- See Also:
- Constant Field Values
DOCUMENTATION_PARTITION
public static final java.lang.String DOCUMENTATION_PARTITION
- See Also:
- Constant Field Values
ESCAPED_ID_PARTITION
public static final java.lang.String ESCAPED_ID_PARTITION
- See Also:
- Constant Field Values
BASE_SUPPORTED_PARTITIONS
protected static final java.lang.String[] BASE_SUPPORTED_PARTITIONS
BaseTerminalsTokenTypeToPartitionMapper
public BaseTerminalsTokenTypeToPartitionMapper()
calculateId
protected java.lang.String calculateId(java.lang.String tokenName,
int tokenType)
- Overrides:
calculateId
in class org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper
getSupportedPartitionTypes
public java.lang.String[] getSupportedPartitionTypes()
- Specified by:
getSupportedPartitionTypes
in interface org.eclipse.xtext.ui.editor.model.ITokenTypeToPartitionTypeMapper
- Overrides:
getSupportedPartitionTypes
in class org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper