Go to the documentation of this file.00001
00002
00003
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
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
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
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
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
00042 public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
00043 return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class;
00044 }
00045
00046
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
00052 public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() {
00053 return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
00054 }
00055
00056
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
00062 public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
00063 return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class;
00064 }
00065
00066
00067 public Class<? extends org.eclipse.xtext.builder.IXtextBuilderParticipant> bindIXtextBuilderParticipant() {
00068 return org.eclipse.xtext.builder.BuilderParticipant.class;
00069 }
00070
00071
00072 public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() {
00073 return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot();
00074 }
00075
00076
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
00082 public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
00083 return org.best.of.robotics.ui.labeling.SmachDSLLabelProvider.class;
00084 }
00085
00086
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
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
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
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
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
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
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
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
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
00132 public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameStrategy> bindIRenameStrategy() {
00133 return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy.class;
00134 }
00135
00136
00137 public Class<? extends org.eclipse.xtext.ui.refactoring.IReferenceUpdater> bindIReferenceUpdater() {
00138 return org.eclipse.xtext.ui.refactoring.impl.DefaultReferenceUpdater.class;
00139 }
00140
00141
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
00147 public Class<? extends org.eclipse.xtext.ui.refactoring.IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
00148 return org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider.class;
00149 }
00150
00151
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
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
00162 public java.lang.ClassLoader bindClassLoaderToInstance() {
00163 return getClass().getClassLoader();
00164 }
00165
00166
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
00242 public Class<? extends org.eclipse.compare.IViewerCreator> bindIViewerCreator() {
00243 return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class;
00244 }
00245
00246
00247 }