Class HighlightSeverity

    • Field Detail

      • myName

        public final String myName
      • myVal

        public final int myVal
      • INFORMATION

        public static final HighlightSeverity INFORMATION
        The standard severity level for information annotations.
      • GENERIC_SERVER_ERROR_OR_WARNING

        public static final HighlightSeverity GENERIC_SERVER_ERROR_OR_WARNING
        The severity level for errors or warnings obtained from server.
      • INFO

        public static final HighlightSeverity INFO
        The standard severity level for 'weak' :) warning annotations.
      • WARNING

        public static final HighlightSeverity WARNING
        The standard severity level for warning annotations.
      • ERROR

        public static final HighlightSeverity ERROR
        The standard severity level for error annotations.
      • DEFAULT_SEVERITIES

        public static final HighlightSeverity[] DEFAULT_SEVERITIES
        Standard severities levels
    • Constructor Detail

      • HighlightSeverity

        public HighlightSeverity​(@NonNls
                                 String name,
                                 int val)
        Creates a new highlighting severity level with the specified name and value.
        Parameters:
        name - the name of the highlighting level.
        val - the value of the highlighting level. Used for comparing the annotations - if two annotations with different severity levels cover the same text range, only the annotation with a higher severity level is displayed.