| 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
|
|
|