Java Code Examples for org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider#IEditStrategyAcceptor

The following examples show how to use org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategyProvider#IEditStrategyAcceptor . 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: 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 2
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);
}