Changeset 440 for java/Framclipse/com.framsticks.framclipse/src/com/framsticks/framclipse/FramScriptRuntimeModule.java
- Timestamp:
- 10/21/15 02:55:11 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/Framclipse/com.framsticks.framclipse/src/com/framsticks/framclipse/FramScriptRuntimeModule.java
r437 r440 16 16 import com.framsticks.framclipse.script.context.Framscontext; 17 17 import com.framsticks.framclipse.script.model.Framscript; 18 import com.google.inject.Binder; 18 19 import com.thoughtworks.xstream.XStream; 19 20 20 21 /** 21 * Use this class to register components to be used within the IDE.22 * Use this class to register components to be used at runtime / without the Equinox extension registry. 22 23 */ 23 24 public class FramScriptRuntimeModule extends com.framsticks.framclipse.AbstractFramScriptRuntimeModule { … … 56 57 } 57 58 59 @Override 60 public void configureRuntimeLexer(Binder binder) { 61 binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class) 62 .annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)) 63 .to(FramScriptAuxiliaryLexer.class); 64 } 65 58 66 }
Note: See TracChangeset
for help on using the changeset viewer.