Enum DataModelerContext.EditionStatus

  • All Implemented Interfaces:
    Serializable, Comparable<DataModelerContext.EditionStatus>
    Enclosing class:
    DataModelerContext

    public static enum DataModelerContext.EditionStatus
    extends Enum<DataModelerContext.EditionStatus>
    Status relative to the edition tabs. This is a kind of sub status, that tells us if there are pending changes in whatever of the edition tabs. It may happen that there are no pending changes in the edition tabs but the .java file is dirty. e.g. If you make some changes in the "Editor" tab and goes to the "Source" tab, the code will be automatically re generated to include the changes. After the code is re regenerated the editionStatus will be changed from EDITOR_CHANGED to NO_CHANGES. This means that the "Source" tab is synchronized with the "Editor" tab, but the .java file still needs to be saved. And thus the editor as the main component is dirty.
    • Method Detail

      • values

        public static DataModelerContext.EditionStatus[] 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.EditionStatus c : DataModelerContext.EditionStatus.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.EditionStatus 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