Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(516)

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartModelInfo.java

Issue 10827457: rename refactor SystemLibraryManager -> PackagelibraryManager SdkLibraryManager -> SystemLibraryM... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartModelInfo.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartModelInfo.java (revision 11058)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartModelInfo.java (working copy)
@@ -13,11 +13,11 @@
*/
package com.google.dart.tools.core.internal.model.info;
-import com.google.dart.compiler.SystemLibraryManager;
+import com.google.dart.compiler.PackageLibraryManager;
import com.google.dart.compiler.UrlLibrarySource;
import com.google.dart.tools.core.internal.model.DartLibraryImpl;
import com.google.dart.tools.core.internal.model.DartProjectNature;
-import com.google.dart.tools.core.internal.model.SystemLibraryManagerProvider;
+import com.google.dart.tools.core.internal.model.PackageLibraryManagerProvider;
import com.google.dart.tools.core.model.DartLibrary;
import org.eclipse.core.resources.IProject;
@@ -84,7 +84,7 @@
return nonDartProjects;
}
- private DartLibraryImpl createBundledLibrary(SystemLibraryManager libraryManager, String urlSpec)
+ private DartLibraryImpl createBundledLibrary(PackageLibraryManager libraryManager, String urlSpec)
throws URISyntaxException {
URI libUri = new URI(urlSpec);
return new DartLibraryImpl(new UrlLibrarySource(libUri, libraryManager));
@@ -93,7 +93,7 @@
private void initializeBundledLibraries() {
ArrayList<DartLibrary> libraries = new ArrayList<DartLibrary>();
try {
- SystemLibraryManager libraryManager = SystemLibraryManagerProvider.getSystemLibraryManager();
+ PackageLibraryManager libraryManager = PackageLibraryManagerProvider.getSystemLibraryManager();
coreLibrary = createBundledLibrary(libraryManager, "dart:core");
for (String spec : libraryManager.getAllLibrarySpecs()) {
libraries.add(createBundledLibrary(libraryManager, spec));

Powered by Google App Engine
This is Rietveld 408576698