1 package org.simantics.db.layer0.util;
5 import org.simantics.databoard.container.DataContainer;
6 import org.simantics.db.RequestProcessor;
7 import org.simantics.db.layer0.util.SimanticsClipboard.Representation;
8 import org.simantics.utils.datastructures.hints.IHintContext.Key;
10 public class DataContainerRepresentation implements Representation {
12 final private DataContainer value;
14 public DataContainerRepresentation(DataContainer value) {
20 return SimanticsKeys.KEY_DATA_CONTAINER;
23 @SuppressWarnings("unchecked")
25 public <T> T getValue(RequestProcessor processor, Map<String,Object> hints) {