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

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

Issue 9704021: Add a top-level node in the Files view to display the SDK libraries. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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/SystemLibraryManagerProvider.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/SystemLibraryManagerProvider.java (revision 5473)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/SystemLibraryManagerProvider.java (working copy)
@@ -102,16 +102,11 @@
if (VM_LIBRARY_MANAGER == null) {
VM_LIBRARY_MANAGER = new EditorLibraryManager() {
- @Override
- protected String getPlatformName() {
- return "runtime";
- }
-
/**
* Return the SDK "lib" directory
*/
@Override
- File getLibrariesDir() {
+ public File getLibrariesDir() {
DartSdk sdk = DartSdk.getInstance();
if (sdk == null) {
DartCore.logError("Missing SDK");
@@ -126,6 +121,11 @@
}
return librariesDir;
}
+
+ @Override
+ protected String getPlatformName() {
+ return "runtime";
+ }
};
}
}

Powered by Google App Engine
This is Rietveld 408576698