Enum Class EPartService.PartState

java.lang.Object
java.lang.Enum<EPartService.PartState>
org.eclipse.e4.ui.workbench.modeling.EPartService.PartState
All Implemented Interfaces:
Serializable, Comparable<EPartService.PartState>, Constable
Enclosing interface:
EPartService

public static enum EPartService.PartState extends Enum<EPartService.PartState>
Applicable states that a part can be in. This will be used in conjunction with EPartService.showPart(String, PartState).
  • Enum Constant Details

    • 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 Details

    • values

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

      public static EPartService.PartState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null