Examples of LayoutProjectCodeDialog


Examples of com.intellij.codeInsight.actions.LayoutProjectCodeDialog

                if (moduleContext != null) {
                    text = CodeInsightBundle.message("process.scope.module", moduleContext.getName());
                } else {
                    text = CodeInsightBundle.message("process.scope.project", projectContext.getPresentableUrl());
                }
                LayoutProjectCodeDialog dialog
                        = new LayoutProjectCodeDialog(project, null, CodeInsightBundle.message("process.optimize.imports"), text, false);
                dialog.show();
                if (!dialog.isOK()) return;
                if (moduleContext != null) {
                    new OptimizeImportsProcessor(project, moduleContext).run();
                } else {
                    new OptimizeImportsProcessor(projectContext).run();
                }
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.