Package org.eclipse.emf.cdo.ui.compare
Klasse CDOCompareEditorUtil.TransactionOpenerAndEditorCloser
java.lang.Object
org.eclipse.emf.cdo.ui.compare.CDOCompareEditorUtil.TransactionOpenerAndEditorCloser
- Alle implementierten Schnittstellen:
CDOTransactionOpener
- Umschließende Klasse:
CDOCompareEditorUtil
public static final class CDOCompareEditorUtil.TransactionOpenerAndEditorCloser
extends Object
implements CDOTransactionOpener
A
transaction opener that automatically closes the editor of a transaction
when the transaction is closed.- Seit:
- 4.4
- Autor:
- Eike Stepper
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungTransactionOpenerAndEditorCloser(CDOTransactionOpener delegate, boolean closeTransactionAfterCommit) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanopenTransaction(String durableLockingID, ResourceSet resourceSet) Opens and returns atransactionon the given EMFresource setby resuming a transaction that has previously been made durable by callingCDOTransaction.enableDurableLocking(true).openTransaction(CDOBranchPoint target, ResourceSet resourceSet) Opens and returns a newtransactionon the given EMFresource set.
-
Konstruktordetails
-
TransactionOpenerAndEditorCloser
public TransactionOpenerAndEditorCloser(CDOTransactionOpener delegate, boolean closeTransactionAfterCommit)
-
-
Methodendetails
-
isCloseTransactionAfterCommit
public boolean isCloseTransactionAfterCommit() -
openTransaction
Beschreibung aus Schnittstelle kopiert:CDOTransactionOpenerOpens and returns atransactionon the given EMFresource setby resuming a transaction that has previously been made durable by callingCDOTransaction.enableDurableLocking(true).- Angegeben von:
openTransactionin SchnittstelleCDOTransactionOpener
-
openTransaction
Beschreibung aus Schnittstelle kopiert:CDOTransactionOpenerOpens and returns a newtransactionon the given EMFresource set.- Angegeben von:
openTransactionin SchnittstelleCDOTransactionOpener
-