summaryrefslogtreecommitdiffstats
path: root/examples/org.eclipse.swt.examples.layouts
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2002-05-07 19:40:21 +0000
committerGrant Gayed <ggayed>2002-05-07 19:40:21 +0000
commitdb5761991f63783c1f5ad68cb37a77aa1a645f60 (patch)
tree77870c54cc615d8853458c280768f0d29366153f /examples/org.eclipse.swt.examples.layouts
parent35d4fa6502f598dce4dd747eb9dbd3b0994b7a69 (diff)
downloadeclipse.platform.swt-db5761991f63783c1f5ad68cb37a77aa1a645f60.tar.gz
eclipse.platform.swt-db5761991f63783c1f5ad68cb37a77aa1a645f60.tar.xz
eclipse.platform.swt-db5761991f63783c1f5ad68cb37a77aa1a645f60.zip
reorg
Diffstat (limited to 'examples/org.eclipse.swt.examples.layouts')
-rw-r--r--examples/org.eclipse.swt.examples.layouts/.classpath6
-rw-r--r--examples/org.eclipse.swt.examples.layouts/build.properties2
-rw-r--r--examples/org.eclipse.swt.examples.layouts/org/eclipse/swt/examples/layouts/LayoutPlugin.java28
-rw-r--r--examples/org.eclipse.swt.examples.layouts/org/eclipse/swt/examples/layouts/LayoutView.java49
4 files changed, 4 insertions, 81 deletions
diff --git a/examples/org.eclipse.swt.examples.layouts/.classpath b/examples/org.eclipse.swt.examples.layouts/.classpath
index 469b912b2d..af69009f0a 100644
--- a/examples/org.eclipse.swt.examples.layouts/.classpath
+++ b/examples/org.eclipse.swt.examples.layouts/.classpath
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path=""/>
+ <classpathentry kind="src" path="src"/>
<classpathentry kind="var" path="JRE_LIB"/>
<classpathentry kind="var"
- path="ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtime.jar" sourcepath="ECLIPSE_HOME/plugins/org.eclipse.core.runtime/runtimesrc.zip"/>
+ path="ECLIPSE_HOME/plugins/org.eclipse.core.runtime_1.9.0/runtime.jar" sourcepath="ECLIPSE_HOME/plugins/org.eclipse.core.runtime_1.9.0/runtimesrc.zip"/>
<classpathentry kind="var"
- path="ECLIPSE_HOME/plugins/org.eclipse.ui/workbench.jar" sourcepath="ECLIPSE_HOME/plugins/org.eclipse.ui/workbenchsrc.zip"/>
+ path="ECLIPSE_HOME/plugins/org.eclipse.ui_1.9.0/workbench.jar" sourcepath="ECLIPSE_HOME/plugins/org.eclipse.ui_1.9.0/workbenchsrc.zip"/>
<classpathentry kind="src" path="/org.eclipse.swt.examples"/>
<classpathentry kind="src" path="/org.eclipse.swt"/>
<classpathentry kind="output" path="bin"/>
diff --git a/examples/org.eclipse.swt.examples.layouts/build.properties b/examples/org.eclipse.swt.examples.layouts/build.properties
index f81cb2e290..e3f6e8ea12 100644
--- a/examples/org.eclipse.swt.examples.layouts/build.properties
+++ b/examples/org.eclipse.swt.examples.layouts/build.properties
@@ -4,5 +4,5 @@ bin.includes = doc-html/,\
plugin.xml,\
about.html,\
*.jar
-source.layouts.jar = /org/,\
+source.layouts.jar = /src/,\
import.properties
diff --git a/examples/org.eclipse.swt.examples.layouts/org/eclipse/swt/examples/layouts/LayoutPlugin.java b/examples/org.eclipse.swt.examples.layouts/org/eclipse/swt/examples/layouts/LayoutPlugin.java
deleted file mode 100644
index 2455335b86..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/org/eclipse/swt/examples/layouts/LayoutPlugin.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.eclipse.swt.examples.layouts;
-
-/*
- * (c) Copyright IBM Corp. 2000, 2001.
- * All Rights Reserved
- */
-
-import org.eclipse.core.runtime.*;
-import org.eclipse.ui.plugin.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class LayoutPlugin extends AbstractUIPlugin {
- /**
- * The constructor.
- */
- public LayoutPlugin(IPluginDescriptor descriptor) {
- super(descriptor);
- }
-
- /**
- * Clean up
- */
- public void shutdown() throws CoreException {
- super.shutdown();
- }
-}
diff --git a/examples/org.eclipse.swt.examples.layouts/org/eclipse/swt/examples/layouts/LayoutView.java b/examples/org.eclipse.swt.examples.layouts/org/eclipse/swt/examples/layouts/LayoutView.java
deleted file mode 100644
index 0e8c08a183..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/org/eclipse/swt/examples/layouts/LayoutView.java
+++ /dev/null
@@ -1,49 +0,0 @@
-package org.eclipse.swt.examples.layouts;
-
-/*
- * (c) Copyright IBM Corp. 2000, 2001.
- * All Rights Reserved
- */
-
-import org.eclipse.swt.examples.layoutexample.*;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.ui.part.*;
-
-/**
- * <code>Layouts</code> is a simple demonstration
- * of the layouts defined by SWT. It consists of a workbench
- * view and tab folder where each tab in the folder allows the
- * user to interact with a layout.
- *
- * @see ViewPart
- */
-public class LayoutView extends ViewPart {
- LayoutExample instance = null;
-
- /**
- * Create the example
- *
- * @see ViewPart#createPartControl
- */
- public void createPartControl(Composite frame) {
- instance = new LayoutExample(frame);
- }
-
- /**
- * Called when we must grab focus.
- *
- * @see org.eclipse.ui.part.ViewPart#setFocus
- */
- public void setFocus() {
- instance.setFocus();
- }
-
- /**
- * Called when the View is to be disposed
- */
- public void dispose() {
- instance.dispose();
- instance = null;
- super.dispose();
- }
-}