source: default/trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/EbnfRuntimeModule.java @ 5

Last change on this file since 5 was 5, checked in by zeiss, 14 years ago
  • Property svn:mime-type set to text/plain
File size: 975 bytes
Line 
1/*
2 * generated by Xtext
3 */
4package de.ugoe.cs.swe.bnftools;
5
6import org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider;
7import org.eclipse.xtext.validation.INamesAreUniqueValidationHelper;
8
9import de.ugoe.cs.swe.bnftools.validation.EbnfNamesAreUniqueValidationHelper;
10import de.ugoe.cs.swe.bnftools.valueconverter.EbnfTerminalConverters;
11
12/**
13 * Use this class to register components to be used within the IDE.
14 */
15public class EbnfRuntimeModule extends de.ugoe.cs.swe.bnftools.AbstractEbnfRuntimeModule {
16
17        public Class<? extends org.eclipse.xtext.conversion.IValueConverterService> bindIValueConverterService() {
18                return EbnfTerminalConverters.class;
19        }
20       
21        public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
22                return ImportUriGlobalScopeProvider.class;
23        }
24       
25        public Class<? extends INamesAreUniqueValidationHelper> bindINamesAreUniqueValidationHelper() {
26                return EbnfNamesAreUniqueValidationHelper.class;
27        }
28
29}
Note: See TracBrowser for help on using the repository browser.