public static TransferableGraph1 exportSharedOntology(IProgressMonitor monitor, RequestProcessor processor, File location, String format, int version, final LibraryInfo info) throws DatabaseException, IOException {
if(monitor == null) monitor = new NullProgressMonitor();
public static TransferableGraph1 exportSharedOntology(IProgressMonitor monitor, RequestProcessor processor, File location, String format, int version, final LibraryInfo info) throws DatabaseException, IOException {
if(monitor == null) monitor = new NullProgressMonitor();
// TODO: figure out a way to make the TG go directly into a file
// instead of having it all in memory at once.
// TODO: figure out a way to make the TG go directly into a file
// instead of having it all in memory at once.
public SimanticsClipboard perform(ReadGraph graph) throws DatabaseException {
CopyHandler ch = graph.adapt(info.library.getResource(), CopyHandler.class);
SimanticsClipboardImpl clipboard = new SimanticsClipboardImpl();
public SimanticsClipboard perform(ReadGraph graph) throws DatabaseException {
CopyHandler ch = graph.adapt(info.library.getResource(), CopyHandler.class);
SimanticsClipboardImpl clipboard = new SimanticsClipboardImpl();