LibraryTableModifiableModelProvider (LibraryLevel libraryLevel) { if (libraryLevel == LibraryLevel.PROJECT) { return myContext.getProjectLibrariesProvider(); } else if (libraryLevel == LibraryLevel.GLOBAL) { return myContext.getGlobalLibrariesProvider(); } else { return null; } }