Class EnumParameterization
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.aef.parameterization.EnumParameterization
-
- All Implemented Interfaces:
IParameterization
,IComboSelectParameterization
,IEnumParameterization
- Direct Known Subclasses:
EnumRadioGroupParameterization
public class EnumParameterization extends Object implements IEnumParameterization
IParameterization
for enum component.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.ui.aef.parameterization.IComboSelectParameterization
IComboSelectParameterization.ComboSelectParameterization
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.v8.dt.ui.aef.parameterization.IComboSelectParameterization
CLEAR_ACTION_ALLOWED, DEFAULT, QUICK_SEARCH_ALLOWED, QUICK_SEARCH_ALLOWED_AND_CLEAR_ACTION
-
Fields inherited from interface com._1c.g5.aef2.components.IParameterization
VOID
-
-
Constructor Summary
Constructors Constructor Description EnumParameterization(org.eclipse.emf.ecore.EEnum enumeration)
Creates a new parameterization.EnumParameterization(org.eclipse.emf.ecore.EEnum enumeration, com.google.common.base.Predicate<org.eclipse.emf.common.util.Enumerator> filter)
Creates a new parameterization.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EEnum
getEEnum()
Returns theEEnum
instance.com.google.common.base.Predicate<org.eclipse.emf.common.util.Enumerator>
getFilter()
Returns thePredicate
.boolean
hasClearAction()
Returnstrue
if the component must have the "Clear" action.boolean
isQuickSearchAllowed()
-
-
-
Constructor Detail
-
EnumParameterization
public EnumParameterization(org.eclipse.emf.ecore.EEnum enumeration)
Creates a new parameterization.- Parameters:
enumeration
- theEEnum
.
-
EnumParameterization
public EnumParameterization(org.eclipse.emf.ecore.EEnum enumeration, com.google.common.base.Predicate<org.eclipse.emf.common.util.Enumerator> filter)
Creates a new parameterization.- Parameters:
enumeration
- theEEnum
.filter
- the filter.
-
-
Method Detail
-
getFilter
public com.google.common.base.Predicate<org.eclipse.emf.common.util.Enumerator> getFilter()
Description copied from interface:IEnumParameterization
Returns thePredicate
.- Specified by:
getFilter
in interfaceIEnumParameterization
- Returns:
- the filter of enum values.
-
getEEnum
public org.eclipse.emf.ecore.EEnum getEEnum()
Description copied from interface:IEnumParameterization
Returns theEEnum
instance.- Specified by:
getEEnum
in interfaceIEnumParameterization
- Returns:
- the
EEnum
instance.
-
isQuickSearchAllowed
public boolean isQuickSearchAllowed()
- Specified by:
isQuickSearchAllowed
in interfaceIComboSelectParameterization
- Returns:
true
if quick search should be allowed in the component.
-
hasClearAction
public boolean hasClearAction()
Description copied from interface:IComboSelectParameterization
Returnstrue
if the component must have the "Clear" action.- Specified by:
hasClearAction
in interfaceIComboSelectParameterization
- Returns:
true
if the component must have the "Clear" action
-
-