|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.emf.commands.core.command.EditingDomainUndoContext
public final class EditingDomainUndoContext
An IUndoContext that tags an EMF operation with the editing domain
that it affects. Two editing domain contexts match if and only if they
reference the same EditingDomain instance.
| Constructor Summary | |
|---|---|
EditingDomainUndoContext(EditingDomain domain)
Initializes me with the editing domain that I represent. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
I am equal to other EditingDomainUndoContext on the same
editing domain as mine. |
EditingDomain |
getEditingDomain()
Obtains the editing domain. |
java.lang.String |
getLabel()
|
int |
hashCode()
|
boolean |
matches(IUndoContext context)
I match another context if it is a
EditingDomainUndoContext representing the same editing
domain as I. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditingDomainUndoContext(EditingDomain domain)
domain - the editing domain| Method Detail |
|---|
public java.lang.String getLabel()
getLabel in interface IUndoContextpublic boolean matches(IUndoContext context)
context if it is a
EditingDomainUndoContext representing the same editing
domain as I.
matches in interface IUndoContextpublic boolean equals(java.lang.Object o)
EditingDomainUndoContext on the same
editing domain as mine.
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final EditingDomain getEditingDomain()
|
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.