diff options
Diffstat (limited to 'examples/org.eclipse.swt.examples.browser')
12 files changed, 0 insertions, 278 deletions
diff --git a/examples/org.eclipse.swt.examples.browser/.classpath b/examples/org.eclipse.swt.examples.browser/.classpath deleted file mode 100644 index 7b14e15a15..0000000000 --- a/examples/org.eclipse.swt.examples.browser/.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>
\ No newline at end of file diff --git a/examples/org.eclipse.swt.examples.browser/.cvsignore b/examples/org.eclipse.swt.examples.browser/.cvsignore deleted file mode 100644 index c5e82d7458..0000000000 --- a/examples/org.eclipse.swt.examples.browser/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -bin
\ No newline at end of file diff --git a/examples/org.eclipse.swt.examples.browser/.project b/examples/org.eclipse.swt.examples.browser/.project deleted file mode 100644 index 6fd5ee59c9..0000000000 --- a/examples/org.eclipse.swt.examples.browser/.project +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.swt.examples.browser</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/examples/org.eclipse.swt.examples.browser/about.html b/examples/org.eclipse.swt.examples.browser/about.html deleted file mode 100644 index 6f6b96c4c8..0000000000 --- a/examples/org.eclipse.swt.examples.browser/about.html +++ /dev/null @@ -1,22 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> -<html> -<head> -<title>About</title> -<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>February 24, 2005</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.</p> - -</body> -</html>
\ No newline at end of file diff --git a/examples/org.eclipse.swt.examples.browser/build.properties b/examples/org.eclipse.swt.examples.browser/build.properties deleted file mode 100644 index ade644b600..0000000000 --- a/examples/org.eclipse.swt.examples.browser/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.browserexample.jar = src/ diff --git a/examples/org.eclipse.swt.examples.browser/doc-html/swt_browser_ex.html b/examples/org.eclipse.swt.examples.browser/doc-html/swt_browser_ex.html deleted file mode 100644 index af5e181ff9..0000000000 --- a/examples/org.eclipse.swt.examples.browser/doc-html/swt_browser_ex.html +++ /dev/null @@ -1,32 +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 - Browser</h2> - -<p> -The Browser Example is a simple demonstration of the SWT Browser widget. -It consists of a composite containing a Browser widget to render HTML and some -additional widgets to implement actions commonly found on browsers (toolbar -with back, forward, refresh and stop buttons, status bar etc.). -</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.browserexample.BrowserExample</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>Browser</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.browser/icons/browser_example.gif b/examples/org.eclipse.swt.examples.browser/icons/browser_example.gif Binary files differdeleted file mode 100644 index 895e22110d..0000000000 --- a/examples/org.eclipse.swt.examples.browser/icons/browser_example.gif +++ /dev/null diff --git a/examples/org.eclipse.swt.examples.browser/plugin.properties b/examples/org.eclipse.swt.examples.browser/plugin.properties deleted file mode 100644 index b797cf285c..0000000000 --- a/examples/org.eclipse.swt.examples.browser/plugin.properties +++ /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 -############################################################################### -providerName = Eclipse.org -plugin.SWTBrowserExample.name = SWT Browser Example Plugin -category.SWTExamples.name = SWT Examples -view.BrowserExample.name = Web Browser - -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.BrowserExample.name = Web Browser -launchitem.BrowserExample.description = \ - This example demonstrates how to integrate a Web Browser with the SWT Browser widget.\n\n\ - It consists of a composite containing a Browser widget to render HTML. \ - Additional widgets allow the user to perform typical browser actions (for example, navigate to a particular URL, go back, forward, refresh and stop). - diff --git a/examples/org.eclipse.swt.examples.browser/plugin.xml b/examples/org.eclipse.swt.examples.browser/plugin.xml deleted file mode 100644 index d553458680..0000000000 --- a/examples/org.eclipse.swt.examples.browser/plugin.xml +++ /dev/null @@ -1,60 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> -<plugin - id="org.eclipse.swt.examples.browser" - name="%plugin.SWTBrowserExample.name" - version="3.1.0" - provider-name="%providerName" - class="org.eclipse.swt.examples.browserexample.BrowserPlugin"> - -<!-- Runtime --> - <runtime> - <library name="browserexample.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.BrowserExample.name" - icon="icons/browser_example.gif" - category="org.eclipse.swt.examples.category" - class="org.eclipse.swt.examples.browserexample.BrowserView" - id="org.eclipse.swt.examples.browserexample.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.BrowserExample.name" - icon="icons/browser_example.gif" - category="org.eclipse.swt.examples.launchViewCategory" - description="%launchitem.BrowserExample.description" - id="org.eclipse.swt.examples.browserexample.viewlauncher"> - <view - viewId="org.eclipse.swt.examples.browserexample.view"> - </view> - </item> - </extension> - -</plugin> diff --git a/examples/org.eclipse.swt.examples.browser/src/import.properties b/examples/org.eclipse.swt.examples.browser/src/import.properties deleted file mode 100644 index 8241dacfa2..0000000000 --- a/examples/org.eclipse.swt.examples.browser/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.browser/src/org/eclipse/swt/examples/browserexample/BrowserPlugin.java b/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserPlugin.java deleted file mode 100644 index 096160f13c..0000000000 --- a/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserPlugin.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.browserexample; - - -import org.eclipse.ui.plugin.*; - -/** - * The main plugin class to be used in the desktop. - */ -public class BrowserPlugin extends AbstractUIPlugin { - /** - * The constructor. - */ - public BrowserPlugin() { - super(); - } -} diff --git a/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserView.java b/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserView.java deleted file mode 100644 index 54f6ce07d3..0000000000 --- a/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserView.java +++ /dev/null @@ -1,53 +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.browserexample; - -import org.eclipse.swt.widgets.*; -import org.eclipse.ui.part.*; - -/** - * <code>BrowserView</code> is a simple demonstration - * of the SWT Browser widget. 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 BrowserView extends ViewPart { - BrowserExample instance = null; - - /** - * Create the example - * - * @see ViewPart#createPartControl - */ - public void createPartControl(Composite frame) { - instance = new BrowserExample(frame, true); - } - - /** - * Called when we must grab focus. - * - * @see org.eclipse.ui.part.ViewPart#setFocus - */ - public void setFocus() { - instance.focus(); - } - - /** - * Called when the View is to be disposed - */ - public void dispose() { - instance.dispose(); - instance = null; - super.dispose(); - } -} |