Class TranslationPreferences

java.lang.Object
com.e1c.langtool.internal.ui.preferences.TranslationPreferences

public class TranslationPreferences extends Object
  • Field Details

  • Constructor Details

    • TranslationPreferences

      public TranslationPreferences()
  • Method Details

    • getKeyTreeExpanded

      public static boolean getKeyTreeExpanded()
      Gets whether key tree should be show expaned by default.
      Returns:
      true if expanded
    • getKeyTreeHierarchical

      public static boolean getKeyTreeHierarchical()
      Gets whether key tree should be displayed in hiearchical way by default.
      Returns:
      true if 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:
      true if to show interface items
    • getShowModel

      public static boolean getShowModel()
      Gets whether in key tree should be displayed model items.
      Returns:
      true if to show model items
    • getShowComputed

      public static boolean getShowComputed()
      Gets whether in key tree should be displayed items with auto-computed translations.
      Returns:
      true if 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:
      true if tho show child objects
    • getShowSubresources

      public static boolean getShowSubresources()
      Gets whether in key tree should be displayed items from sub-resources.
      Returns:
      true if show sub-resources items
    • getShowAllValues

      public static boolean getShowAllValues()
      Gets whether in key tree should be displayed items with all values.
      Returns:
      true if display items with all values
    • getHideFilledTranslation

      public static boolean getHideFilledTranslation()
      Gets whether in key tree the items should be displayed with filled translation
      Returns:
      true if to hide filled translation
    • getShowOnlyLanguages

      public static String[] getShowOnlyLanguages()
      Gets the show only languages.
      Returns:
      the show only languages, empty means there is no restriction for languages to show.