|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.transaction.impl.TransactionImpl
org.eclipse.emf.transaction.impl.EMFCommandTransaction
A transaction implementation use by the command stack to wrap the execution
of Command
s, to provide them the write access that they need.
The transaction knows the command
that it is
servicing.
Field Summary |
---|
Fields inherited from class org.eclipse.emf.transaction.impl.TransactionImpl |
---|
change, DEFAULT_UNDO_REDO_OPTIONS, notifications |
Fields inherited from interface org.eclipse.emf.transaction.Transaction |
---|
OPTION_NO_NOTIFICATIONS, OPTION_NO_TRIGGERS, OPTION_NO_UNDO, OPTION_NO_VALIDATION, OPTION_UNPROTECTED |
Constructor Summary | |
---|---|
EMFCommandTransaction(org.eclipse.emf.common.command.Command command,
InternalTransactionalEditingDomain domain,
java.util.Map options)
Initializes me with my command, editing domain, and options. |
Method Summary | |
---|---|
org.eclipse.emf.common.command.Command |
getCommand()
Obtains the command for which I provide read/write access to the editing domain. |
Methods inherited from class org.eclipse.emf.transaction.impl.TransactionImpl |
---|
abort, add, addTriggers, close, commit, endPrivileged, getChangeDescription, getEditingDomain, getInternalDomain, getNotifications, getOptions, getOwner, getParent, getRoot, getStatus, getTriggers, hasOption, isAborted, isActive, isNotificationEnabled, isReadOnly, isRollingBack, isTriggerEnabled, isUndoEnabled, isUnprotected, isValidationEnabled, pause, resume, rollback, setParent, setStatus, start, startPrivileged, toString, validate, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EMFCommandTransaction(org.eclipse.emf.common.command.Command command, InternalTransactionalEditingDomain domain, java.util.Map options)
command
- the command that I am servicingdomain
- the editing domain in which I am activeoptions
- my optionsMethod Detail |
public final org.eclipse.emf.common.command.Command getCommand()
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |