diff options
author | Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> | 2012-09-25 15:46:28 -0400 |
---|---|---|
committer | Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> | 2012-09-25 15:46:50 -0400 |
commit | 05c887919544ccf27afaeeb5b3a5c559f5613418 (patch) | |
tree | a340aab36769ce874be04dc3f728110bd222a0b4 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | |
parent | 68e400860ef8feede1c82a2608170599975d3704 (diff) | |
download | eclipse.platform.swt-05c887919544ccf27afaeeb5b3a5c559f5613418.tar.gz eclipse.platform.swt-05c887919544ccf27afaeeb5b3a5c559f5613418.tar.xz eclipse.platform.swt-05c887919544ccf27afaeeb5b3a5c559f5613418.zip |
Bug 377107 - no 32bits vm for JDK7
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java index e02976f04b..fe81d14776 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java @@ -359,6 +359,23 @@ public Shell (Shell parent, int style) { this (parent != null ? parent.display : null, parent, style, 0, false); } +/** + * Invokes platform specific functionality to allocate a new shell + * that is embedded. + * <p> + * <b>IMPORTANT:</b> This method is <em>not</em> part of the public + * API for <code>Shell</code>. It is marked public only so that it + * can be shared within the packages provided by SWT. It is not + * available on all platforms, and should never be called from + * application code. + * </p> + * + * @param display the display for the shell + * @param handle the handle for the shell + * @return a new shell object containing the specified display and handle + * + * @noreference This method is not intended to be referenced by clients. + */ public static Shell gtk_new (Display display, long /*int*/ handle) { return new Shell (display, null, SWT.NO_TRIM, handle, true); } |