Package com.intellij.openapi.roots.impl.libraries

Examples of com.intellij.openapi.roots.impl.libraries.LibraryEx


                                          : ProjectRootManager.getInstance(myProject).getFileIndex().getOrderEntriesForFile(contextFile);
    for (OrderEntry orderEntry : orderEntries) {
      if (orderEntry instanceof LibraryOrderEntry &&
          LibraryTablesRegistrar.PROJECT_LEVEL.equals(((LibraryOrderEntry)orderEntry).getLibraryLevel()) &&
          PubListPackageDirsAction.PUB_LIST_PACKAGE_DIRS_LIB_NAME.equals(((LibraryOrderEntry)orderEntry).getLibraryName())) {
        final LibraryEx library =
          (LibraryEx)ProjectLibraryTable.getInstance(myProject).getLibraryByName(PubListPackageDirsAction.PUB_LIST_PACKAGE_DIRS_LIB_NAME);
        final LibraryProperties properties = library == null ? null : library.getProperties();

        if (properties instanceof DartListPackageDirsLibraryProperties) {
          myPubListPackageDirsMap.putAll(((DartListPackageDirsLibraryProperties)properties).getPackageNameToDirsMap());
          return;
        }
View Full Code Here


      DartiumUtil.setCheckedMode(browserSpecificSettings.getEnvironmentVariables(), true);
    }
  }

  private static void deleteDartSdkGlobalLibConfiguredInOldIde() {
    final LibraryEx library = (LibraryEx)ApplicationLibraryTable.getApplicationTable().getLibraryByName("Dart SDK");
    final PersistentLibraryKind<?> kind = library == null ? null : library.getKind();
    if (library != null && kind != null && "javaScript".equals(kind.getKindId())) {
      ApplicationManager.getApplication().runWriteAction(new Runnable() {
        public void run() {
          ApplicationLibraryTable.getApplicationTable().removeLibrary(library);
        }
View Full Code Here

            }
            String libraryName = libraryModel.getName();
            if (libraryName != null && libraryName.startsWith(LIBRARY_NAME)) {
              Library library = libraryModel.getOriginalLibrary();
              if (library instanceof LibraryEx) {
                LibraryEx libraryEx = (LibraryEx) library;
                if (libraryEx.isDisposed()) {
                  continue;
                }
              }
              if (libraryModel.containsFile(libVirtualFile)) {
                return true;
View Full Code Here

TOP

Related Classes of com.intellij.openapi.roots.impl.libraries.LibraryEx

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.