Package com._1c.g5.v8.dt.form.model
Class AbstractFormDataSourceInfo
- java.lang.Object
-
- com._1c.g5.v8.dt.form.model.AbstractFormDataSourceInfo
-
- Direct Known Subclasses:
ElementDataSourceInfo
,PropertyInfo
public abstract class AbstractFormDataSourceInfo extends Object
Abstract class for represents ui form element such asPropertyInfo
andElementDataSourceInfo
-
-
Constructor Summary
Constructors Constructor Description AbstractFormDataSourceInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract AbstractDataPath
getDataPath(ScriptVariant scriptVariant)
Gets actualDataPath
forObject
getExtension()
Form
getForm()
Gets form corresponding to the this elementabstract MultiLanguageDataPath
getMultyLanguageDataPath()
Deprecated.usecom._1c.g5.v8.dt.form.model.getDataPath
String
getName()
Gets name of the elementString
getNameRu()
Gets Russian name of the elementAbstractFormDataSourceInfo
getParent()
Gets parent element forObject
getSource()
Gets source element for.org.eclipse.xtext.util.ITextRegion
getSourceTextRegion()
GetsITextRegion
in query text corresponding to theAbstractFormDataSourceInfo
void
setExtension(Object extension)
void
setName(String name)
Sets name of the elementvoid
setNameRu(String name)
Sets Russian name of the elementvoid
setParent(AbstractFormDataSourceInfo parent)
Sets parent element forvoid
setSource(Object source)
Sets source element for.void
setSourceTextRegion(org.eclipse.xtext.util.ITextRegion textRegion)
SetsITextRegion
in query text corresponding to theAbstractFormDataSourceInfo
-
-
-
Method Detail
-
getDataPath
public abstract AbstractDataPath getDataPath(ScriptVariant scriptVariant)
Gets actualDataPath
for- Parameters:
scriptVariant
- currentDataPath
ScriptVariant
, can't benull
- Returns:
- actual
DataPath
, nevernull
-
getMultyLanguageDataPath
@Deprecated public abstract MultiLanguageDataPath getMultyLanguageDataPath()
Deprecated.usecom._1c.g5.v8.dt.form.model.getDataPath
Gets actual multi-languageDataPath
for the instance- Returns:
- actual
DataPath
, nevernull
-
getExtension
public Object getExtension()
- Returns:
- the extension
-
getForm
public Form getForm()
Gets form corresponding to the this element- Returns:
- form corresponding to the this element, or
null
if element wasn't linked withForm
-
getName
public String getName()
Gets name of the element- Returns:
- name of the element, can't be
null
-
getNameRu
public String getNameRu()
Gets Russian name of the element- Returns:
- name of the element, can't be
null
-
getParent
public AbstractFormDataSourceInfo getParent()
Gets parent element for- Returns:
- the parent of this element, can be
null
if it's root element
-
getSource
public Object getSource()
Gets source element for. The source element is the element from form model or otherAbstractFormDataSourceInfo
which provide this element- Returns:
- source element, can be
null
if there is no source element for this element
-
getSourceTextRegion
public org.eclipse.xtext.util.ITextRegion getSourceTextRegion()
GetsITextRegion
in query text corresponding to theAbstractFormDataSourceInfo
- Returns:
ITextRegion
in query text corresponding to theAbstractFormDataSourceInfo
, can benull
if there is no region for source
-
setExtension
public void setExtension(Object extension)
- Parameters:
extension
- the extension to set
-
setName
public void setName(String name)
Sets name of the element- Parameters:
name
- name of the element, can't benull
-
setNameRu
public void setNameRu(String name)
Sets Russian name of the element- Parameters:
name
- name of the element, can't benull
-
setParent
public void setParent(AbstractFormDataSourceInfo parent)
Sets parent element for- Parameters:
parent
- the parent to set, can benull
-
setSource
public void setSource(Object source)
Sets source element for. The source element is the element from form model or otherAbstractFormDataSourceInfo
which provide this element- Parameters:
source
- element, can benull
if there is no source element for this element
-
setSourceTextRegion
public void setSourceTextRegion(org.eclipse.xtext.util.ITextRegion textRegion)
SetsITextRegion
in query text corresponding to theAbstractFormDataSourceInfo
- Parameters:
textRegion
-ITextRegion
in query text corresponding to theAbstractFormDataSourceInfo
, can benull
if there is no region for source
-
-