Package org.eclipse.emf.cdo.view
Interface CDOViewContainer
- All Superinterfaces:
CDOViewOpener,org.eclipse.net4j.util.container.IContainer<CDOView>,org.eclipse.net4j.util.event.INotifier
- All Known Subinterfaces:
CDONet4jSession,CDOSession,CDOSession,CDOTransactionContainer,InternalCDOSession
public interface CDOViewContainer
extends org.eclipse.net4j.util.container.IContainer<CDOView>, CDOViewOpener
Can open new
views and provide access to openend views.- Since:
- 4.1
- Author:
- Eike Stepper
- 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 -
Method Summary
Modifier and TypeMethodDescriptiongetView(int viewID) CDOView[]getViews()Returns an array of all openviewsandtransactionsof this session.CDOView[]Returns an array of allviewsandtransactionsof this session that are open on the given branch.openView()Opens and returns a newviewon a new EMFresource set.openView(long timeStamp) Opens and returns a newviewon a new EMFresource set.Opens and returns aviewon a new EMFresource setby resuming a view that has previously been made durable by callingCDOView.enableDurableLocking(true).Opens and returns a newviewon a new EMFresource set.Opens and returns a newviewon a new EMFresource set.openView(CDOBranch branch, long timeStamp, ResourceSet resourceSet) Opens and returns a newviewon the given EMFresource set.openView(CDOBranchPoint target) Opens and returns a newviewon a new EMFresource set.openView(ResourceSet resourceSet) Opens and returns a newviewon the given EMFresource set.Methods inherited from interface org.eclipse.emf.cdo.view.CDOViewOpener
openView, openViewMethods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmptyMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
getViews
CDOView[] getViews()Returns an array of all openviewsandtransactionsof this session.- See Also:
-
getViews
Returns an array of allviewsandtransactionsof this session that are open on the given branch.- Since:
- 4.2
-
getView
- Since:
- 4.0
-
openView
Opens and returns a newviewon a new EMFresource set.- Since:
- 4.0
- See Also:
-
openView
Opens and returns a newviewon the given EMFresource set.- Since:
- 3.0
- See Also:
-
openView
Opens and returns a newviewon a new EMFresource set.Same as calling
openView(new ResourceSetImpl()).- Since:
- 3.0
- See Also:
-
openView
Opens and returns a newviewon a new EMFresource set.Same as calling
openView(new ResourceSetImpl()).- Since:
- 3.0
- See Also:
-
openView
Opens and returns a newviewon a new EMFresource set.Same as calling
openView(new ResourceSetImpl()).- Since:
- 3.0
- See Also:
-
openView
Opens and returns a newviewon the given EMFresource set.- Since:
- 4.0
- See Also:
-
openView
CDOView openView()Opens and returns a newviewon a new EMFresource set.Same as calling
openView(new ResourceSetImpl()).- See Also:
-
openView
Opens and returns aviewon a new EMFresource setby resuming a view that has previously been made durable by callingCDOView.enableDurableLocking(true).Same as calling
openView(durableLockingID, new ResourceSetImpl()).- Since:
- 4.0
- See Also:
-