]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/SimanticsClipboardImpl.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / util / SimanticsClipboardImpl.java
index c4f39290148cea54a5a2a80d9831b7407ffa802c..b760d578b62e8990d81c7b605a2f8332cc133638 100644 (file)
@@ -1,54 +1,54 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.db.layer0.util;\r
-\r
-import java.util.ArrayList;\r
-import java.util.Collection;\r
-import java.util.Collections;\r
-import java.util.Set;\r
-\r
-import org.simantics.utils.datastructures.collections.CollectionUtils;\r
-\r
-final public class SimanticsClipboardImpl implements SimanticsClipboard, SimanticsClipboardBuilder {\r
-       \r
-       final private ArrayList<Set<Representation>> objects = new ArrayList<Set<Representation>>(); \r
-\r
-       public SimanticsClipboardImpl() {\r
-       }\r
-       \r
-       public SimanticsClipboardImpl(Representation representation) {\r
-               addContent(Collections.singleton(representation));\r
-       }\r
-\r
-       public SimanticsClipboardImpl(Representation ... representation) {\r
-               addContent(CollectionUtils.toSet(representation));\r
-       }\r
-\r
-       @Override\r
-       public Collection<Set<Representation>> getContents() {\r
-               return objects;\r
-       }\r
-\r
-       @Override\r
-       public void addContent(Set<Representation> content) {\r
-               objects.add(content);\r
-       }\r
-       \r
-       static SimanticsClipboard single(Representation representation) {\r
-               return new SimanticsClipboardImpl(representation);\r
-       }\r
-\r
-       static SimanticsClipboard make(Representation ... representations) {\r
-               return new SimanticsClipboardImpl(representations);\r
-       }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2010 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * 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:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.db.layer0.util;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Set;
+
+import org.simantics.utils.datastructures.collections.CollectionUtils;
+
+final public class SimanticsClipboardImpl implements SimanticsClipboard, SimanticsClipboardBuilder {
+       
+       final private ArrayList<Set<Representation>> objects = new ArrayList<Set<Representation>>(); 
+
+       public SimanticsClipboardImpl() {
+       }
+       
+       public SimanticsClipboardImpl(Representation representation) {
+               addContent(Collections.singleton(representation));
+       }
+
+       public SimanticsClipboardImpl(Representation ... representation) {
+               addContent(CollectionUtils.toSet(representation));
+       }
+
+       @Override
+       public Collection<Set<Representation>> getContents() {
+               return objects;
+       }
+
+       @Override
+       public void addContent(Set<Representation> content) {
+               objects.add(content);
+       }
+       
+       static SimanticsClipboard single(Representation representation) {
+               return new SimanticsClipboardImpl(representation);
+       }
+
+       static SimanticsClipboard make(Representation ... representations) {
+               return new SimanticsClipboardImpl(representations);
+       }
+
+}