Package com._1c.g5.v8.dt.navigator
Interface IRootObjectProvider
- All Superinterfaces:
- IManagedService
Provider thar allow clients to get root object (configuration, external data processor, external report, etc)
 from the given objects: project, URI, eObject. Also allow to subscribe/unsubscribe to change root object events.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringService name (using in recovery orchestrator)
- 
Method SummaryModifier and TypeMethodDescriptiongetRootObjects(IDtProject project) Return collection of root objects by the given projectgetRootObjects(org.eclipse.core.resources.IProject project) Return collection of root objects by the given projectgetRootObjects(org.eclipse.emf.common.util.URI uri) Return collection of root objects by the given urigetRootObjects(org.eclipse.emf.ecore.EObject eObject) Return collection of root objects by the given eObjectgetRootParent(org.eclipse.emf.ecore.EObject eObject) Returns the root parent of a given object.Methods inherited from interface com._1c.g5.wiring.IManagedServiceactivate, deactivate
- 
Field Details- 
SERVICE_NAMEService name (using in recovery orchestrator)- See Also:
 
 
- 
- 
Method Details- 
getRootObjectsReturn collection of root objects by the given uri- Parameters:
- uri- the URI (not- null)
- Returns:
- the collection of root objects, never null
 
- 
getRootObjectsReturn collection of root objects by the given eObject- Parameters:
- eObject- the EObject (not- null)
- Returns:
- the collection of root objects, never null
 
- 
getRootObjectsReturn collection of root objects by the given project- Parameters:
- project- the IProject (not- null)
- Returns:
- the collection of root objects, never null
 
- 
getRootObjectsReturn collection of root objects by the given project- Parameters:
- project- the- IDtProject, cannot be- null
- Returns:
- the collection of root objects, never null
 
- 
getRootParentReturns the root parent of a given object. The root parent is the top object of the project owning a given EObject. Thus, for configuration projects the root parent is the configuration, for projects with external data processors/reports it is the corresponding external object.- Parameters:
- eObject- The object for which the root parent must be returned
- Returns:
- The root parent of the object
 
 
-