<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src" />
- <classpathentry kind="src" path="ext/test" />
<classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins" />
<classpathentry kind="con"
-source.. = src/,\
- ext/test/
+source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.
-additional.bundles = org.apache.log4j,\
- org.apache.commons.collections,\
- org.argeo.cms,\
- org.eclipse.core.commands,\
- org.eclipse.core.runtime,\
- org.junit,\
- org.slf4j.api,\
- org.slf4j.commons.logging,\
- org.slf4j.log4j12,\
-
\ No newline at end of file
+
\ No newline at end of file
+++ /dev/null
-package org.argeo.eclipse.ui.fs;
-
-import java.nio.file.Path;
-import java.nio.file.Paths;
-
-import org.argeo.eclipse.ui.EclipseUiUtils;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-
-public class AdvancedBrowserExample {
-
- private static String DUMMY_ABS_PATH = System.getProperty("user.home");
- private static String DUMMY_ABS_PATH2 = "/tmp";
-
- public static void main(String[] args) {
- Display display = new Display();
- Shell shell = new Shell(display);
- shell.setLayout(EclipseUiUtils.noSpaceGridLayout());
- shell.setText("Simple Browser Example");
-
- AdvancedFsBrowser sftb = new AdvancedFsBrowser();
- Path path = Paths.get(DUMMY_ABS_PATH);
- Control body = sftb.createUi(shell, path);
- body.setLayoutData(EclipseUiUtils.fillAll());
- shell.open();
- while (!shell.isDisposed()) {
- if (!display.readAndDispatch())
- display.sleep();
- }
- display.dispose();
- }
-}
+++ /dev/null
-package org.argeo.eclipse.ui.fs;
-
-import java.nio.file.Path;
-import java.nio.file.Paths;
-
-import org.argeo.eclipse.ui.EclipseUiUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-
-public class SimpleBrowserExample {
-
- private static String DUMMY_ABS_PATH = System.getProperty("user.home");
- private static String DUMMY_ABS_PATH2 = "/tmp";
-
- public static void main(String[] args) {
- Display display = new Display();
- Shell shell = new Shell(display);
- shell.setLayout(EclipseUiUtils.noSpaceGridLayout());
- shell.setText("Simple File system browser Example");
-
- SimpleFsBrowser sfb = new SimpleFsBrowser(shell, SWT.NO_FOCUS);
- Path path = Paths.get(DUMMY_ABS_PATH);
- Path path2 = Paths.get(DUMMY_ABS_PATH2);
- sfb.setInput(path, path2);
- sfb.setLayoutData(EclipseUiUtils.fillAll());
- sfb.layout(true, true);
-
- shell.open();
- while (!shell.isDisposed()) {
- if (!display.readAndDispatch())
- display.sleep();
- }
- display.dispose();
- }
-}
+++ /dev/null
-package org.argeo.eclipse.ui.fs;
-
-import java.nio.file.Path;
-import java.nio.file.Paths;
-
-import org.argeo.eclipse.ui.EclipseUiUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-
-public class SimpleTreeBrowserExample {
-
- private static String DUMMY_ABS_PATH = System.getProperty("user.home");
- private static String DUMMY_ABS_PATH2 = "/tmp";
-
- public static void main(String[] args) {
- Display display = new Display();
- Shell shell = new Shell(display);
- shell.setLayout(EclipseUiUtils.noSpaceGridLayout());
- shell.setText("Simple Tree Browser Example");
-
- SimpleFsTreeBrowser sftb = new SimpleFsTreeBrowser(shell, SWT.NO_FOCUS);
- Path path = Paths.get(DUMMY_ABS_PATH);
- Path path2 = Paths.get(DUMMY_ABS_PATH2);
- sftb.setInput(path, path2);
- sftb.setLayoutData(EclipseUiUtils.fillAll());
-
- sftb.layout(true, true);
- shell.open();
- while (!shell.isDisposed()) {
- if (!display.readAndDispatch())
- display.sleep();
- }
- display.dispose();
- }
-}