summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-10-07 05:25:04 (EDT)
committerEike Stepper2007-10-07 05:25:04 (EDT)
commit273ddd1cd9786578a13bb511285e3f55f4af79c5 (patch)
treebc6c42911c1ce32b54bfa39da69ca55f11ca0089
parent081a7fd16ce0b9ecaa2d96c0c7fce28c1f52aa93 (diff)
downloadcdo-273ddd1cd9786578a13bb511285e3f55f4af79c5.zip
cdo-273ddd1cd9786578a13bb511285e3f55f4af79c5.tar.gz
cdo-273ddd1cd9786578a13bb511285e3f55f4af79c5.tar.bz2
[205651] Implement transaction rollback
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205651
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/RollbackTransactionAction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/RollbackTransactionAction.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/RollbackTransactionAction.java
index a148b61..47a2dd2 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/RollbackTransactionAction.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/actions/RollbackTransactionAction.java
@@ -27,8 +27,8 @@ public final class RollbackTransactionAction extends ViewAction
protected void preRun() throws Exception
{
CDOTransaction transaction = (CDOTransaction)getView();
- String msg = MessageFormat.format("This transaction contains:\n" + "{0} new resources\n" + "{1} new objects\n"
- + "{2} dirty objects\n\n" + "Are you sure to rollback this transaction", transaction.getNewResources().size(),
+ String msg = MessageFormat.format("This transaction contains " + "{0} new resources, " + "{1} new objects and "
+ + "{2} dirty objects.\n" + "Are you sure to rollback this transaction?", transaction.getNewResources().size(),
transaction.getNewObjects().size(), transaction.getDirtyObjects().size());
if (!MessageDialog.openQuestion(getShell(), TITLE, msg))
{