|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.util.AbstractEnumerator
org.eclipse.gmf.runtime.emf.clipboard.core.PasteAction
public class PasteAction
An enumeration of actions to resolve paste collisions.
| Field Summary | |
|---|---|
static PasteAction |
ADD
Indicates that that the collision should be resolved by just adding the conflicting pasted element with an altered name to distinguish it from the existing one. |
static PasteAction |
CLONE
Indicates that that the collision should be resolved by just adding the conflicting pasted element with an altered name to distinguish it from the existing one. |
static PasteAction |
DISCARD
Indicates that the collision should be resolved by discarding the new element (not pasting it). |
static PasteAction |
IGNORE
Indicates that the collision should be resolved by just not doing anything. |
static PasteAction |
MERGE
Indicates that the collision should be resolved by merging the new element into the existing one. |
static PasteAction |
NO_ACTION
The "undefined" value. |
static PasteAction |
REPLACE
Indicates that the collision should be resolved by replacing the existing element with the new one. |
| Method Summary | |
|---|---|
protected java.util.List |
getValues()
Retrieves the list of constants for this enumerated type. |
| Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator |
|---|
getLiteral, getName, getValue, toString, writeReplace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PasteAction ADD
REPLACE.
public static final PasteAction CLONE
REPLACE.
public static final PasteAction DISCARD
public static final PasteAction IGNORE
public static final PasteAction MERGE
public static final PasteAction NO_ACTION
public static final PasteAction REPLACE
| Method Detail |
|---|
protected java.util.List getValues()
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.