From cb472987a54511ae0201100664d4b26c96fd9b85 Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Tue, 25 Nov 2003 21:16:35 +0000 Subject: SWT_AWT api --- bundles/org.eclipse.swt/.classpath_carbon | 2 ++ .../common/org/eclipse/swt/awt/package.html | 17 ++++++++++++ .../org/eclipse/swt/internal/awt/package.html | 17 ------------ .../emulated/org/eclipse/swt/awt/SWT_AWT.java | 32 ++++++++++++++++++++++ .../org/eclipse/swt/internal/awt/SWT_AWT.java | 32 ---------------------- 5 files changed, 51 insertions(+), 49 deletions(-) create mode 100644 bundles/org.eclipse.swt/Eclipse SWT AWT/common/org/eclipse/swt/awt/package.html delete mode 100644 bundles/org.eclipse.swt/Eclipse SWT AWT/common/org/eclipse/swt/internal/awt/package.html create mode 100644 bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java delete mode 100644 bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/internal/awt/SWT_AWT.java diff --git a/bundles/org.eclipse.swt/.classpath_carbon b/bundles/org.eclipse.swt/.classpath_carbon index 2263819a37..23586e1860 100644 --- a/bundles/org.eclipse.swt/.classpath_carbon +++ b/bundles/org.eclipse.swt/.classpath_carbon @@ -10,6 +10,8 @@ + + diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/common/org/eclipse/swt/awt/package.html b/bundles/org.eclipse.swt/Eclipse SWT AWT/common/org/eclipse/swt/awt/package.html new file mode 100644 index 0000000000..9e48df2835 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/common/org/eclipse/swt/awt/package.html @@ -0,0 +1,17 @@ + + + + + + Package-level Javadoc + + +SWT experimental AWT embedding support +

+Package Specification

+This package contains an experimental SWT_AWT class which +provides support for embedding AWT widgets within SWT layouts. Currently, +this support only works on win32 platforms, and has several lightweight +widget focus issues. + + diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/common/org/eclipse/swt/internal/awt/package.html b/bundles/org.eclipse.swt/Eclipse SWT AWT/common/org/eclipse/swt/internal/awt/package.html deleted file mode 100644 index 9e48df2835..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT AWT/common/org/eclipse/swt/internal/awt/package.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - Package-level Javadoc - - -SWT experimental AWT embedding support -

-Package Specification

-This package contains an experimental SWT_AWT class which -provides support for embedding AWT widgets within SWT layouts. Currently, -this support only works on win32 platforms, and has several lightweight -widget focus issues. - - diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java new file mode 100644 index 0000000000..5f6deea4e8 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * 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.awt; + +import java.awt.Canvas; +import java.awt.Frame; + +import org.eclipse.swt.SWT; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Shell; + +public class SWT_AWT { + +public static Frame new_Frame (final Composite parent) { + SWT.error (SWT.ERROR_NOT_IMPLEMENTED); + return null; +} + +public static Shell new_Shell (Display display, final Canvas parent) { + SWT.error (SWT.ERROR_NOT_IMPLEMENTED); + return null; +} +} diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/internal/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/internal/awt/SWT_AWT.java deleted file mode 100644 index fd0fc9cc0d..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/internal/awt/SWT_AWT.java +++ /dev/null @@ -1,32 +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.internal.awt; - -import java.awt.Canvas; -import java.awt.Frame; - -import org.eclipse.swt.SWT; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; - -public class SWT_AWT { - -public static Frame new_Frame (final Composite parent) { - SWT.error (SWT.ERROR_NOT_IMPLEMENTED); - return null; -} - -public static Shell new_Shell (Display display, final Canvas parent) { - SWT.error (SWT.ERROR_NOT_IMPLEMENTED); - return null; -} -} -- cgit