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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/filesview/DartLibraryNode.java

Issue 10907096: modify files view to use declared sdk libraries (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 3 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
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/filesview/DartDirectoryNode.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/filesview/DartLibraryNode.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/filesview/DartLibraryNode.java (revision 11969)
+++ editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/filesview/DartLibraryNode.java (working copy)
@@ -31,10 +31,12 @@
class DartLibraryNode implements IDartNode {
private DartDirectoryNode parent;
private IFileStore root;
+ private String name;
- public DartLibraryNode(DartDirectoryNode parent, IFileStore root) {
+ public DartLibraryNode(DartDirectoryNode parent, IFileStore root, String name) {
this.parent = parent;
this.root = root;
+ this.name = name;
}
public IFileStore[] getFiles() {
@@ -57,7 +59,7 @@
if (isPkgNode()) {
return "package:" + root.getName() + "/" + root.getName() + ".dart";
} else {
- return "dart:" + root.getName();
+ return "dart:" + name;
}
}
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/filesview/DartDirectoryNode.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698