Bug 374918 - Let default paste use LocalSelectionTransfer

* Improvements and cleanup
diff --git a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/util/clipboard/ModelClipboard.java b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/util/clipboard/ModelClipboard.java
index 20dbccd..8dd94cd 100644
--- a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/util/clipboard/ModelClipboard.java
+++ b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/internal/util/clipboard/ModelClipboard.java
@@ -569,21 +569,6 @@
 		}
 	}
 
-	@SuppressWarnings({ "unchecked", "hiding" })
-	private static <T extends EObject> List<T> getObjectsFromUri(List<String> uriStrings, ResourceSet resourceSet, Class<T> type) {
-		final List<T> result = new ArrayList<T>(uriStrings.size());
-		for (final String uriString : uriStrings) {
-			final URI uri = URI.createURI(uriString);
-			if (resourceSet.getURIConverter().exists(uri, null)) {
-				final EObject element = resourceSet.getEObject(uri, true);
-				if (element != null && type.isInstance(element)) {
-					result.add((T) element);
-				}
-			}
-		}
-		return result;
-	}
-
 	private String toExtendedString(List<EObject> objects) {
 		final StringBuilder result = new StringBuilder();
 		for (int i = 0; i < objects.size(); i++) {
diff --git a/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/pageobjects/PoWorkbenchPage.java b/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/pageobjects/PoWorkbenchPage.java
index 323e7b7..0dc14e1 100644
--- a/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/pageobjects/PoWorkbenchPage.java
+++ b/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/pageobjects/PoWorkbenchPage.java
@@ -1,7 +1,7 @@
 /*******************************************************************************

  * <copyright>

  *

- * Copyright (c) 2005, 2010 SAP AG.

+ * Copyright (c) 2005, 2012 SAP AG.

  * 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

@@ -10,6 +10,7 @@
  * Contributors:

  *    SAP AG - initial API, implementation and documentation

  *    Bug 336488 - DiagramEditor API

+ *    mwenz - Bug 374918 - Let default paste use LocalSelectionTransfer

  *

  * </copyright>

  *

diff --git a/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/tests/features/DefaultCopyFeature.java b/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/tests/features/DefaultCopyFeature.java
index 5dea4da..e67b998 100644
--- a/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/tests/features/DefaultCopyFeature.java
+++ b/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/tests/features/DefaultCopyFeature.java
@@ -9,7 +9,7 @@
  *
  * Contributors:
  *    SAP AG - initial API, implementation and documentation
- *    mwenz - Bug 374918 - Default copy feature makes editor dirty
+ *    mwenz - Bug 374918 - Let default paste use LocalSelectionTransfer
  *
  * </copyright>
  *