org.eclipse.xtext.ui.editor.embedded.EmbeddedEditorFactory Java Examples

The following examples show how to use org.eclipse.xtext.ui.editor.embedded.EmbeddedEditorFactory. 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: TemplatesLanguageConfiguration.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public EmbeddedEditorFactory getEmbeddedEditorFactory() {
	return editorFactory;
}
 
Example #2
Source File: TemplatesLanguageConfiguration.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void setEmbeddedEditorFactory(EmbeddedEditorFactory factory) {
	this.editorFactory = factory;
}
 
Example #3
Source File: XbaseHoverConfiguration.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public EmbeddedEditorFactory getEditorFactory() {
	return editorFactory;
}
 
Example #4
Source File: StatechartDefinitionSection.java    From statecharts with Eclipse Public License 1.0 4 votes vote down vote up
protected EmbeddedEditor createEmbeddedEditor() {
	Injector embeddedEditorInjector = getEmbeddedStatechartSpecificationInjector();
	EmbeddedEditorFactory instance = embeddedEditorInjector.getInstance(EmbeddedEditorFactory.class);
	IEditedResourceProvider provider = getXtextResourceProvider(embeddedEditorInjector);
	return instance.newEditor(provider).showErrorAndWarningAnnotations().withParent(this);
}