diff options
Diffstat (limited to 'examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples')
3 files changed, 0 insertions, 124 deletions
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 11469ba3ab..0000000000 --- a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlPlugin.java +++ /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 Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.swt.examples.controls; - - -import org.eclipse.core.runtime.*; -import org.eclipse.ui.plugin.*; - -/** - * The main plugin class to be used in the desktop. - */ -public class ControlPlugin extends AbstractUIPlugin { - /** - * The constructor. - */ - public ControlPlugin(IPluginDescriptor descriptor) { - super(descriptor); - } - - /** - * Clean up - */ - public void shutdown() throws CoreException { - super.shutdown(); - } -} 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 502464174f..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 Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-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 ec66fd4686..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 Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-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); - } -} |