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

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

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 years, 1 month 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/DartProjectInfo.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartProjectInfo.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartProjectInfo.java
index fc7b29c1c98c3a849b033f74524be7f43b9ddf1f..5f90a02eebb429a47c9c196b69400b2f117e9f2b 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartProjectInfo.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/info/DartProjectInfo.java
@@ -40,6 +40,12 @@ public class DartProjectInfo extends OpenableElementInfo {
private HashMap<String, List<String>> htmlMapping;
/**
+ * The name of the directory in packages that is the self reference to the "lib" folder in the
+ * project
+ */
+ private String linkedPackageDirName;
+
+ /**
* Return a list containing the project-relative paths to all children in the project.
*
* @return a list containing the project-relative paths to all children in the project
@@ -68,6 +74,10 @@ public class DartProjectInfo extends OpenableElementInfo {
return libraries.toArray(new DartLibraryImpl[libraries.size()]);
}
+ public String getLinkedPackageDirName() {
+ return linkedPackageDirName;
+ }
+
public IResource[] getNonDartResources(DartProjectImpl project) {
DartCore.notYetImplemented();
return new IResource[0];
@@ -96,6 +106,13 @@ public class DartProjectInfo extends OpenableElementInfo {
}
/**
+ * set the name for the self linked package directory
+ */
+ public void setLinkedPackageDirName(String packageDirectoryName) {
+ this.linkedPackageDirName = packageDirectoryName;
+ }
+
+ /**
* Update the mapping table on changes to the project
*
* @param htmlFileName the name of the html file that changed

Powered by Google App Engine
This is Rietveld 408576698