Class ResourceCaptions

java.lang.Object
com._1c.g5.v8.dt.ui.util.ResourceCaptions

public class ResourceCaptions extends Object
  • Method Details

    • get

      public static String get(String alias)
      Returns the localized name of the given alias from "resourcenames" resource. If no such a name found, returns the alias itself and reports an error to the plugin log.
      Parameters:
      alias - a resource alias, i.e. Web.Red or System.DefaultGUIFont
      Returns:
      Caption that matches the alias, or the alias itself if no match was found.