com.bea.workshop.controls.ui.actions
Enum GotoControlMethodAction.TypeOption

java.lang.Object
  extended by java.lang.Enum<GotoControlMethodAction.TypeOption>
      extended by com.bea.workshop.controls.ui.actions.GotoControlMethodAction.TypeOption
All Implemented Interfaces:
Serializable, Comparable<GotoControlMethodAction.TypeOption>
Enclosing class:
GotoControlMethodAction

public static enum GotoControlMethodAction.TypeOption
extends Enum<GotoControlMethodAction.TypeOption>

Enumeration of options to determine which type to open.


Enum Constant Summary
Impl
          Only open the control implementation
Interface
          Only open the control interface
PreferImpl
          Try to open the control implementation, but fallback to the interface
 
Method Summary
static GotoControlMethodAction.TypeOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GotoControlMethodAction.TypeOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Interface

public static final GotoControlMethodAction.TypeOption Interface
Only open the control interface


Impl

public static final GotoControlMethodAction.TypeOption Impl
Only open the control implementation


PreferImpl

public static final GotoControlMethodAction.TypeOption PreferImpl
Try to open the control implementation, but fallback to the interface

Method Detail

values

public static GotoControlMethodAction.TypeOption[] 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 (GotoControlMethodAction.TypeOption c : GotoControlMethodAction.TypeOption.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GotoControlMethodAction.TypeOption 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