use of com.ramussoft.pb.dmaster.UserTemplate in project ramus by Vitaliy-Yakovchuk.
the class FunctionBeansClipboard method setCopy.
public static void setCopy(Function function, DataPlugin dataPlugin, SectorRefactor refactor, List<Function> functions) {
UserTemplate template = new UserTemplate(function, dataPlugin, "", refactor, functions);
ByteArrayOutputStream stream = new ByteArrayOutputStream();
try {
template.saveToStream(stream);
data = stream.toByteArray();
} catch (IOException e) {
e.printStackTrace();
}
}
Aggregations