Package com.intellij.webcore

Examples of com.intellij.webcore.ScriptingFrameworkDescriptor


    if (createLibrary) {
      ChooseScopeAndCreateLibraryDialog dialog = new ChooseScopeAndCreateLibraryDialog(
        myProject,
        getAssertFrameworkAdapterName(),
        extractedAdapterSourceFiles,
        new ScriptingFrameworkDescriptor(getAssertFrameworkAdapterName(), null),
        myFileRequestor,
        true
      );
      dialog.show();
    }
View Full Code Here


          final VirtualFile fileRequestor = PsiUtilCore.getVirtualFile(file);
          DialogWrapper dialog = new ChooseScopeAndCreateLibraryDialog(
            project,
            JstdLibraryUtil.LIBRARY_NAME,
            sources,
            new ScriptingFrameworkDescriptor(JstdLibraryUtil.LIBRARY_NAME, "1.3.5"),
            fileRequestor,
            false
          );
          AsyncResult<Boolean> result = dialog.showAndGetOk();
          result.doWhenDone(new Consumer<Boolean>() {
View Full Code Here

                                                                          @NotNull List<VirtualFile> expectedSourceFiles,
                                                                          @NotNull ScriptingFrameworkDescriptor frameworkDescriptor) {
    ScriptingLibraryModel[] libraryModels = jsLibraryManager.getAllLibraries();
    for (ScriptingLibraryModel libraryModel : libraryModels) {
      if (libraryModel != null) {
        ScriptingFrameworkDescriptor libraryFrameworkDescriptor = libraryModel.getFrameworkDescriptor();
        if (libraryFrameworkDescriptor != null) {
          String libraryFrameworkName = libraryFrameworkDescriptor.getFrameworkName();
          if (libraryFrameworkName != null && libraryFrameworkName.equals(frameworkDescriptor.getFrameworkName())) {
            return libraryModel;
          }
        }
        else if (StringUtil.startsWith(libraryModel.getName(), desiredLibraryName)) {
View Full Code Here

TOP

Related Classes of com.intellij.webcore.ScriptingFrameworkDescriptor

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.