本文整理汇总了Java中org.eclipse.xtext.ui.shared.Access.contributedProvider方法的典型用法代码示例。如果您正苦于以下问题:Java Access.contributedProvider方法的具体用法?Java Access.contributedProvider怎么用?Java Access.contributedProvider使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.xtext.ui.shared.Access
的用法示例。
在下文中一共展示了Access.contributedProvider方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: provideGitCloneSupplier
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Re-binds the {@link GitCloneSupplier} to the singleton instance declared in the contribution module.
*/
public Provider<GitCloneSupplier> provideGitCloneSupplier() {
return Access.contributedProvider(GitCloneSupplier.class);
}
示例2: provideWorkingSetManagerBroker
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Binds the broker for the working set managers in a singleton scope.
*/
public Provider<WorkingSetManagerBroker> provideWorkingSetManagerBroker() {
return Access.contributedProvider(WorkingSetManagerBroker.class);
}
示例3: provideWorkingSetManagerBrokerImpl
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Binds the broker implementation for the working set managers in a singleton scope.
*/
public Provider<WorkingSetManagerBrokerImpl> provideWorkingSetManagerBrokerImpl() {
return Access.contributedProvider(WorkingSetManagerBrokerImpl.class);
}
示例4: provideTypeDefinitionGitLocationProvider
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Binds the type definition Git location provider.
*/
public Provider<TypeDefinitionGitLocationProvider> provideTypeDefinitionGitLocationProvider() {
return Access.contributedProvider(TypeDefinitionGitLocationProvider.class);
}
示例5: provideIN4JSEclipseCore
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Configure the IN4JSCore instance to use the implementation that is backed by the Eclipse workspace.
*/
public Provider<IN4JSEclipseCore> provideIN4JSEclipseCore() {
return Access.contributedProvider(IN4JSEclipseCore.class);
}
示例6: provideEclipseBasedN4JSWorkspace
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Configure the IN4JSCore instance to use the implementation that is backed by the Eclipse workspace.
*/
public Provider<EclipseBasedN4JSWorkspace> provideEclipseBasedN4JSWorkspace() {
return Access.contributedProvider(EclipseBasedN4JSWorkspace.class);
}
示例7: provideN4JSExternalLibraryWorkspace
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Re-binds the {@link Singleton @Singleton} {@link ExternalLibraryWorkspace N4JS external library workspace}
* instance declared and created in the {@link N4JSRuntimeModule}.
*/
public Provider<ExternalLibraryWorkspace> provideN4JSExternalLibraryWorkspace() {
return Access.contributedProvider(ExternalLibraryWorkspace.class);
}
示例8: provideExternalLibraryPreferenceStore
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Binds the external library preference store to use the {@link OsgiExternalLibraryPreferenceStore OSGi} one. This
* provider binding is required to share the same singleton instance between modules, hence injectors.
*/
public Provider<ExternalLibraryPreferenceStore> provideExternalLibraryPreferenceStore() {
return Access.contributedProvider(ExternalLibraryPreferenceStore.class);
}
示例9: provideBinariesPreferenceStore
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Binds the binaries preference store to use the {@link OsgiBinariesPreferenceStore} one. This provider binding is
* required to share the same singleton instance between modules, hence injectors.
*/
public Provider<BinariesPreferenceStore> provideBinariesPreferenceStore() {
return Access.contributedProvider(BinariesPreferenceStore.class);
}
示例10: provideTargetPlatformInstallLocationProvider
import org.eclipse.xtext.ui.shared.Access; //导入方法依赖的package包/类
/**
* Binds the target platform location provider to the Eclipse based implementation. This requires a running
* {@link Platform platform} and an existing and available {@link IWorkspace workspace}.
*/
public Provider<TargetPlatformInstallLocationProvider> provideTargetPlatformInstallLocationProvider() {
return Access.contributedProvider(TargetPlatformInstallLocationProvider.class);
}