Bug 304584 - [Tooling] Implement Workbench-Model-Tooling * added copy&paste
diff --git a/bundles/org.eclipse.e4.tools.services/src/org/eclipse/e4/tools/services/IClipboardService.java b/bundles/org.eclipse.e4.tools.services/src/org/eclipse/e4/tools/services/IClipboardService.java new file mode 100644 index 0000000..2f1f796 --- /dev/null +++ b/bundles/org.eclipse.e4.tools.services/src/org/eclipse/e4/tools/services/IClipboardService.java
@@ -0,0 +1,26 @@ +/******************************************************************************* + * Copyright (c) 2010 BestSolution.at and others. + * 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: + * Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation + ******************************************************************************/ +package org.eclipse.e4.tools.services; + +public interface IClipboardService { + public void copy(); + public void paste(); + public void cut(); + public void setHandler(Handler handler); + + public interface Handler { + public void paste(); + public void copy(); + public void cut(); +// public boolean canCopy(); +// public boolean canPaste(); + } +}