Sweet Home 3D 4.1

com.eteks.sweethome3d.io
Class AutoRecoveryManager

java.lang.Object
  extended by com.eteks.sweethome3d.io.AutoRecoveryManager

public class AutoRecoveryManager
extends Object

Manager able to automatically save open homes in recovery folder with a timer. The delay between two automatic save operations is specified by auto save delay for recovery property.

Author:
Emmanuel Puybaret

Constructor Summary
AutoRecoveryManager(HomeApplication application)
          Creates a manager able to automatically recover application homes.
 
Method Summary
 void openRecoveredHomes()
          Opens recovered homes and adds them to application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoRecoveryManager

public AutoRecoveryManager(HomeApplication application)
                    throws RecorderException
Creates a manager able to automatically recover application homes. As this constructor adds some listeners on application instance and its preferences, it should be invoked only from the same thread where application is modified or at program startup.

Throws:
RecorderException
Method Detail

openRecoveredHomes

public void openRecoveredHomes()
Opens recovered homes and adds them to application.


Sweet Home 3D 4.1

© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License