org.netbeans.core/2 3.32

org.netbeans.core
Class NbLifecycleManager

java.lang.Object
  extended by org.openide.LifecycleManager
      extended by org.netbeans.core.NbLifecycleManager

public final class NbLifecycleManager
extends LifecycleManager

Default implementation of the lifecycle manager interface that knows how to save all modified DataObject's, and to exit the IDE safely.


Constructor Summary
NbLifecycleManager()
           
 
Method Summary
 void exit()
           
 void exit(int status)
           
static boolean isExiting()
           
 void markForRestart()
           
 void saveAll()
           
 
Methods inherited from class org.openide.LifecycleManager
getDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NbLifecycleManager

public NbLifecycleManager()
Method Detail

saveAll

public void saveAll()
Specified by:
saveAll in class LifecycleManager

exit

public void exit()
Specified by:
exit in class LifecycleManager

exit

public void exit(int status)
Overrides:
exit in class LifecycleManager

isExiting

public static boolean isExiting()
Returns:
True if the IDE is shutting down.

markForRestart

public void markForRestart()
                    throws UnsupportedOperationException
Overrides:
markForRestart in class LifecycleManager
Throws:
UnsupportedOperationException

org.netbeans.core/2 3.32

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.