1 package org.simantics.db.layer0.util;
3 import java.util.Collection;
6 import org.simantics.db.RequestProcessor;
7 import org.simantics.db.Resource;
8 import org.simantics.db.layer0.util.SimanticsClipboard.Representation;
9 import org.simantics.utils.datastructures.hints.IHintContext.Key;
11 class ResourceCopyRepresentation implements Representation {
13 private Collection<Resource> resources;
15 public ResourceCopyRepresentation(Collection<Resource> resources) {
16 this.resources = resources;
21 return SimanticsKeys.KEY_COPY_RESOURCES;
24 @SuppressWarnings("unchecked")
26 public <T> T getValue(RequestProcessor processor, Map<String,Object> hints) {