diff options
Diffstat (limited to 'examples/org.eclipse.swt.examples.controls')
15 files changed, 0 insertions, 403 deletions
diff --git a/examples/org.eclipse.swt.examples.controls/.classpath b/examples/org.eclipse.swt.examples.controls/.classpath deleted file mode 100755 index 065ac06e19..0000000000 --- a/examples/org.eclipse.swt.examples.controls/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/examples/org.eclipse.swt.examples.controls/.cvsignore b/examples/org.eclipse.swt.examples.controls/.cvsignore deleted file mode 100755 index c5e82d7458..0000000000 --- a/examples/org.eclipse.swt.examples.controls/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -bin
\ No newline at end of file diff --git a/examples/org.eclipse.swt.examples.controls/.project b/examples/org.eclipse.swt.examples.controls/.project deleted file mode 100644 index f8c68eb6b4..0000000000 --- a/examples/org.eclipse.swt.examples.controls/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.swt.examples.controls</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - </natures> -</projectDescription> diff --git a/examples/org.eclipse.swt.examples.controls/.settings/org.eclipse.jdt.core.prefs b/examples/org.eclipse.swt.examples.controls/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index ad7b3a339a..0000000000 --- a/examples/org.eclipse.swt.examples.controls/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,12 +0,0 @@ -#Mon Dec 11 15:14:21 EST 2006 -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.4 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning -org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning -org.eclipse.jdt.core.compiler.source=1.3 diff --git a/examples/org.eclipse.swt.examples.controls/about.html b/examples/org.eclipse.swt.examples.controls/about.html deleted file mode 100644 index 460233046e..0000000000 --- a/examples/org.eclipse.swt.examples.controls/about.html +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> -<title>About</title> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>June 2, 2006</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> - -</body> -</html>
\ No newline at end of file diff --git a/examples/org.eclipse.swt.examples.controls/build.properties b/examples/org.eclipse.swt.examples.controls/build.properties deleted file mode 100755 index 2d5c76f576..0000000000 --- a/examples/org.eclipse.swt.examples.controls/build.properties +++ /dev/null @@ -1,20 +0,0 @@ -############################################################################### -# Copyright (c) 2000, 2003 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -bin.includes = doc-html/,\ - icons/,\ - plugin.properties,\ - plugin.xml,\ - about.html,\ - *.jar - -src.includes = about.html - -source.controls.jar = src/ diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html b/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html deleted file mode 100755 index 7946309121..0000000000 --- a/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html +++ /dev/null @@ -1,33 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> -<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <title>SWT - Controls Overview</title> -</head> -<body> - -<h2>SWT example - Controls</h2> - -<p> -The Controls Example is a simple demonstration of common SWT controls. -It consists of a tab folder where each tab in the folder allows the user -to interact with a different control. -The user can change styles and settings and view how this affects each control. -</p> - -<h3>Running the example</h3> -<p> -Follow the <a href="../../org.eclipse.swt.examples/doc-html/swt_manual_setup.html">SWT standalone examples setup</a> -instructions to install and run the example from your workspace. -</p> -<p> -The "Main" class is <code>org.eclipse.swt.examples.controlexample.ControlExample</code>. -</p> -<p> -This example can also be run using the <a href="../../org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html">Example Launcher</a>. -Select the <strong>Controls</strong> item from the <strong>Workbench Views</strong> category and click <strong>Run</strong>. -</p> - -</body> -</html> diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/swt_customcontrols_ex.html b/examples/org.eclipse.swt.examples.controls/doc-html/swt_customcontrols_ex.html deleted file mode 100644 index bdb0d27f52..0000000000 --- a/examples/org.eclipse.swt.examples.controls/doc-html/swt_customcontrols_ex.html +++ /dev/null @@ -1,33 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> -<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <title>SWT - Controls Overview</title> -</head> -<body> - -<h2>SWT example - Custom Controls</h2> - -<p> -The Custom Controls example is a simple demonstration of emulated SWT controls. -It consists of a tab folder where each tab in the folder allows the user -to interact with a different emulated control. -The user can change styles and settings and view how this affects each control. -</p> - -<h3>Running the example</h3> -<p> -Follow the <a href="../../org.eclipse.swt.examples/doc-html/swt_manual_setup.html">SWT standalone examples setup</a> -instructions to install and run the example from your workspace. -</p> -<p> -The "Main" class is <code>org.eclipse.swt.examples.controlexample.CustomControlExample</code>. -</p> -<p> -This example can also be run using the <a href="../../org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html">Example Launcher</a>. -Select the <strong>Custom Controls</strong> item from the <strong>Workbench Views</strong> category and click <strong>Run</strong>. -</p> - -</body> -</html> diff --git a/examples/org.eclipse.swt.examples.controls/icons/controls_example.gif b/examples/org.eclipse.swt.examples.controls/icons/controls_example.gif Binary files differdeleted file mode 100755 index cbdee97066..0000000000 --- a/examples/org.eclipse.swt.examples.controls/icons/controls_example.gif +++ /dev/null diff --git a/examples/org.eclipse.swt.examples.controls/plugin.properties b/examples/org.eclipse.swt.examples.controls/plugin.properties deleted file mode 100755 index 107c0cd0d9..0000000000 --- a/examples/org.eclipse.swt.examples.controls/plugin.properties +++ /dev/null @@ -1,34 +0,0 @@ -############################################################################### -# Copyright (c) 2000, 2003 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -providerName = Eclipse.org -plugin.SWTControlsExample.name = SWT Controls Example Plugin -category.SWTExamples.name = SWT Examples -view.ControlsExample.name = SWT Controls -view.CustomControlsExample.name = SWT Custom Controls - -launchcategory.SWTViewExamples.name = Workbench Views -launchcategory.SWTViewExamples.description = \ - A collection of Standard Widget Toolkit examples that run as Views inside the Workbench. \ - These examples will create a new View in the current Perspective. - -launchitem.ControlsExample.name = Controls -launchitem.ControlsExample.description = \ - This example is a simple demonstration of native SWT controls.\n\n\ - It consists of a tab folder where each tab allows the user \ - to interact with a different SWT control. \ - The user can change styles and settings and view how this affects the control. - -launchitem.CustomControlsExample.name = Custom Controls -launchitem.CustomControlsExample.description = \ - This example is a simple demonstration of custom SWT controls.\n\n\ - It consists of a tab folder where each tab allows the user \ - to interact with a different SWT custom control. \ - The user can change styles and settings and view how this affects the control. diff --git a/examples/org.eclipse.swt.examples.controls/plugin.xml b/examples/org.eclipse.swt.examples.controls/plugin.xml deleted file mode 100755 index a277def6b9..0000000000 --- a/examples/org.eclipse.swt.examples.controls/plugin.xml +++ /dev/null @@ -1,77 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> -<plugin - id="org.eclipse.swt.examples.controls" - name="%plugin.SWTControlsExample.name" - version="3.1.100.qualifier" - provider-name="%providerName" - class="org.eclipse.swt.examples.controls.ControlPlugin"> - -<!-- Runtime --> - <runtime> - <library name="controls.jar"> - </library> - </runtime> -<!-- Required plugins --> - <requires> - <import plugin="org.eclipse.ui.ide"/> - <import plugin="org.eclipse.ui.views"/> - <import plugin="org.eclipse.jface.text"/> - <import plugin="org.eclipse.ui.workbench.texteditor"/> - <import plugin="org.eclipse.ui.editors"/> - <import plugin="org.eclipse.core.runtime"/> - <import plugin="org.eclipse.ui"/> - <import plugin="org.eclipse.swt"/> - <import plugin="org.eclipse.swt.examples"/> - </requires> - - -<!-- Extension points --> -<!-- Extensions --> - <extension - point="org.eclipse.ui.views"> - <view - name="%view.ControlsExample.name" - icon="icons/controls_example.gif" - category="org.eclipse.swt.examples.category" - class="org.eclipse.swt.examples.controls.ControlView" - id="org.eclipse.swt.examples.controls.view"> - </view> - <view - name="%view.CustomControlsExample.name" - icon="icons/controls_example.gif" - category="org.eclipse.swt.examples.category" - class="org.eclipse.swt.examples.controls.CustomControlView" - id="org.eclipse.swt.examples.customcontrols.view"> - </view> - </extension> - <extension - point="org.eclipse.swt.examples.launcher.launchItems"> - <category - name="%launchcategory.SWTViewExamples.name" - description="%launchcategory.SWTViewExamples.description" - id="org.eclipse.swt.examples.launchViewCategory"> - </category> - <item - name="%launchitem.ControlsExample.name" - icon="icons/controls_example.gif" - description="%launchitem.ControlsExample.description" - category="org.eclipse.swt.examples.launchViewCategory" - id="org.eclipse.swt.examples.controls.viewlauncher"> - <view - viewId="org.eclipse.swt.examples.controls.view"> - </view> - </item> - <item - name="%launchitem.CustomControlsExample.name" - icon="icons/controls_example.gif" - description="%launchitem.CustomControlsExample.description" - category="org.eclipse.swt.examples.launchViewCategory" - id="org.eclipse.swt.examples.customcontrols.viewlauncher"> - <view - viewId="org.eclipse.swt.examples.customcontrols.view"> - </view> - </item> - </extension> - -</plugin> diff --git a/examples/org.eclipse.swt.examples.controls/src/import.properties b/examples/org.eclipse.swt.examples.controls/src/import.properties deleted file mode 100644 index 8241dacfa2..0000000000 --- a/examples/org.eclipse.swt.examples.controls/src/import.properties +++ /dev/null @@ -1,14 +0,0 @@ -############################################################################### -# Copyright (c) 2000, 2003 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -# Persist project settings for later import -natures = org.eclipse.jdt.core.javanature; org.eclipse.pde.PluginNature -builders = org.eclipse.jdt.core.javabuilder; org.eclipse.pde.ManifestBuilder; org.eclipse.pde.SchemaBuilder -var.ECLIPSE_PLUGINS = <<ECLIPSE_PLUGINS>> diff --git a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlPlugin.java b/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlPlugin.java deleted file mode 100755 index 5eb6d55c9d..0000000000 --- a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlPlugin.java +++ /dev/null @@ -1,26 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.examples.controls; - - -import org.eclipse.ui.plugin.*; - -/** - * The main plugin class to be used in the desktop. - */ -public class ControlPlugin extends AbstractUIPlugin { - /** - * The constructor. - */ - public ControlPlugin() { - super(); - } -} diff --git a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlView.java b/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlView.java deleted file mode 100755 index da95327885..0000000000 --- a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlView.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.examples.controls; - - -import org.eclipse.swt.examples.controlexample.*; -import org.eclipse.swt.widgets.*; -import org.eclipse.ui.part.*; - -/** - * <code>Controls</code> is a simple demonstration - * of the native controls 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 control. - * - * @see ViewPart - */ -public class ControlView extends ViewPart { - ControlExample instance = null; - - /** - * Create the example - * - * @see ViewPart#createPartControl - */ - public void createPartControl(Composite frame) { - instance = new ControlExample(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(); - } -} diff --git a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/CustomControlView.java b/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/CustomControlView.java deleted file mode 100644 index 054302dd61..0000000000 --- a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/CustomControlView.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2003 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.examples.controls; - - -import org.eclipse.swt.examples.controlexample.*; -import org.eclipse.swt.widgets.*; - -/** - * <code>CustomControls</code> is a simple demonstration - * of the custom controls 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 control. - * - * @see ViewPart - */ -public class CustomControlView extends ControlView { - - /** - * Create the example - * - * @see ViewPart#createPartControl - */ - public void createPartControl(Composite frame) { - instance = new CustomControlExample(frame); - } -} |