Interface ITypeDescriptionInfoWithCategories
-
- All Known Implementing Classes:
TypeDescriptionInfoWithCategories
public interface ITypeDescriptionInfoWithCategories
Special extension forTypeDescriptionInfo
. It contains information about including and excluding type info categories and information about additional adding and excluding types inTypeDescriptionInfo
. Also we can add special filter for type in theTypeDescriptionInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAdditionalExcludeTypes(Collection<String> typeNames)
Adds additional excluding types toTypeDescriptionInfo
void
addAdditionalIncludeTypes(Collection<org.eclipse.xtext.util.Pair<String,String>> typeNames)
Adds additional including types toTypeDescriptionInfo
void
addExcludeTypeCategories(Collection<ITypeInfoCategory> category)
Adds excluding types info categories toTypeDescriptionInfo
void
addIncludeTypeCategories(Collection<ITypeInfoCategory> categories)
Adds including types info categories toTypeDescriptionInfo
void
addIntersectCategory(Collection<ITypeInfoCategory> categories)
Adds special categories for filtering final set ofTypeInfo
s.List<TypeInfo>
computeTypeInfos(org.eclipse.xtext.scoping.IScope scope, IClassifiersTypeInfoServiceProvider classifiersProvider, Version version)
Computes realTypeInfo
s by description of including and excluding type info categories and including and excluding type namesList<TypeInfo>
computeTypeInfos(org.eclipse.xtext.scoping.IScope scope, IClassifiersTypeInfoServiceProvider classifiersProvider, Version version, org.eclipse.core.resources.IProject project)
Computes realTypeInfo
s by description of including and excluding type info categories and including and excluding type namesTypeDescriptionInfoWithTypeInfo
createTypeDescriptionInfoWithTypeInfo(org.eclipse.xtext.scoping.IScope scope, IClassifiersTypeInfoServiceProvider classifiersProvider, Version version)
CreatesTypeDescriptionInfoWithTypeInfo
by description of including and excluding type info categories and including and excluding type namesTypeDescriptionInfoWithTypeInfo
createTypeDescriptionInfoWithTypeInfo(org.eclipse.xtext.scoping.IScope scope, IClassifiersTypeInfoServiceProvider classifiersProvider, Version version, org.eclipse.core.resources.IProject project)
CreatesTypeDescriptionInfoWithTypeInfo
by description of including and excluding type info categories and including and excluding type namesvoid
setTypeItemFilter(com.google.common.base.Predicate<TypeItem> filter)
Sets special filter ofTypeItem
containing in theTypeDescriptionInfo
-
-
-
Method Detail
-
addIncludeTypeCategories
void addIncludeTypeCategories(Collection<ITypeInfoCategory> categories)
Adds including types info categories toTypeDescriptionInfo
- Parameters:
categories
- including types info categories, can't benull
-
addExcludeTypeCategories
void addExcludeTypeCategories(Collection<ITypeInfoCategory> category)
Adds excluding types info categories toTypeDescriptionInfo
- Parameters:
categories
- excluding types info categories, can't benull
-
addAdditionalIncludeTypes
void addAdditionalIncludeTypes(Collection<org.eclipse.xtext.util.Pair<String,String>> typeNames)
Adds additional including types toTypeDescriptionInfo
- Parameters:
typeNames
- names of adding types (pair should be contained name and nameRu of the type), can't benull
-
addAdditionalExcludeTypes
void addAdditionalExcludeTypes(Collection<String> typeNames)
Adds additional excluding types toTypeDescriptionInfo
- Parameters:
typeNames
- typeNames names of excluding types, can't benull
-
computeTypeInfos
List<TypeInfo> computeTypeInfos(org.eclipse.xtext.scoping.IScope scope, IClassifiersTypeInfoServiceProvider classifiersProvider, Version version)
Computes realTypeInfo
s by description of including and excluding type info categories and including and excluding type names- Parameters:
scope
- actualIScope
of types, can't benull
classifiersProvider
- actualIClassifiersTypeInfoServiceProvider
, can't benull
version
- currentVersion
, can't benull
- Returns:
- list of real
TypeInfo
s by description of including and excluding type info categories and including and excluding type names, nevernull
-
computeTypeInfos
List<TypeInfo> computeTypeInfos(org.eclipse.xtext.scoping.IScope scope, IClassifiersTypeInfoServiceProvider classifiersProvider, Version version, org.eclipse.core.resources.IProject project)
Computes realTypeInfo
s by description of including and excluding type info categories and including and excluding type names- Parameters:
scope
- actualIScope
of types, can't benull
classifiersProvider
- actualIClassifiersTypeInfoServiceProvider
, can't benull
version
- currentVersion
, can't benull
project
- actualIProject
, can benull
- Returns:
- list of real
TypeInfo
s by description of including and excluding type info categories and including and excluding type names, nevernull
-
createTypeDescriptionInfoWithTypeInfo
TypeDescriptionInfoWithTypeInfo createTypeDescriptionInfoWithTypeInfo(org.eclipse.xtext.scoping.IScope scope, IClassifiersTypeInfoServiceProvider classifiersProvider, Version version)
CreatesTypeDescriptionInfoWithTypeInfo
by description of including and excluding type info categories and including and excluding type names- Parameters:
scope
- actualIScope
of types, can't benull
classifiersProvider
- actualIClassifiersTypeInfoServiceProvider
, can't benull
version
- currentVersion
, can't benull
- Returns:
- created
TypeDescriptionInfoWithTypeInfo
by description of including and excluding type info categories and including and excluding type names, nevernull
-
createTypeDescriptionInfoWithTypeInfo
TypeDescriptionInfoWithTypeInfo createTypeDescriptionInfoWithTypeInfo(org.eclipse.xtext.scoping.IScope scope, IClassifiersTypeInfoServiceProvider classifiersProvider, Version version, org.eclipse.core.resources.IProject project)
CreatesTypeDescriptionInfoWithTypeInfo
by description of including and excluding type info categories and including and excluding type names- Parameters:
scope
- actualIScope
of types, can't benull
classifiersProvider
- actualIClassifiersTypeInfoServiceProvider
, can't benull
version
- currentVersion
, can't benull
project
- actualIProject
, can benull
- Returns:
- created
TypeDescriptionInfoWithTypeInfo
by description of including and excluding type info categories and including and excluding type names, nevernull
-
setTypeItemFilter
void setTypeItemFilter(com.google.common.base.Predicate<TypeItem> filter)
Sets special filter ofTypeItem
containing in theTypeDescriptionInfo
- Parameters:
filter
- special filter, can't benull
-
addIntersectCategory
void addIntersectCategory(Collection<ITypeInfoCategory> categories)
Adds special categories for filtering final set ofTypeInfo
s. Set ofTypeInfo
s determinated by methods:addIncludeTypeCategories(Collection)
addExcludeTypeCategories(Collection)
addAdditionalIncludeTypes(Collection)
addAdditionalExcludeTypes(Collection)
categories
- Parameters:
categories
- special filter categories for final set ofTypeInfo
s, can't benull
-
-