Package com.intellij.openapi.roots.libraries

Examples of com.intellij.openapi.roots.libraries.LibraryTablesRegistrar


        else
            return mgr.getProgressIndicator();
    }

    public static Library findLibrary(final Project pProject, final Artifact pDependency) {
        final LibraryTablesRegistrar libTableMgr = LibraryTablesRegistrar.getInstance();
        final LibraryTable libTable = libTableMgr.getLibraryTable(pProject);

        String libName = pDependency.toString();
        Library lib = libTable.getLibraryByName(libName);
        if (lib == null) {
            String type = pDependency.getType();
View Full Code Here


      }
    }
  }

  private Library[] getProjectLibraries(Project project) {
    LibraryTablesRegistrar registrar = LibraryTablesRegistrar.getInstance();
    LibraryTable libraryTable = registrar.getLibraryTable(project);
    return libraryTable.getLibraries();
  }
View Full Code Here

    LibraryTable libraryTable = registrar.getLibraryTable(project);
    return libraryTable.getLibraries();
  }

  private Library[] getGlobalLibraries() {
    LibraryTablesRegistrar registrar = LibraryTablesRegistrar.getInstance();
    LibraryTable libraryTable = registrar.getLibraryTable();
    return libraryTable.getLibraries();
  }
View Full Code Here

            }
            modifiableModel.commit();
        }
        RunnableHelper.runWhenInitialized(getMyProject(), new Runnable() {
            public void run() {
                final LibraryTablesRegistrar libTablesRegistrar = LibraryTablesRegistrar.getInstance();

                final LibraryTable libraryTable = libTablesRegistrar.getLibraryTable(getMyProject());

                final LibraryTable.ModifiableModel libTableModel = libraryTable.getModifiableModel();


                Library library = libTableModel.createLibrary(AsposeConstants.LIBRARY_NAME);
View Full Code Here

TOP

Related Classes of com.intellij.openapi.roots.libraries.LibraryTablesRegistrar

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.