summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-12-19 07:01:26 (EST)
committerEike Stepper2007-12-19 07:01:26 (EST)
commite1ec52f74c8cbfb72c17c26bbacd5e4d74938a19 (patch)
tree93cd075828b9ea9fe675b644fc79fbb8e5a4217f
parent01a934109234355e656dde2e6133b1b182373392 (diff)
downloadcdo-e1ec52f74c8cbfb72c17c26bbacd5e4d74938a19.zip
cdo-e1ec52f74c8cbfb72c17c26bbacd5e4d74938a19.tar.gz
cdo-e1ec52f74c8cbfb72c17c26bbacd5e4d74938a19.tar.bz2
[213432] Make commit timeout configurable
https://bugs.eclipse.org/bugs/show_bug.cgi?id=213432
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/preferences/CDOPreferencePage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/preferences/CDOPreferencePage.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/preferences/CDOPreferencePage.java
index 2af0b41..82c32be 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/preferences/CDOPreferencePage.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/preferences/CDOPreferencePage.java
@@ -13,6 +13,7 @@ package org.eclipse.emf.cdo.internal.ui.preferences;
import org.eclipse.emf.cdo.CDOView;
import org.eclipse.emf.cdo.protocol.revision.CDORevision;
+import org.eclipse.net4j.stream.BufferInputStream;
import org.eclipse.net4j.util.ui.UIUtil;
import org.eclipse.net4j.util.ui.prefs.OMPreferencePage;
import org.eclipse.net4j.util.ui.widgets.TextAndDisable;
@@ -97,7 +98,7 @@ public class CDOPreferencePage extends OMPreferencePage
transactionGroup.setLayoutData(UIUtil.createGridData(true, false));
new Label(transactionGroup, SWT.NONE).setText("Commit timeout (millis):");
- commitTimeout = new TextAndDisable(transactionGroup, SWT.BORDER, "0")
+ commitTimeout = new TextAndDisable(transactionGroup, SWT.BORDER, String.valueOf(BufferInputStream.NO_TIMEOUT))
{
@Override
protected GridData createTextLayoutData()