public enum DereferencePolicy extends java.lang.Enum<DereferencePolicy>
Modifier and Type | Method and Description |
---|---|
org.eclipse.ui.IEditorPart |
getEditor(org.eclipse.ui.IEditorReference reference) |
org.eclipse.ui.IWorkbenchPart |
getPart(org.eclipse.ui.IWorkbenchPartReference reference) |
org.eclipse.ui.IViewPart |
getView(org.eclipse.ui.IViewReference reference) |
static DereferencePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DereferencePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DereferencePolicy DEFAULT
public static final DereferencePolicy RESTORE
public static DereferencePolicy[] values()
for (DereferencePolicy c : DereferencePolicy.values()) System.out.println(c);
public static DereferencePolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic org.eclipse.ui.IEditorPart getEditor(org.eclipse.ui.IEditorReference reference)
public org.eclipse.ui.IWorkbenchPart getPart(org.eclipse.ui.IWorkbenchPartReference reference)
public org.eclipse.ui.IViewPart getView(org.eclipse.ui.IViewReference reference)