org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider Java Examples

The following examples show how to use org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider. 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: N4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return AutoEditStrategyProvider.class;
}
 
Example #2
Source File: JSONUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return JSONAutoEditStrategyProvider.class;
}
 
Example #3
Source File: BmTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return AutoEditStrategy.class;
}
 
Example #4
Source File: XtextUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return XtextAutoEditStrategy.class;
}
 
Example #5
Source File: DomainmodelUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return FantasticEditStrategyProvider.class;
}
 
Example #6
Source File: FantasticEditStrategyProvider.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
protected void configure(final AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor) {
  super.configure(acceptor);
  FantasticEditStrategyProvider.Surprise _surprise = new FantasticEditStrategyProvider.Surprise();
  acceptor.accept(_surprise, IDocument.DEFAULT_CONTENT_TYPE);
}
 
Example #7
Source File: ArithmeticsUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return AutoEditStrategy.class;
}
 
Example #8
Source File: AutoEditStrategy.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
protected void configure(AbstractEditStrategyProvider.IEditStrategyAcceptor acceptor) {
	super.configure(acceptor);
	acceptor.accept(this.interpreterAutoEdit.get(), IDocument.DEFAULT_CONTENT_TYPE);
}
 
Example #9
Source File: DefaultUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return DefaultAutoEditStrategyProvider.class;
}
 
Example #10
Source File: PureXbaseUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return AutoEditStrategyProvider.class;
}
 
Example #11
Source File: DotUiModule.java    From gef with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return DotAutoEditStrategyProvider.class;
}
 
Example #12
Source File: XtendUiModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return AutoEditStrategyProvider.class;
}
 
Example #13
Source File: GamlUiModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
@Override
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return GamaAutoEditStrategyProvider.class;
}
 
Example #14
Source File: AbstractSARLUiModule.java    From sarl with Apache License 2.0 4 votes vote down vote up
public Class<? extends AbstractEditStrategyProvider> bindAbstractEditStrategyProvider() {
	return AutoEditStrategyProvider.class;
}