}
}
}
}
ProjectVariables variables = VariablesPlugin.getDefault().getProjectVariables(this.project);
IPath externalBuildRootPath = variables.getExternalBuildRoot();
IPath externalBuildFrameworkPath = variables.getExternalBuildFrameworkPath();
if (externalBuildRootPath != null && externalBuildFrameworkPath != null) {
roots.add(getCachedFolderRoot(Root.EXTERNAL_ROOT, "External Build Root", externalBuildFrameworkPath.toFile(), externalBuildRootPath.toFile()));
}
IPath userRoot = variables.getUserRoot();
IPath userFrameworkPath = variables.getUserFrameworkPath();
if (userRoot != null && userFrameworkPath != null) {
roots.add(getCachedFolderRoot(Root.USER_ROOT, "User Frameworks", userRoot.toFile(), userFrameworkPath.toFile()));
}
IPath localRoot = variables.getLocalRoot();
IPath localFrameworkPath = variables.getLocalFrameworkPath();
if (localRoot != null && localFrameworkPath != null) {
roots.add(getCachedFolderRoot(Root.LOCAL_ROOT, "Local Frameworks", localRoot.toFile(), localFrameworkPath.toFile()));
}
IPath systemRoot = variables.getSystemRoot();
IPath systemFrameworkPath = variables.getSystemFrameworkPath();
if (systemRoot != null && systemFrameworkPath != null) {
roots.add(getCachedFolderRoot(Root.SYSTEM_ROOT, "System Frameworks", systemRoot.toFile(), systemFrameworkPath.toFile()));
}
IPath networkRoot = variables.getNetworkRoot();
IPath networkSystemPath = variables.getNetworkFrameworkPath();
if (networkRoot != null && networkSystemPath != null) {
roots.add(getCachedFolderRoot(Root.NETWORK_ROOT, "Network Frameworks", networkRoot.toFile(), networkSystemPath.toFile()));
}
return roots;
}