$search
00001 00002 /* 00003 * generated by Xtext 00004 */ 00005 package org.best.of.robotics.ui; 00006 00007 import org.eclipse.xtext.ui.DefaultUiModule; 00008 import org.eclipse.ui.plugin.AbstractUIPlugin; 00009 00013 @SuppressWarnings("all") 00014 public abstract class AbstractSmachDSLUiModule extends DefaultUiModule { 00015 00016 public AbstractSmachDSLUiModule(AbstractUIPlugin plugin) { 00017 super(plugin); 00018 } 00019 00020 00021 // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment 00022 public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() { 00023 return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); 00024 } 00025 00026 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment 00027 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() { 00028 return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class; 00029 } 00030 00031 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment 00032 public void configureHighlightingLexer(com.google.inject.Binder binder) { 00033 binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.best.of.robotics.parser.antlr.internal.InternalSmachDSLLexer.class); 00034 } 00035 00036 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment 00037 public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) { 00038 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); 00039 } 00040 00041 // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment 00042 public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() { 00043 return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class; 00044 } 00045 00046 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment 00047 public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { 00048 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); 00049 } 00050 00051 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment 00052 public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() { 00053 return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class; 00054 } 00055 00056 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment 00057 public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { 00058 binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); 00059 } 00060 00061 // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment 00062 public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() { 00063 return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class; 00064 } 00065 00066 // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment 00067 public Class<? extends org.eclipse.xtext.builder.IXtextBuilderParticipant> bindIXtextBuilderParticipant() { 00068 return org.eclipse.xtext.builder.BuilderParticipant.class; 00069 } 00070 00071 // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment 00072 public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() { 00073 return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot(); 00074 } 00075 00076 // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment 00077 public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) { 00078 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); 00079 } 00080 00081 // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment 00082 public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() { 00083 return org.best.of.robotics.ui.labeling.SmachDSLLabelProvider.class; 00084 } 00085 00086 // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment 00087 public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { 00088 binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.best.of.robotics.ui.labeling.SmachDSLDescriptionLabelProvider.class); 00089 } 00090 00091 // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment 00092 public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() { 00093 return org.best.of.robotics.ui.outline.SmachDSLOutlineTreeProvider.class; 00094 } 00095 00096 // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment 00097 public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() { 00098 return org.best.of.robotics.ui.outline.SmachDSLOutlineTreeProvider.class; 00099 } 00100 00101 // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment 00102 public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() { 00103 return org.best.of.robotics.ui.quickfix.SmachDSLQuickfixProvider.class; 00104 } 00105 00106 // contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment 00107 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() { 00108 return org.best.of.robotics.ui.contentassist.SmachDSLProposalProvider.class; 00109 } 00110 00111 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment 00112 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() { 00113 return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class; 00114 } 00115 00116 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment 00117 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() { 00118 return org.best.of.robotics.ui.contentassist.antlr.SmachDSLParser.class; 00119 } 00120 00121 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment 00122 public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { 00123 binder.bind(org.best.of.robotics.ui.contentassist.antlr.internal.InternalSmachDSLLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.best.of.robotics.ui.contentassist.antlr.internal.InternalSmachDSLLexer.class)); 00124 } 00125 00126 // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment 00127 public void configureContentAssistLexer(com.google.inject.Binder binder) { 00128 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(org.best.of.robotics.ui.contentassist.antlr.internal.InternalSmachDSLLexer.class); 00129 } 00130 00131 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment 00132 public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameStrategy> bindIRenameStrategy() { 00133 return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class; 00134 } 00135 00136 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment 00137 public Class<? extends org.eclipse.xtext.ui.refactoring.IReferenceUpdater> bindIReferenceUpdater() { 00138 return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class; 00139 } 00140 00141 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment 00142 public void configureIPreferenceStoreInitializer(com.google.inject.Binder binder) { 00143 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); 00144 } 00145 00146 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment 00147 public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider> bindIRenameRefactoringProvider() { 00148 return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class; 00149 } 00150 00151 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment 00152 public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameSupport.Factory> bindIRenameSupport$Factory() { 00153 return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport.Factory.class; 00154 } 00155 00156 // contributed by org.eclipse.xtext.ui.generator.refactoring.RefactorElementNameFragment 00157 public Class<? extends org.eclipse.xtext.ui.refactoring.ui.IRenameElementHandler> bindIRenameElementHandler() { 00158 return org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler.class; 00159 } 00160 00161 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00162 public java.lang.ClassLoader bindClassLoaderToInstance() { 00163 return getClass().getClassLoader(); 00164 } 00165 00166 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00167 public Class<? extends org.eclipse.xtext.common.types.access.IJvmTypeProvider.Factory> bindIJvmTypeProvider$Factory() { 00168 return org.eclipse.xtext.common.types.access.jdt.JdtTypeProviderFactory.class; 00169 } 00170 00171 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00172 public Class<? extends org.eclipse.xtext.common.types.xtext.AbstractTypeScopeProvider> bindAbstractTypeScopeProvider() { 00173 return org.eclipse.xtext.common.types.xtext.ui.JdtBasedSimpleTypeScopeProvider.class; 00174 } 00175 00176 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00177 public Class<? extends org.eclipse.xtext.common.types.xtext.ui.ITypesProposalProvider> bindITypesProposalProvider() { 00178 return org.eclipse.xtext.common.types.xtext.ui.JdtTypesProposalProvider.class; 00179 } 00180 00181 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00182 public Class<? extends org.eclipse.xtext.common.types.access.jdt.IJavaProjectProvider> bindIJavaProjectProvider() { 00183 return org.eclipse.xtext.common.types.xtext.ui.XtextResourceSetBasedProjectProvider.class; 00184 } 00185 00186 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00187 public Class<? extends org.eclipse.xtext.ui.editor.hyperlinking.IHyperlinkHelper> bindIHyperlinkHelper() { 00188 return org.eclipse.xtext.common.types.xtext.ui.TypeAwareHyperlinkHelper.class; 00189 } 00190 00191 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00192 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher() { 00193 return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class; 00194 } 00195 00196 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00197 public Class<? extends org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator> bindAbstractJavaBasedContentProposalProvider$ReferenceProposalCreator() { 00198 return org.eclipse.xtext.common.types.xtext.ui.TypeAwareReferenceProposalCreator.class; 00199 } 00200 00201 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00202 public Class<? extends org.eclipse.xtext.ui.editor.IValidationJobScheduler> bindIValidationJobScheduler() { 00203 return org.eclipse.xtext.common.types.xtext.ui.JdtValidationJobScheduler.class; 00204 } 00205 00206 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00207 public Class<? extends org.eclipse.xtext.ui.refactoring.impl.RefactoringResourceSetProvider> bindRefactoringResourceSetProvider() { 00208 return org.eclipse.xtext.common.types.ui.refactoring.JvmRefactoringResourceSetProvider.class; 00209 } 00210 00211 // contributed by org.eclipse.xtext.generator.types.TypesGeneratorFragment 00212 public Class<? extends org.eclipse.xtext.common.types.ui.query.IJavaSearchParticipation> bindIJavaSearchParticipation() { 00213 return org.eclipse.xtext.common.types.ui.query.IJavaSearchParticipation.Yes.class; 00214 } 00215 00216 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment 00217 public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.preferences.TemplatesLanguageConfiguration> provideTemplatesLanguageConfiguration() { 00218 return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); 00219 } 00220 00221 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment 00222 public com.google.inject.Provider<org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistry> provideLanguageRegistry() { 00223 return org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator.getLanguageRegistry(); 00224 } 00225 00226 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment 00227 @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar> bindLanguageRegistrar() { 00228 return org.eclipse.xtext.ui.codetemplates.ui.registry.LanguageRegistrar.class; 00229 } 00230 00231 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment 00232 public Class<? extends org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage> bindXtextTemplatePreferencePage() { 00233 return org.eclipse.xtext.ui.codetemplates.ui.preferences.AdvancedTemplatesPreferencePage.class; 00234 } 00235 00236 // contributed by org.eclipse.xtext.ui.generator.templates.CodetemplatesGeneratorFragment 00237 public Class<? extends org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialContentAssistParser> bindIPartialContentAssistParser() { 00238 return org.best.of.robotics.ui.contentassist.antlr.PartialSmachDSLContentAssistParser.class; 00239 } 00240 00241 // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment 00242 public Class<? extends org.eclipse.compare.IViewerCreator> bindIViewerCreator() { 00243 return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class; 00244 } 00245 00246 00247 }