Enum DataModelerContext.ParseStatus

    • Enum Constant Detail

      • PARSED

        public static final DataModelerContext.ParseStatus PARSED
        The source has been parsed without errors, so we basically have the model built to be shown in the editor tab.
      • NOT_PARSED

        public static final DataModelerContext.ParseStatus NOT_PARSED
        The source is not parsed. This not necessary means that there are parse errors, for example when the user is changing the code in the source tab the parse status will be NOT_PARSED. It means that if the user wants to open the "Editor" tab the code needs to be parsed.
      • PARSE_ERRORS

        public static final DataModelerContext.ParseStatus PARSE_ERRORS
        There have been parsing errors in the last parse try. e.g when the file was loaded at editor opening time, or when the user tried to switch from the "source tab" to the "editor tab".
    • Method Detail

      • values

        public static DataModelerContext.ParseStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DataModelerContext.ParseStatus c : DataModelerContext.ParseStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DataModelerContext.ParseStatus 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