Examples of SessionWriter


Examples of org.broad.igv.session.SessionWriter

     * @throws IOException
     */
    public static void saveSession(IGV igv, File targetFile) throws IOException{
        Session currentSession = igv.getSession();
        currentSession.setPath(targetFile.getAbsolutePath());
        (new SessionWriter()).saveSession(currentSession, targetFile);
    }
View Full Code Here

Examples of org.broad.igv.session.SessionWriter

            FileOutputStream out = null;
            token = WaitCursorManager.showWaitCursor();

            Session currentSession = mainFrame.getSession();
            currentSession.setPath(sessionFile.getAbsolutePath());
            (new SessionWriter()).saveSession(currentSession, sessionFile);

            DMUtils.uploadFile(sessionFile, gsPath);

            sessionFile.delete();
View Full Code Here

Examples of org.openstreetmap.josm.io.session.SessionWriter

        Layer activeLayer = Main.map.mapView.getActiveLayer();
        if (activeLayer != null) {
            active = layersOut.indexOf(activeLayer);
        }

        SessionWriter sw = new SessionWriter(layersOut, active, exporters, dependencies, zip);
        try {
            sw.write(file);
        } catch (IOException ex) {
            Main.error(ex);
            HelpAwareOptionPane.showMessageDialogInEDT(
                    Main.parent,
                    tr("<html>Could not save session file ''{0}''.<br>Error is:<br>{1}</html>", file.getName(), ex.getMessage()),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.