Package org.flexdock.perspective.persist

Examples of org.flexdock.perspective.persist.FilePersistenceHandler


        PerspectiveManager.setRestoreFloatingOnLoad(true);
        PerspectiveManager mgr = PerspectiveManager.getInstance();
        //mgr.setCurrentPerspective(P1, true);

        // load any previously persisted layouts
        PersistenceHandler persister = new FilePersistenceHandler(new File(FilePersistenceHandler.DEFAULT_PERSPECTIVE_DIR, PERSPECTIVE_FILE), XMLPersister.newDefaultInstance());
        PerspectiveManager.setPersistenceHandler(persister);
        try {
            DockingManager.loadLayoutModel();
        } catch(IOException ex) {
            ex.printStackTrace();
View Full Code Here

TOP

Related Classes of org.flexdock.perspective.persist.FilePersistenceHandler

Copyright © 2018 www.massapicom. 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.