Package com.intellij.codeInsight.intention.impl

Examples of com.intellij.codeInsight.intention.impl.CreateClassDialog


                                   @Nullable final String baseClass,
                                   @NotNull String suggestedName,
                                   @NotNull String suggestedPackage) {
    Project project = origin.getProject();
    Module module = ModuleUtilCore.findModuleForPsiElement(origin);
    CreateClassDialog dialog = new CreateClassDialog(project, title, suggestedName, suggestedPackage, CreateClassKind.CLASS, true, module);
    if (!dialog.showAndGet()) return null;

    final String className = dialog.getClassName();
    final PsiDirectory targetDirectory = dialog.getTargetDirectory();
    return createClass(className, targetDirectory, baseClass, title, null);
  }
View Full Code Here

TOP

Related Classes of com.intellij.codeInsight.intention.impl.CreateClassDialog

Copyright © 2018 www.massapicom. 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.