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 inLocalStringDialogs
- 
- 
Constructor SummaryConstructors Constructor Description LocalString(String languageCode, String caption, String initialValue, boolean expand, boolean exist)Create instance ofLocalStringDialog.LocalString
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCaption()The language name representationorg.eclipse.core.databinding.observable.value.WritableValue<Boolean>getExpandValue()Writable value of expand editor stateStringgetLanguageCode()The language codeStringgetText()The local string textorg.eclipse.core.databinding.observable.value.WritableValue<String>getTextValue()Writable value of local string textbooleanisExist()Whether exist in configurationbooleanisExpand()Expand editor state
 
- 
- 
- 
Constructor Detail- 
LocalStringpublic LocalString(String languageCode, String caption, String initialValue, boolean expand, boolean exist) Create instance ofLocalStringDialog.LocalString- Parameters:
- languageCode- the code of item language, cannot be- null
- caption- the language name representation, cannot be- null
- initialValue- the initial value of this language string, can be- null
- expand- the initial value of ui editor state
- exist-- trueif given language code exist in current configuration,- falsein otherwise
 
 
- 
 - 
Method Detail- 
getLanguageCodepublic String getLanguageCode() The language code- Returns:
- code of language, never null
 
 - 
getCaptionpublic String getCaption() The language name representation- Returns:
- language name representation, never null
 
 - 
isExistpublic boolean isExist() Whether exist in configuration- Returns:
- trueif given language code exist in current configuration,- falsein otherwise
 
 - 
getTextValuepublic org.eclipse.core.databinding.observable.value.WritableValue<String> getTextValue() Writable value of local string text- Returns:
- WritableValueof local string text, never- null
 
 - 
getTextpublic String getText() The local string text- Returns:
- local string text, never null
 
 - 
getExpandValuepublic org.eclipse.core.databinding.observable.value.WritableValue<Boolean> getExpandValue() Writable value of expand editor state- Returns:
- WritableValueof expand editor state, never- null
 
 - 
isExpandpublic boolean isExpand() Expand editor state- Returns:
- expand editor state, never null
 
 
- 
 
-