canShutdown()
Called on shutdown hooks in the order they were registered prior to
shutting down the IDE.

void

shutdown()
Called on all shutdown hooks in the order they were registered when the
IDE is terminating.

Method Detail

canShutdown

boolean canShutdown()

Called on shutdown hooks in the order they were registered prior to
shutting down the IDE. If any hook returns false, the shutdown sequence
will be aborted and no further hooks will be queried.

Returns:

true if shutdown can proceed, false to abort
shutdown.

shutdown

void shutdown()

Called on all shutdown hooks in the order they were registered when the
IDE is terminating. The IDE will quit when this method is called,
therefore it is unnecessary to perform deregistration tasks that do not
have an external effect. For example, it is unnecessary to deregister
menu items, but it might be necessary to close a network connection or
save a file.