Package com._1c.g5.v8.dt.form.model.impl
Class FormPropertyInfoExtension
- java.lang.Object
-
- com._1c.g5.v8.dt.form.model.impl.FormPropertyInfoExtension
-
public class FormPropertyInfoExtension extends Object
Extension class for model.Implement
PropertyInfoSource#getPropertyInfos()
method
-
-
Constructor Summary
Constructors Constructor Description FormPropertyInfoExtension()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static List<PropertyInfo>
getPropertyInfoBySource(PropertyInfo propertyInfoSource)
GetsPropertyInfo
-s to source using PropertyInfo providersstatic List<PropertyInfo>
getPropertyInfoBySource(org.eclipse.emf.ecore.EObject propertyInfoSource)
GetsPropertyInfo
-s to source using PropertyInfo providersstatic <T extends org.eclipse.emf.ecore.EObject>
TgetPropertyInfoDataPath(PropertyInfo propertyInfoSource)
Deprecated.use {@link com._1c.g5.v8.dt.form.model.getPropertyInfoDataPath(PropertyInfo, ScriptVariant)}static <T extends org.eclipse.emf.ecore.EObject>
TgetPropertyInfoDataPath(PropertyInfo propertyInfoSource, ScriptVariant scriptVariant)
GetAbstractDataPath
for property info source elementstatic String
getPropertyInfoPresentation(Form form, String languageCode, ScriptVariant scriptVariant)
Gets string ui presentation for form sourcestatic String
getPropertyInfoPresentation(PropertyInfo propertyInfo, String languageCode, ScriptVariant scriptVariant)
Gets string ui presentation for property info source
-
-
-
Method Detail
-
getPropertyInfoBySource
public static List<PropertyInfo> getPropertyInfoBySource(org.eclipse.emf.ecore.EObject propertyInfoSource)
GetsPropertyInfo
-s to source using PropertyInfo providers- Parameters:
propertyInfoSource
-Form
, can't benull
- Returns:
- List of
PropertyInfo
-
getPropertyInfoBySource
public static List<PropertyInfo> getPropertyInfoBySource(PropertyInfo propertyInfoSource)
GetsPropertyInfo
-s to source using PropertyInfo providers- Parameters:
propertyInfoSource
-- Returns:
- List of
PropertyInfo
-
getPropertyInfoDataPath
public static <T extends org.eclipse.emf.ecore.EObject> T getPropertyInfoDataPath(PropertyInfo propertyInfoSource, ScriptVariant scriptVariant)
GetAbstractDataPath
for property info source element- Parameters:
propertyInfoSource
- the property info sourcescriptVariant
- the current configuration script variant- Returns:
- the instance of
AbstractDataPath
as EObject, never null
-
getPropertyInfoDataPath
@Deprecated public static <T extends org.eclipse.emf.ecore.EObject> T getPropertyInfoDataPath(PropertyInfo propertyInfoSource)
Deprecated.use {@link com._1c.g5.v8.dt.form.model.getPropertyInfoDataPath(PropertyInfo, ScriptVariant)}GetAbstractDataPath
for property info source element- Parameters:
propertyInfoSource
- the property info source- Returns:
- the instance of
AbstractDataPath
as EObject, never null
-
getPropertyInfoPresentation
public static String getPropertyInfoPresentation(Form form, String languageCode, ScriptVariant scriptVariant)
Gets string ui presentation for form source- Parameters:
form
- the presentation for, can't benull
languageCode
- configuration current editing language code, can't benull
scriptVariant
- configuration current script variant, can't benull
- Returns:
- string ui presentation, never
null
-
getPropertyInfoPresentation
public static String getPropertyInfoPresentation(PropertyInfo propertyInfo, String languageCode, ScriptVariant scriptVariant)
Gets string ui presentation for property info source- Parameters:
propertyInfo
- the presentation forlanguageCode
- configuration current editing language codescriptVariant
- configuration current script variant- Returns:
- string ui presentation
-
-