Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2005-01-05 16:40:22 +0000
committerDani Megert2005-01-05 16:40:22 +0000
commiteba00069f767443445c9db459cfa4b99f36b247d (patch)
tree9466713a3d1ca26d80f08375719d8aa4d3f2080c /org.eclipse.core.filebuffers.tests/src
parentd0662e9ca8fe8307d607a26ac08a6fcb583f1c90 (diff)
downloadeclipse.platform.text-eba00069f767443445c9db459cfa4b99f36b247d.tar.gz
eclipse.platform.text-eba00069f767443445c9db459cfa4b99f36b247d.tar.xz
eclipse.platform.text-eba00069f767443445c9db459cfa4b99f36b247d.zip
Renamed ContainerGenerator to ContainerCreator and made it API
Diffstat (limited to 'org.eclipse.core.filebuffers.tests/src')
-rw-r--r--org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/ResourceHelper.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/ResourceHelper.java b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/ResourceHelper.java
index 23063fdad..ffc7f1cbb 100644
--- a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/ResourceHelper.java
+++ b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/ResourceHelper.java
@@ -14,7 +14,6 @@ import java.io.File;
import java.io.InputStream;
import java.io.StringBufferInputStream;
-import org.eclipse.core.internal.filebuffers.ContainerGenerator;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
@@ -24,6 +23,9 @@ import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
+
+import org.eclipse.core.filebuffers.manipulation.ContainerCreator;
+
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -85,8 +87,8 @@ public class ResourceHelper {
}
public static IFolder createFolder(String portableFolderPath) throws CoreException {
- ContainerGenerator generator= new ContainerGenerator(ResourcesPlugin.getWorkspace(), new Path(portableFolderPath));
- IContainer container= generator.generateContainer(NULL_MONITOR);
+ ContainerCreator creator= new ContainerCreator(ResourcesPlugin.getWorkspace(), new Path(portableFolderPath));
+ IContainer container= creator.createContainer(NULL_MONITOR);
if (container instanceof IFolder)
return (IFolder) container;
return null;

Back to the top