org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategy Java Examples
The following examples show how to use
org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategy.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: XtendUiModule.java From xtext-xtend with Eclipse Public License 2.0 | 5 votes |
public void configureDebugMode(Binder binder) { if (Boolean.getBoolean("org.eclipse.xtext.xtend.debug")) { binder.bindConstant().annotatedWith(Names.named(AbstractEditStrategy.DEBUG)).to(true); } // matches ID of org.eclipse.ui.contexts extension registered in plugin.xml binder.bindConstant().annotatedWith(Names.named(XtextEditor.KEY_BINDING_SCOPE)).to("org.eclipse.xtend.ide.XtendEditorScope"); }
Example #2
Source File: SARLUiModule.java From sarl with Apache License 2.0 | 5 votes |
public void configureDebugMode(Binder binder) { if (Boolean.getBoolean("io.sarl.lang.debug") //$NON-NLS-1$ || Boolean.getBoolean("org.eclipse.xtext.xtend.debug")) { //$NON-NLS-1$ binder.bindConstant().annotatedWith(Names.named(AbstractEditStrategy.DEBUG)).to(true); } // matches ID of org.eclipse.ui.contexts extension registered in plugin.xml binder.bindConstant().annotatedWith(Names.named(XtextEditor.KEY_BINDING_SCOPE)) .to("io.sarl.lang.ui.scoping.SARLEditorScope"); //$NON-NLS-1$ }
Example #3
Source File: SimpleBeeLangTestLanguageUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override public void configure(Binder binder) { super.configure(binder); binder.bindConstant().annotatedWith(Names.named(AbstractEditStrategy.DEBUG)).to(true); }
Example #4
Source File: BmTestLanguageUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override public void configure(Binder binder) { super.configure(binder); binder.bindConstant().annotatedWith(Names.named(AbstractEditStrategy.DEBUG)).to(true); }