Mercurial > projects > dwt-mac
diff dwt/dnd/TransferData.d @ 45:d8635bb48c7c
Merge with SWT 3.5
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Dec 2008 17:07:00 +0100 |
parents | 380af2bdd8e5 |
children | cbefbb00a6c9 |
line wrap: on
line diff
--- a/dwt/dnd/TransferData.d Tue Oct 21 15:20:04 2008 +0200 +++ b/dwt/dnd/TransferData.d Mon Dec 01 17:07:00 2008 +0100 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation and others. + * Copyright (c) 2000, 2008 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 @@ -8,7 +8,11 @@ * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ -module dwt.dnd; +module dwt.dnd.TransferData; + +import dwt.dwthelper.utils; + +import dwt.internal.cocoa.NSObject; /** @@ -24,6 +28,8 @@ * <p>You should only need to become familiar with the fields in this class if you * are implementing a Transfer subclass and you are unable to subclass the * ByteArrayTransfer class.</p> + * + * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> */ public class TransferData { /** @@ -32,7 +38,7 @@ * <p> * <b>IMPORTANT:</b> This field is <em>not</em> part of the DWT * public API. It is marked public only so that it can be shared - * within the modules provided by DWT. It is not available on all + * within the packages provided by DWT. It is not available on all * platforms and should never be accessed from application code. * </p> */ @@ -45,25 +51,10 @@ * <p> * <b>IMPORTANT:</b> This field is <em>not</em> part of the DWT * public API. It is marked public only so that it can be shared - * within the modules provided by DWT. It is not available on all + * within the packages provided by DWT. It is not available on all * platforms and should never be accessed from application code. * </p> */ - public byte[][] data; - - /** - * The result field contains the result of converting a - * java data type into a platform specific value. - * (Warning: This field is platform dependent) - * <p> - * <b>IMPORTANT:</b> This field is <em>not</em> part of the DWT - * public API. It is marked public only so that it can be shared - * within the modules provided by DWT. It is not available on all - * platforms and should never be accessed from application code. - * </p> - * <p>The value of result is 1 if the conversion was successful. - * The value of result is 0 if the conversion failed.</p> - */ - public int result; + public NSObject data; }