Package org.eclipse.emf.cdo.view
Interface CDOViewProviderRegistry
- All Superinterfaces:
org.eclipse.net4j.util.container.IContainer<CDOViewProvider>
,org.eclipse.net4j.util.event.INotifier
public interface CDOViewProviderRegistry
extends org.eclipse.net4j.util.container.IContainer<CDOViewProvider>
A global registry of
view provider
implementations.- Since:
- 2.0
- Author:
- Victor Roldan Betancort
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addViewProvider
(CDOViewProvider viewProvider) Registers the given view provider instance with this registry.getViewProviders
(URI uri) Returns an array ofCDOViewProvider
instances, determined and ordered by certain criteria based on the argument URI.boolean
hasViewProvider
(CDOViewProvider viewProvider) Returnstrue
if the given view provider instance is registered with this registry,false
otherwise.provideView
(URI uri, ResourceSet viewSet) Returns aview
that serves the given URI in the givenview set
, ornull
if noview provider
in this registry can provide such a view.org.eclipse.net4j.util.collection.Pair<CDOView,
CDOViewProvider> provideViewWithInfo
(URI uri, ResourceSet resourceSet) Deprecated.As of 4.4.void
removeViewProvider
(CDOViewProvider viewProvider) Removes the given view provider instance from this registry.Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Field Details
-
INSTANCE
-
-
Method Details
-
provideView
Returns aview
that serves the given URI in the givenview set
, ornull
if noview provider
in this registry can provide such a view. -
provideViewWithInfo
@Deprecated org.eclipse.net4j.util.collection.Pair<CDOView,CDOViewProvider> provideViewWithInfo(URI uri, ResourceSet resourceSet) Deprecated.As of 4.4. useprovideView(URI, ResourceSet)
.getProvider().Returns aview
that serves the given URI in the givenview set
, ornull
if noview provider
in this registry can provide such a view. The returnedpair
contains the provider that provided the view or null if the view was already present in theview set
of the resource set.- Since:
- 4.0
-
getViewProviders
Returns an array ofCDOViewProvider
instances, determined and ordered by certain criteria based on the argument URI. -
hasViewProvider
Returnstrue
if the given view provider instance is registered with this registry,false
otherwise.- Since:
- 4.0
-
addViewProvider
Registers the given view provider instance with this registry. -
removeViewProvider
Removes the given view provider instance from this registry.
-