Enum EPartService.PartState

    • Enum Constant Detail

      • ACTIVATE

        public static final EPartService.PartState ACTIVATE
        Part state that indicates the part should be made visible and activated.
      • VISIBLE

        public static final EPartService.PartState VISIBLE
        Part state that indicates the part should be made visible though it may not necessarily be granted focus. If the part will be displayed in the same stack as the currently active part, then this has the same effect as ACTIVATE.
      • CREATE

        public static final EPartService.PartState CREATE
        Part state that indicates the part should be created but not necessarily made visible.
    • Method Detail

      • values

        public static EPartService.PartState[] 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 (EPartService.PartState c : EPartService.PartState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EPartService.PartState 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