Class GridCategoryTypeInfoProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.core.typeinfo.category.AbstractCategoryTypeInfoProvider
-
- com._1c.g5.v8.dt.form.typeinfo.category.GridCategoryTypeInfoProvider
-
- All Implemented Interfaces:
ICategoryTypeInfoProvider
,IVersionedCategoryTypeInfoProvider
public class GridCategoryTypeInfoProvider extends AbstractCategoryTypeInfoProvider implements IVersionedCategoryTypeInfoProvider
Implementation ofICategoryTypeInfoProvider
for "GridTypeInfoCategory"
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.platform.core.typeinfo.category.AbstractCategoryTypeInfoProvider
EXTERNAL_DATA_SOURCE_TYPE_NOT_AVAILABLE
-
-
Constructor Summary
Constructors Constructor Description GridCategoryTypeInfoProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<TypeInfo>
get(org.eclipse.xtext.scoping.IScope allTypesScope)
Gets category type infosboolean
hasTypeItemInCategory(TypeItem type)
Check the TypeItem is contains in categoryboolean
hasTypeItemInCategory(TypeItem type, Version version)
Check the TypeItem is contains in category for specified platform version if provided-
Methods inherited from class com._1c.g5.v8.dt.platform.core.typeinfo.category.AbstractCategoryTypeInfoProvider
getRuQualifiedName
-
-
-
-
Method Detail
-
get
public Collection<TypeInfo> get(org.eclipse.xtext.scoping.IScope allTypesScope)
Description copied from interface:ICategoryTypeInfoProvider
Gets category type infos- Specified by:
get
in interfaceICategoryTypeInfoProvider
- Parameters:
allTypesScope
-IScope
of all available types. Can't returnnull
- Returns:
- list of
TypeInfo
or empty list. Can't returnnull
-
hasTypeItemInCategory
public boolean hasTypeItemInCategory(TypeItem type)
Description copied from interface:ICategoryTypeInfoProvider
Check the TypeItem is contains in category- Specified by:
hasTypeItemInCategory
in interfaceICategoryTypeInfoProvider
- Parameters:
type
- theTypeItem
to check- Returns:
true
if this category contain the type orfalse
if not
-
hasTypeItemInCategory
public boolean hasTypeItemInCategory(TypeItem type, Version version)
Description copied from interface:IVersionedCategoryTypeInfoProvider
Check the TypeItem is contains in category for specified platform version if provided- Specified by:
hasTypeItemInCategory
in interfaceIVersionedCategoryTypeInfoProvider
- Parameters:
type
- theTypeItem
to check, cannot benull
version
- theVersion
to check, cannot benull
- Returns:
true
if this category contain the type orfalse
if not
-
-