/*
 * generated by Xtext
 */
package org.yakindu.base.expressions.ui;

import org.eclipse.ui.plugin.AbstractUIPlugin;

/**
 * Use this class to register components to be used within the IDE.
 */
public class ExpressionsUiModule extends org.yakindu.base.expressions.ui.AbstractExpressionsUiModule {
	public ExpressionsUiModule(AbstractUIPlugin plugin) {
		super(plugin);
	}
}

@@ -115,259 +115,1552 @@
 in;%0A
-%0A/**%0A * Use this class to register components to be used within the IDE.%0A */%0Apublic class ExpressionsUiModule extends org.yakindu.base.expressions.ui.AbstractExpressionsUiModule %7B%0A%09public ExpressionsUiModule(AbstractUIPlugin plugin) %7B%0A%09%09super(plugin);
+import org.eclipse.xtext.ui.editor.model.IResourceForEditorInputFactory;%0Aimport org.eclipse.xtext.ui.editor.model.JavaClassPathResourceForIEditorInputFactory;%0Aimport org.eclipse.xtext.ui.editor.model.ResourceForIEditorInputFactory;%0Aimport org.eclipse.xtext.ui.resource.IResourceSetProvider;%0Aimport org.eclipse.xtext.ui.resource.SimpleResourceSetProvider;%0Aimport org.eclipse.xtext.ui.resource.XtextResourceSetProvider;%0Aimport org.eclipse.xtext.ui.shared.Access;%0A%0A/**%0A * Use this class to register components to be used within the IDE.%0A */%0Apublic class ExpressionsUiModule extends org.yakindu.base.expressions.ui.AbstractExpressionsUiModule %7B%0A%09public ExpressionsUiModule(AbstractUIPlugin plugin) %7B%0A%09%09super(plugin);%0A%09%7D%0A%0A%09public com.google.inject.Provider%3Corg.eclipse.xtext.resource.containers.IAllContainersState%3E provideIAllContainersState() %7B%0A%09%09if (Access.getJdtHelper().get().isJavaCoreAvailable()) %7B%0A%09%09%09return Access.getJavaProjectsState();%0A%09%09%7D else %7B%0A%09%09%09return Access.getWorkspaceProjectsState();%0A%09%09%7D%0A%09%7D%0A%0A%09@Override%0A%09public Class%3C? extends IResourceSetProvider%3E bindIResourceSetProvider() %7B%0A%09%09if (Access.getJdtHelper().get().isJavaCoreAvailable()) %7B%0A%09%09%09return XtextResourceSetProvider.class;%0A%09%09%7D else %7B%0A%09%09%09return SimpleResourceSetProvider.class;%0A%09%09%7D%0A%09%7D%0A%0A%09@Override%0A%09public Class%3C? extends IResourceForEditorInputFactory%3E bindIResourceForEditorInputFactory() %7B%0A%09%09if (Access.getJdtHelper().get().isJavaCoreAvailable()) %7B%0A%09%09%09return JavaClassPathResourceForIEditorInputFactory.class;%0A%09%09%7D else %7B%0A%09%09%09return ResourceForIEditorInputFactory.class;%0A%09%09%7D
 %0A%09%7D%0A

Check if JST is available