Module omix.api
Package omix.plugin

Enum MessageType

java.lang.Object
java.lang.Enum<MessageType>
omix.plugin.MessageType
All Implemented Interfaces:
Serializable, Comparable<MessageType>, Constable

public enum MessageType
extends Enum<MessageType>
Represents the types of messages from a plugin.
Since:
Omix 1.3.11
Author:
Dr. Peter Droste, Omix Visualization
  • Enum Constant Details

    • STATUSBAR

      public static final MessageType STATUSBAR
      The message text is displayed in the statusbar of the mainwindow.
    • ERROR

      public static final MessageType ERROR
      The message text is shown in an error dialog window.
    • WARNING

      public static final MessageType WARNING
      The message text is shown in a warning dialog window.
    • INFORMATION

      public static final MessageType INFORMATION
      The message text is shown in an information dialog window.
    • ERROR_SHEET

      public static final MessageType ERROR_SHEET
      The message text is shown in an error sheet.
    • WARNING_SHEET

      public static final MessageType WARNING_SHEET
      The message text is shown in a warning sheet.
    • INFORMATION_SHEET

      public static final MessageType INFORMATION_SHEET
      The message text is shown in an information sheet.
  • Method Details

    • values

      public static MessageType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MessageType valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null