Package com.intellij.openapi.application.ex

Examples of com.intellij.openapi.application.ex.ApplicationEx.restart()


    @Override
    public void restart(final Boolean askBeforeRestart) {
        final ApplicationEx app = ApplicationManagerEx.getApplicationEx();
        if (app.isRestartCapable()) {
            if (!askBeforeRestart || (userWantsToRestart())) {
                app.restart();
            }
        } else {
            if (!askBeforeRestart || (userWantsToShutdown())) {
                app.exit(true);
            }
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.