org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider Java Examples

The following examples show how to use org.eclipse.xtext.ui.refactoring.impl.DefaultRenameRefactoringProvider. 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: SharedCommonTypesModule.java    From xtext-eclipse with Eclipse Public License 2.0 5 votes vote down vote up
public void configure(Binder binder) {
	binder.bind(IEObjectHoverProvider.class).to(JdtHoverProvider.class);
	binder.bind(IEObjectHoverDocumentationProvider.class).to(JdtHoverDocumentationProvider.class);
	binder.bind(IResourceServiceProvider.class).to(SharedCommonTypesResourceServiceProvider.class);
	binder.bind(IResourceSetProvider.class).to(XtextResourceSetProvider.class);
	binder.bindConstant().annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).to("java");

	binder.bind(IQualifiedNameProvider.class).to(JvmIdentifiableQualifiedNameProvider.class);
	binder.bind(ICopyQualifiedNameService.class).to(DefaultCopyQualifiedNameService.class);
	binder.bind(IJvmTypeProvider.Factory.class).to(JdtTypeProviderFactory.class);
	binder.bind(IRenameRefactoringProvider.class).to(DefaultRenameRefactoringProvider.class);
	binder.bind(AbstractRenameProcessor.class).to(JvmMemberRenameProcessor.class);
	binder.bind(IRenameStrategy.Provider.class).to(JvmMemberRenameStrategy.Provider.class);
	binder.bind(RefactoringResourceSetProvider.class).to(JvmRefactoringResourceSetProvider.class);
	binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("Java");

	binder.bind(IResourceDescriptions.class).annotatedWith(Names.named(ResourceDescriptionsProvider.LIVE_SCOPE))
			.to(LiveShadowedResourceDescriptions.class);
	binder.bind(IResourceDescriptions.class)
			.annotatedWith(Names.named(ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE))
			.to(CurrentDescriptions.ResourceSetAware.class);
	binder.bind(IResourceDescriptions.class)
			.annotatedWith(Names.named(ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS))
			.to(IBuilderState.class);

	binder.bind(IWorkspaceRoot.class).toInstance(ResourcesPlugin.getWorkspace().getRoot());
	binder.bind(ITraceForStorageProvider.class).to(TraceForStorageProvider.class);

	binder.bind(IReferenceUpdater.class).to(NullReferenceUpdater.class);
}
 
Example #2
Source File: AbstractReferringTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #3
Source File: AbstractGamlUiModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #4
Source File: AbstractHelloWorldUiModule.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #5
Source File: EmfUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * @since 2.1
 */
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #6
Source File: AbstractBuilderTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #7
Source File: AbstractArithmeticsUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #8
Source File: AbstractStatemachineUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #9
Source File: AbstractRefactoringTestLanguage1UiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #10
Source File: AbstractEcore2XtextTestUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #11
Source File: AbstractXtextUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #12
Source File: AbstractSingleCodetemplateUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #13
Source File: AbstractCodetemplatesUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #14
Source File: AbstractN4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #15
Source File: AbstractRefactoringTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #16
Source File: AbstractXmlUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #17
Source File: AbstractNestedRefsTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #18
Source File: AbstractNoJdtTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #19
Source File: AbstractXtextGrammarTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #20
Source File: AbstractFileAwareTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #21
Source File: AbstractMyDslUiModule.java    From M2Doc with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #22
Source File: AbstractBromiumUiModule.java    From bromium with MIT License 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #23
Source File: AbstractTypesUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #24
Source File: AbstractJSONUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}
 
Example #25
Source File: AbstractRegularExpressionUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IRenameRefactoringProvider> bindIRenameRefactoringProvider() {
	return DefaultRenameRefactoringProvider.class;
}