/*
* generated by Xtext
*/
package de.gebit.integrity.ui;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
* Manual modifications go to {de.gebit.integrity.ui.DSLUiModule}
*/
@SuppressWarnings("all")
public abstract class AbstractDSLUiModule extends org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule {
public AbstractDSLUiModule(AbstractUIPlugin plugin) {
super(plugin);
}
// contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureHighlightingLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(de.gebit.integrity.parser.antlr.internal.InternalDSLLexer.class);
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
}
// contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class;
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() {
return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
public Class<? extends org.eclipse.xtext.generator.IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() {
return org.eclipse.xtext.builder.EclipseOutputConfigurationProvider.class;
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class);
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class;
}
// contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
public Class<? extends org.eclipse.xtext.builder.IXtextBuilderParticipant> bindIXtextBuilderParticipant() {
return org.eclipse.xtext.builder.BuilderParticipant.class;
}
// contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() {
return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot();
}
// contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class);
}
// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
return de.gebit.integrity.ui.labeling.DSLLabelProvider.class;
}
// contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) {
binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(de.gebit.integrity.ui.labeling.DSLDescriptionLabelProvider.class);
}
// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
return de.gebit.integrity.ui.outline.DSLOutlineTreeProvider.class;
}
// contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
return de.gebit.integrity.ui.outline.DSLOutlineTreeProvider.class;
}
// contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() {
return de.gebit.integrity.ui.quickfix.DSLQuickfixProvider.class;
}
// contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment
public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() {
return de.gebit.integrity.ui.contentassist.DSLProposalProvider.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() {
return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() {
return de.gebit.integrity.ui.contentassist.antlr.DSLParser.class;
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
public void configureContentAssistLexerProvider(com.google.inject.Binder binder) {
binder.bind(de.gebit.integrity.ui.contentassist.antlr.internal.InternalDSLLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(de.gebit.integrity.ui.contentassist.antlr.internal.InternalDSLLexer.class));
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
public void configureContentAssistLexer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(de.gebit.integrity.ui.contentassist.antlr.internal.InternalDSLLexer.class);
}
// contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment
public Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher() {
return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class;
}
// contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() {
return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider();
}
// contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry> provideLanguageRegistry() {
return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry();
}
// contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
@org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar> bindLanguageRegistrar() {
return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class;
}
// contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
public Class<? extends org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() {
return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class;
}
// contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment
public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser> bindIPartialContentAssistParser() {
return de.gebit.integrity.ui.contentassist.antlr.PartialDSLContentAssistParser.class;
}
// contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameStrategy> bindIRenameStrategy() {
return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class;
}
// contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
public Class<? extends org.eclipse.xtext.ui.refactoring.IReferenceUpdater> bindIReferenceUpdater() {
return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class;
}
// contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("RefactoringPreferences")).to(org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferences.Initializer.class);
}
// contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class;
}
// contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment
public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameSupport.Factory> bindIRenameSupport$Factory() {
return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class;
}
// contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment
public Class<? extends org.eclipse.compare.IViewerCreator> bindIViewerCreator() {
return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class;
}
}