Package com._1c.g5.v8.dt.ui.dialog
Class LocalStringDialog.LocalString
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.dialog.LocalStringDialog.LocalString
-
- Enclosing class:
- LocalStringDialog
protected class LocalStringDialog.LocalString extends Object
Data class for items inLocalStringDialog
s
-
-
Constructor Summary
Constructors Constructor Description LocalString(String languageCode, String caption, String initialValue, boolean expand, boolean exist)
Create instance ofLocalStringDialog.LocalString
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCaption()
The language name representationorg.eclipse.core.databinding.observable.value.WritableValue<Boolean>
getExpandValue()
Writable value of expand editor stateString
getLanguageCode()
The language codeString
getText()
The local string textorg.eclipse.core.databinding.observable.value.WritableValue<String>
getTextValue()
Writable value of local string textboolean
isExist()
Whether exist in configurationboolean
isExpand()
Expand editor state
-
-
-
Constructor Detail
-
LocalString
public LocalString(String languageCode, String caption, String initialValue, boolean expand, boolean exist)
Create instance ofLocalStringDialog.LocalString
- Parameters:
languageCode
- the code of item language, cannot benull
caption
- the language name representation, cannot benull
initialValue
- the initial value of this language string, can benull
expand
- the initial value of ui editor stateexist
-true
if given language code exist in current configuration,false
in otherwise
-
-
Method Detail
-
getLanguageCode
public String getLanguageCode()
The language code- Returns:
- code of language, never
null
-
getCaption
public String getCaption()
The language name representation- Returns:
- language name representation, never
null
-
isExist
public boolean isExist()
Whether exist in configuration- Returns:
true
if given language code exist in current configuration,false
in otherwise
-
getTextValue
public org.eclipse.core.databinding.observable.value.WritableValue<String> getTextValue()
Writable value of local string text- Returns:
WritableValue
of local string text, nevernull
-
getText
public String getText()
The local string text- Returns:
- local string text, never
null
-
getExpandValue
public org.eclipse.core.databinding.observable.value.WritableValue<Boolean> getExpandValue()
Writable value of expand editor state- Returns:
WritableValue
of expand editor state, nevernull
-
isExpand
public boolean isExpand()
Expand editor state- Returns:
- expand editor state, never
null
-
-