Introduce CRUD to GCR
[lgpl/argeo-commons.git] / org.argeo.cms.swt / src / org / argeo / cms / swt / gcr / GcrContentTreeView.java
index 354be53532261a9d80a1b71a0ec13a1ad0b0cd2c..092a35739a6fb9c2c630a4501195273c54def0e6 100644 (file)
@@ -4,7 +4,7 @@ import java.nio.file.Path;
 import java.nio.file.Paths;
 
 import org.argeo.api.gcr.Content;
-import org.argeo.cms.gcr.fs.FsContentSession;
+import org.argeo.cms.gcr.fs.FsContentProvider;
 import org.argeo.cms.swt.CmsSwtUtils;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.FillLayout;
@@ -114,7 +114,7 @@ public class GcrContentTreeView extends Composite {
                shell.setText(basePath.toString());
                shell.setLayout(new FillLayout());
 
-               FsContentSession contentSession = new FsContentSession(basePath);
+               FsContentProvider contentSession = new FsContentProvider(basePath);
                GcrContentTreeView treeView = new GcrContentTreeView(shell, 0, contentSession.get());
 
                shell.setSize(shell.computeSize(800, 600));