|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A global registry of view provider
implementations.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer |
---|
IContainer.Modifiable<E> |
Field Summary | |
---|---|
static CDOViewProviderRegistry |
INSTANCE
|
Method Summary | |
---|---|
void |
addViewProvider(CDOViewProvider viewProvider)
Registers the given view provider instance with this registry. |
CDOViewProvider[] |
getViewProviders(URI uri)
Returns an array of CDOViewProvider instances, determined and ordered by certain criteria based on the
argument URI. |
boolean |
hasViewProvider(CDOViewProvider viewProvider)
Returns true if the given view provider instance is registered with this registry, false
otherwise. |
CDOView |
provideView(URI uri,
ResourceSet viewSet)
Returns a view that serves the given URI in the given view set , or
null if no view provider in this registry can provide such a view. |
Pair<CDOView,CDOViewProvider> |
provideViewWithInfo(URI uri,
ResourceSet resourceSet)
Returns a view that serves the given URI in the given view set , or
null if no view provider in this registry can provide such a view. |
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 Detail |
---|
static final CDOViewProviderRegistry INSTANCE
Method Detail |
---|
CDOView provideView(URI uri, ResourceSet viewSet)
view
that serves the given URI in the given view set
, or
null
if no view provider
in this registry can provide such a view.
Pair<CDOView,CDOViewProvider> provideViewWithInfo(URI uri, ResourceSet resourceSet)
view
that serves the given URI in the given view set
, or
null
if no view provider
in this registry can provide such a view. The
returned pair
contains the provider that provided the view or null if the view was already present in
the view set
of the resource set.
CDOViewProvider[] getViewProviders(URI uri)
CDOViewProvider
instances, determined and ordered by certain criteria based on the
argument URI.
boolean hasViewProvider(CDOViewProvider viewProvider)
true
if the given view provider instance is registered with this registry, false
otherwise.
void addViewProvider(CDOViewProvider viewProvider)
void removeViewProvider(CDOViewProvider viewProvider)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |