]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.diagram/src/org/simantics/diagram/handler/CopyOperation.java
Fix diagram profiles to work with latest DB changes
[simantics/platform.git] / bundles / org.simantics.diagram / src / org / simantics / diagram / handler / CopyOperation.java
1 /*******************************************************************************
2  * Copyright (c) 2007, 2010 Association for Decentralized Information Management
3  * in Industry THTH ry.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.diagram.handler;
13
14 import org.simantics.g2d.canvas.ICanvasContext;
15
16 /**
17  * @author Tuukka Lehtonen
18  * @see CopyStrategy
19  * @see CopyPasteStrategy
20  * @since 1.23
21  */
22 public final class CopyOperation {
23
24     public final ICanvasContext    ctx;
25     public final ElementAssortment ea;
26     public final boolean           cut;
27
28     public CopyOperation(
29             ICanvasContext ctx,
30             ElementAssortment ea,
31             boolean cut
32     ) {
33         this.ctx = ctx;
34         this.ea = ea;
35         this.cut = cut;
36     }
37
38 }