Package org.eclipse.emf.cdo.view
Interface CDOUnitManager
-
- All Superinterfaces:
org.eclipse.net4j.util.container.IContainer<CDOUnit>
,org.eclipse.net4j.util.event.INotifier
public interface CDOUnitManager extends org.eclipse.net4j.util.container.IContainer<CDOUnit>
- Since:
- 4.5
- 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 Modifier and Type Interface Description static class
CDOUnitManager.UnitExistsException
An uncheckedCDOException
being thrown fromCDOUnitManager.createUnit()
to indicate that the given root object already is theroot
of an existingunit
.static class
CDOUnitManager.UnitNotFoundException
An uncheckedCDOException
being thrown fromCDOUnitManager.openUnit()
to indicate that nounit
exists for the given root object.-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOUnit
createUnit(EObject root, boolean open, IProgressMonitor monitor)
CDOUnit
getOpenUnit(EObject object)
CDOUnit[]
getOpenUnits()
CDOView
getView()
boolean
isAutoResourceUnitsEnabled()
boolean
isUnit(EObject root)
CDOUnit
openUnit(EObject root, boolean createOnDemand, IProgressMonitor monitor)
void
setAutoResourceUnitsEnabled(boolean enabled)
-
-
-
Method Detail
-
getView
CDOView getView()
-
isUnit
boolean isUnit(EObject root)
-
createUnit
CDOUnit createUnit(EObject root, boolean open, IProgressMonitor monitor) throws CDOUnitManager.UnitExistsException
-
openUnit
CDOUnit openUnit(EObject root, boolean createOnDemand, IProgressMonitor monitor) throws CDOUnitManager.UnitNotFoundException
-
getOpenUnits
CDOUnit[] getOpenUnits()
-
isAutoResourceUnitsEnabled
boolean isAutoResourceUnitsEnabled()
-
setAutoResourceUnitsEnabled
void setAutoResourceUnitsEnabled(boolean enabled)
-
-