Class TranslationPreferences
java.lang.Object
com.e1c.langtool.internal.ui.preferences.TranslationPreferences
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringShould key tree be expanded by default.static final StringShould key tree be hiearchical by default.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringHow many languages to show language in treestatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanGets whether in key tree the items should be displayed with filled translationstatic booleanGets whether key tree should be show expaned by default.static booleanGets whether key tree should be displayed in hiearchical way by default.static booleanGets whether in key tree should be displayed items with all values.static booleanGets whether in key tree should be displayed items from child object of the source.static booleanGets whether in key tree should be displayed items with auto-computed translations.static booleanGets whether in key tree should be displayed interface items by default.static intHow many languages to show them in treestatic booleanGets whether in key tree should be displayed model items.static String[]Gets the show only languages.static booleanGets whether in key tree should be displayed items from sub-resources.
-
Field Details
-
KEY_TREE_EXPANDED
Should key tree be expanded by default.- See Also:
-
KEY_TREE_HIERARCHICAL
Should key tree be hiearchical by default.- See Also:
-
SHOW_LANGUAGES_IN_TREE
How many languages to show language in tree- See Also:
-
SHOW_INTERFACE
- See Also:
-
SHOW_MODEL
- See Also:
-
SHOW_COMPUTED
- See Also:
-
SHOW_CHILD_OBJECTS
- See Also:
-
SHOW_SUBRESOURCES
- See Also:
-
SHOW_ALL_VALUES
- See Also:
-
HIDE_FILLED_TRANSLATION
- See Also:
-
SHOW_ONLY_LANGUAGES
- See Also:
-
-
Constructor Details
-
TranslationPreferences
public TranslationPreferences()
-
-
Method Details
-
getKeyTreeExpanded
public static boolean getKeyTreeExpanded()Gets whether key tree should be show expaned by default.- Returns:
trueif expanded
-
getKeyTreeHierarchical
public static boolean getKeyTreeHierarchical()Gets whether key tree should be displayed in hiearchical way by default.- Returns:
trueif hierarchical
-
getShowLanguagesInTree
public static int getShowLanguagesInTree()How many languages to show them in tree- Returns:
- the minimal number of languages to show them in tree
-
getShowInterface
public static boolean getShowInterface()Gets whether in key tree should be displayed interface items by default.- Returns:
trueif to show interface items
-
getShowModel
public static boolean getShowModel()Gets whether in key tree should be displayed model items.- Returns:
trueif to show model items
-
getShowComputed
public static boolean getShowComputed()Gets whether in key tree should be displayed items with auto-computed translations.- Returns:
trueif to show auto-computed items
-
getShowChildObjects
public static boolean getShowChildObjects()Gets whether in key tree should be displayed items from child object of the source.- Returns:
trueif tho show child objects
-
getShowSubresources
public static boolean getShowSubresources()Gets whether in key tree should be displayed items from sub-resources.- Returns:
trueif show sub-resources items
-
getShowAllValues
public static boolean getShowAllValues()Gets whether in key tree should be displayed items with all values.- Returns:
trueif display items with all values
-
getHideFilledTranslation
public static boolean getHideFilledTranslation()Gets whether in key tree the items should be displayed with filled translation- Returns:
trueif to hide filled translation
-
getShowOnlyLanguages
Gets the show only languages.- Returns:
- the show only languages, empty means there is no restriction for languages to show.
-