Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/command/SingleUseQueueingCommandExecutor.java')
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/command/SingleUseQueueingCommandExecutor.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/command/SingleUseQueueingCommandExecutor.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/command/SingleUseQueueingCommandExecutor.java
new file mode 100644
index 0000000000..5bd07e12f2
--- /dev/null
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/command/SingleUseQueueingCommandExecutor.java
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.common.utility.internal.command;
+
+import org.eclipse.jpt.common.utility.command.CommandExecutor;
+import org.eclipse.jpt.common.utility.command.ExtendedCommandExecutor;
+import org.eclipse.jpt.common.utility.command.StatefulCommandExecutor;
+
+/**
+ * @see AbstractSingleUseQueueingCommandExecutor
+ */
+public class SingleUseQueueingCommandExecutor
+ extends AbstractSingleUseQueueingCommandExecutor<StatefulCommandExecutor>
+{
+ public SingleUseQueueingCommandExecutor() {
+ this(ExtendedCommandExecutor.Default.instance());
+ }
+
+ public SingleUseQueueingCommandExecutor(CommandExecutor commandExecutor) {
+ this(new SimpleStatefulCommandExecutor(commandExecutor));
+ }
+
+ public SingleUseQueueingCommandExecutor(StatefulCommandExecutor commandExecutor) {
+ super(commandExecutor);
+ }
+}

Back to the top