Package com._1c.g5.v8.dt.core.platform
Interface IMdObjectByTypeProvider
-
public interface IMdObjectByTypeProvider
Provider that allow client to get effective (i.e. project relation aware) collections of object of specified type. Clients can get top objects from this provider as they can get it from configuration object, but provider can give collection of effective value, for example: get all common pictures/commands/common attributes from configuration of base project if client specify extension project. No inheritance support, so you can't specify base type to get all objects. Internal EDT usage only.- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends MdObject>
Collection<T>getEffectiveObjects(Class<T> type, IDtProject project)
Get effective (project relation aware) collection of top object by specified type and project<T extends MdObject>
Collection<T>getEffectiveObjects(Class<T> type, org.eclipse.emf.ecore.EObject object)
Get effective (project relation aware) collection of top object by specified type and EObject
-
-
-
Method Detail
-
getEffectiveObjects
<T extends MdObject> Collection<T> getEffectiveObjects(Class<T> type, IDtProject project)
Get effective (project relation aware) collection of top object by specified type and project- Parameters:
type
- the required object type, notnull
project
- the current project, notnull
- Returns:
- coolection of objects from specified project or from it's base project, not
null
-
getEffectiveObjects
<T extends MdObject> Collection<T> getEffectiveObjects(Class<T> type, org.eclipse.emf.ecore.EObject object)
Get effective (project relation aware) collection of top object by specified type and EObject- Parameters:
type
- the required object type, notnull
object
- the EObject, notnull
- Returns:
- coolection of objects from specified object project or from it's base project, not
null
-
-