diff options
author | Grant Gayed <ggayed> | 2002-11-01 14:26:48 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2002-11-01 14:26:48 +0000 |
commit | cd469f554f4c5122d5a2edbbf12606873e6c8ebd (patch) | |
tree | df10ebe6587b74722e0723f35f6cb37b6722b87b /examples/org.eclipse.swt.examples.launcher | |
parent | 212fb37cf24f0c28db4b8a3bc1878f3e30f2936a (diff) | |
download | eclipse.platform.swt-cd469f554f4c5122d5a2edbbf12606873e6c8ebd.tar.gz eclipse.platform.swt-cd469f554f4c5122d5a2edbbf12606873e6c8ebd.tar.xz eclipse.platform.swt-cd469f554f4c5122d5a2edbbf12606873e6c8ebd.zip |
get rid of unused import warnings
Diffstat (limited to 'examples/org.eclipse.swt.examples.launcher')
5 files changed, 11 insertions, 11 deletions
diff --git a/examples/org.eclipse.swt.examples.launcher/.classpath b/examples/org.eclipse.swt.examples.launcher/.classpath index 57088c82eb..eafbb18026 100755 --- a/examples/org.eclipse.swt.examples.launcher/.classpath +++ b/examples/org.eclipse.swt.examples.launcher/.classpath @@ -4,8 +4,9 @@ <classpathentry kind="src" path="/org.eclipse.swt"/> <classpathentry kind="src" path="/org.eclipse.swt.examples"/> <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/> - <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.ui_2.0.0/workbench.jar"/> - <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.core.boot_2.0.0/boot.jar"/> - <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.core.runtime_2.0.0/runtime.jar"/> + <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.core.boot_2.1.0/boot.jar"/> + <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.core.runtime_2.1.0/runtime.jar"/> + <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.ui.workbench_2.1.0/workbench.jar"/> + <classpathentry kind="var" path="ECLIPSE_HOME/plugins/org.eclipse.jface_2.1.0/jface.jar"/> <classpathentry kind="output" path="bin"/> </classpath> diff --git a/examples/org.eclipse.swt.examples.launcher/doc/org.eclipse.swt.examples.launcher.launchItems.html b/examples/org.eclipse.swt.examples.launcher/doc/org.eclipse.swt.examples.launcher.launchItems.html index abef83ef0c..3edf91876a 100755 --- a/examples/org.eclipse.swt.examples.launcher/doc/org.eclipse.swt.examples.launcher.launchItems.html +++ b/examples/org.eclipse.swt.examples.launcher/doc/org.eclipse.swt.examples.launcher.launchItems.html @@ -13,7 +13,7 @@ launch items to the Launcher, optionally grouping them into categories so as to form a multi-tiered hierarchy. Standalone programs are executed using the platform's event loop. Workbench views are created within the active Workbench Perspective.<H2>Markup</H2> -<p><samp> <!ELEMENT extension (EMPTY)></samp> +<p><samp> <!ELEMENT extension EMPTY></samp> <br><samp> <!ATTLIST extension</samp> <br><samp> point CDATA #REQUIRED</samp> <br><samp> id CDATA #IMPLIED</samp> @@ -21,20 +21,20 @@ Workbench views are created within the active Workbench Perspective.<H2>Markup</ <br><samp> ></samp> <ul> <li><b>point</b> - </li><li><b>id</b> - </li><li><b>name</b> - </li></ul> -<p><samp> <!ELEMENT program (EMPTY)></samp> +<p><samp> <!ELEMENT program EMPTY></samp> <br><samp> <!ATTLIST program</samp> <br><samp> mainClass CDATA #REQUIRED</samp> <br><samp> pluginId CDATA #REQUIRED</samp> <br><samp> ></samp> <ul> <li><b>mainClass</b> - The fully-qualified name of the class whose main() method is to be launched.</li><li><b>pluginId</b> - The unique id of the Eclipse Platform plugin containing the program.</li></ul> -<p><samp> <!ELEMENT view (EMPTY)></samp> +<p><samp> <!ELEMENT view EMPTY></samp> <br><samp> <!ATTLIST view</samp> <br><samp> viewId CDATA #REQUIRED</samp> <br><samp> ></samp> <ul> <li><b>viewId</b> - The unique id of the Workbench View to be activated when the item is launched.</li></ul> -<p><samp> <!ELEMENT category (EMPTY)></samp> +<p><samp> <!ELEMENT category EMPTY></samp> <br><samp> <!ATTLIST category</samp> <br><samp> name CDATA #REQUIRED</samp> <br><samp> id CDATA #REQUIRED</samp> @@ -42,7 +42,7 @@ Workbench views are created within the active Workbench Perspective.<H2>Markup</ <br><samp> ></samp> <ul> <li><b>name</b> - The localized name of this category.</li><li><b>id</b> - The unique id of this category. Categories with duplicate id's will be discarded.</li><li><b>category</b> - The unique id of the parent category.</li></ul> -<p><samp> <!ELEMENT item (EMPTY)></samp> +<p><samp> <!ELEMENT item EMPTY></samp> <br><samp> <!ATTLIST item</samp> <br><samp> name CDATA #REQUIRED</samp> <br><samp> id CDATA #REQUIRED</samp> diff --git a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemDescriptor.java b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemDescriptor.java index da9553d512..11ff9372b0 100755 --- a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemDescriptor.java +++ b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemDescriptor.java @@ -1,7 +1,7 @@ package org.eclipse.swt.examples.launcher;
/*
* Copyright (c) 2000, 2002 IBM Corp. All rights reserved. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
*/
import java.net.*;
import org.eclipse.swt.graphics.*; + * http://www.eclipse.org/legal/cpl-v10.html
*/
import org.eclipse.swt.graphics.*;
/**
* ItemDescriptor collects information about a launch item.
*/ class ItemDescriptor {
private String id; diff --git a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java index 3047da9396..8177538056 100755 --- a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java +++ b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java @@ -9,7 +9,6 @@ package org.eclipse.swt.examples.launcher; import org.eclipse.swt.SWT;
import org.eclipse.swt.events.*;
-import org.eclipse.swt.examples.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.ui.*;
diff --git a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/SplitLayout.java b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/SplitLayout.java index 636b5eb715..6eee1cdb9d 100755 --- a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/SplitLayout.java +++ b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/SplitLayout.java @@ -1,7 +1,7 @@ package org.eclipse.swt.examples.launcher;
/*
* (c) Copyright IBM Corp. 2000, 2002. * This file is made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html
*/
import org.eclipse.swt.*;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.widgets.*;
/**
* A Layout class that automatically switches from a horizontal split to a vertical
* split layout to accomodate changing size conditions.
*
* Later on we might improve this class to take into account the "preferred" size of
* the widgets.
*/
+ * http://www.eclipse.org/legal/cpl-v10.html
*/
import org.eclipse.swt.*;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.widgets.*;
/**
* A Layout class that automatically switches from a horizontal split to a vertical
* split layout to accomodate changing size conditions.
*
* Later on we might improve this class to take into account the "preferred" size of
* the widgets.
*/
public class SplitLayout extends Layout {
private static final int
splitHorizontally = 0,
splitVertically = 1;
private int splitDirection = splitHorizontally;
public int spacing = 3;
public int marginTop = 3;
public int marginLeft = 3;
public int marginRight = 3;
public int marginBottom = 3;
/**
* Creates a new layout
|