diff options
author | 2019-08-01 14:49:53 +0200 | |
---|---|---|
committer | 2019-08-01 14:49:53 +0200 | |
commit | 972baab642bd889d2c3476c0c9e17a6929e0c318 (patch) | |
tree | 8f724cb348c60e4fc45d446d8532988ed8e40748 /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend | |
parent | Counting scope propagator (simpler than BasicTypeHierarchy) (diff) | |
download | VIATRA-Generator-972baab642bd889d2c3476c0c9e17a6929e0c318.tar.gz VIATRA-Generator-972baab642bd889d2c3476c0c9e17a6929e0c318.tar.zst VIATRA-Generator-972baab642bd889d2c3476c0c9e17a6929e0c318.zip |
[Stochastic] Remove fault tree support for now
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend')
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend deleted file mode 100644 index 47c9ebdf..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ui/src/hu/bme/mit/inf/dslreasoner/faulttree/components/ui/syntaxcoloring/CftLanguageSemanticHighlightingCalculator.xtend +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.ui.syntaxcoloring | ||
2 | |||
3 | import hu.bme.mit.inf.dslreasoner.faulttree.model.cft.KOfMGateDefinition | ||
4 | import org.eclipse.emf.ecore.EObject | ||
5 | import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator | ||
6 | import org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor | ||
7 | import org.eclipse.xtext.util.CancelIndicator | ||
8 | |||
9 | import static hu.bme.mit.inf.dslreasoner.faulttree.model.cft.CftPackage.Literals.* | ||
10 | import static org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration.* | ||
11 | |||
12 | class CftLanguageSemanticHighlightingCalculator extends DefaultSemanticHighlightingCalculator { | ||
13 | protected dispatch def highlightElement(KOfMGateDefinition gate, IHighlightedPositionAcceptor acceptor, | ||
14 | CancelIndicator cancelIndicator) { | ||
15 | acceptor.highlightFeature(gate, KOF_MGATE_DEFINITION__K, KEYWORD_ID) | ||
16 | acceptor.highlightFeature(gate, KOF_MGATE_DEFINITION__M, KEYWORD_ID) | ||
17 | false | ||
18 | } | ||
19 | |||
20 | protected dispatch def highlightElement(EObject eObject, IHighlightedPositionAcceptor acceptor, | ||
21 | CancelIndicator cancelIndicator) { | ||
22 | super.highlightElement(eObject, acceptor, cancelIndicator) | ||
23 | } | ||
24 | } | ||