Package com._1c.g5.v8.dt.ui.dialog
Class LocalString
java.lang.Object
com._1c.g5.v8.dt.ui.dialog.LocalString
Data class for items in
LocalStringDialogs-
Constructor Summary
ConstructorsConstructorDescriptionLocalString(String languageCode, String caption, String initialValue, boolean expand, boolean exist) Create instance ofLocalString -
Method Summary
Modifier and TypeMethodDescriptionThe language name representationorg.eclipse.core.databinding.observable.value.WritableValue<Boolean>Writable value of expand editor stateThe language codegetText()The local string textorg.eclipse.core.databinding.observable.value.WritableValue<String>Writable value of local string textbooleanisExist()Whether exist in configurationbooleanisExpand()Expand editor state
-
Constructor Details
-
LocalString
public LocalString(String languageCode, String caption, String initialValue, boolean expand, boolean exist) Create instance ofLocalString- Parameters:
languageCode- the code of item language, cannot benullcaption- the language name representation, cannot benullinitialValue- the initial value of this language string, can benullexpand- the initial value of ui editor stateexist-trueif given language code exist in current configuration,falseotherwise
-
-
Method Details
-
getLanguageCode
The language code- Returns:
- code of language, never
null
-
getCaption
The language name representation- Returns:
- language name representation, never
null
-
isExist
public boolean isExist()Whether exist in configuration- Returns:
trueif given language code exist in current configuration,falsein otherwise
-
getTextValue
Writable value of local string text- Returns:
WritableValueof local string text, nevernull
-
getText
The local string text- Returns:
- local string text, never
null
-
getExpandValue
Writable value of expand editor state- Returns:
WritableValueof expand editor state, nevernull
-
isExpand
public boolean isExpand()Expand editor state- Returns:
- expand editor state, never
null
-