Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 42c57dc7d9293f6778f0f21376acdf11597f6d00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*******************************************************************************
 * Copyright (c) 2011 protos software gmbh (http://www.protos.de).
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * CONTRIBUTORS:
 * 		juergen.haug@protos.de (initial contribution)
 * 
 *******************************************************************************/

package org.eclipse.etrice.core.ui.highlight

import org.eclipse.etrice.expressions.ui.highlight.AbstractHighlightStyles

import static org.eclipse.etrice.core.ui.highlight.RoomHighlightingConfiguration.*
import static org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration.*

class XtextHighlightStyles extends AbstractHighlightStyles {

	override getDefault() {
		// xtext settings
		DEFAULT_ID
	}
	
	override getTargetKeyword() {
		// xtext settings
		KEYWORD_ID
	}
	
	override getComment() {
		// xtext settings
		COMMENT_ID
	}
	
	override getString() {
		// xtext settings
		STRING_ID
	}
	
	override getNumber() {
		// xtext settings
		NUMBER_ID
	}
	
	override getSpecialFeature() {
		HL_EXPR_SPECIAL_FEATURE_ID
	}
	
	override getOperation() {
		HL_EXPR_OPERATION_ID
	}
	
	override getAttribute() {
		HL_EXPR_ATTRIBUTE_ID
	}
	
	override getInterfaceItem() {
		HL_EXPR_INTERFACE_ITEM_ID
	}
	
	override getEnum() {
		HL_EXPR_ENUM_ID
	}
	
	override getDataClass() {
		HL_EXPR_DATA_CLASS_ID
	}
	
	override getPrimitiveType() {
		HL_PRIMITIVE_TYPE_ID
	}
	
	override getExternalType() {
		HL_EXTERNAL_TYPE_ID
	}
	
}

Back to the top