]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms.ui.workbench/src/org/argeo/cms/ui/workbench/jcr/NodeFsBrowserView.java
cfbf5208e133526d807ca3d2b7db0fb954c61c26
[lgpl/argeo-commons.git] / org.argeo.cms.ui.workbench / src / org / argeo / cms / ui / workbench / jcr / NodeFsBrowserView.java
1 /*
2 * Copyright (C) 2007-2012 Argeo GmbH
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.argeo.cms.ui.workbench.jcr;
17
18 import java.nio.file.spi.FileSystemProvider;
19
20 import org.argeo.cms.ui.workbench.WorkbenchUiPlugin;
21 import org.eclipse.swt.widgets.Composite;
22 import org.eclipse.ui.part.ViewPart;
23
24 /**
25 * Browse the node file system.
26 */
27 public class NodeFsBrowserView extends ViewPart {
28 public final static String ID = WorkbenchUiPlugin.PLUGIN_ID + ".nodeFsBrowserView";
29
30 private FileSystemProvider nodeFileSystemProvider;
31
32 @Override
33 public void createPartControl(Composite parent) {
34 // SimpleFsBrowser browser = new SimpleFsBrowser(parent, SWT.NO_FOCUS);
35 // Path path = Paths.get("/");
36 // browser.setInput(path);
37 // browser.setLayoutData(EclipseUiUtils.fillAll());
38 }
39
40 @Override
41 public void setFocus() {
42 // TODO Auto-generated method stub
43
44 }
45
46 public void setNodeFileSystemProvider(FileSystemProvider nodeFileSystemProvider) {
47 this.nodeFileSystemProvider = nodeFileSystemProvider;
48 }
49
50
51 }