Show
Ignore:
Timestamp:
07/01/08 04:15:59 (6 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Updater SWT 3.4M7 to 3.4

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/dnd/ImageTransfer.d

    r237 r246  
    11/******************************************************************************* 
    2  * Copyright (c) 2007 IBM Corporation and others. 
     2 * Copyright (c) 2007, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    2727/** 
    2828 * The class <code>ImageTransfer</code> provides a platform specific mechanism 
    29  * for converting a Image represented as a java <code>ImageData</code> to a 
     29 * for converting an Image represented as a java <code>ImageData</code> to a  
    3030 * platform specific representation of the data and vice versa. 
    31  * See <code>Transfer</code> for additional information. 
    32  * 
    33  * <p>An example of a java <code>ImageData</code> is shown 
    34  * below:</p> 
     31 * 
     32 * <p>An example of a java <code>ImageData</code> is shown below:</p> 
    3533 * 
    3634 * <code><pre> 
    37  *     Image image = new Image("C:\temp\img1.gif"); 
     35 *     Image image = new Image(display, "C:\temp\img1.gif"); 
    3836 *     ImageData imgData = image.getImageData(); 
    3937 * </code></pre> 
    4038 * 
     39 * @see Transfer 
     40 *  
    4141 * @since 3.4 
    4242 */ 
     
    6666 * This implementation of <code>javaToNative</code> converts an ImageData object represented 
    6767 * by java <code>ImageData</code> to a platform specific representation. 
    68  * For additional information see <code>Transfer#javaToNative</code>. 
    69  * 
    70  * @param object a java <code>ImageData</code> containing the ImageData to be 
    71  * converted 
    72  * @param transferData an empty <code>TransferData</code> object; this 
    73  * object will be filled in on return with the platform specific format of the dat
     68 * 
     69 * @param object a java <code>ImageData</code> containing the ImageData to be converted 
     70 * @param transferData an empty <code>TransferData</code> object that will 
     71 *      be filled in on return with the platform specific format of the data 
     72 *  
     73 * @see Transfer#nativeToJav
    7474 */ 
    7575public void javaToNative(Object object, TransferData transferData) { 
     
    139139 * This implementation of <code>nativeToJava</code> converts a platform specific 
    140140 * representation of an image to java <code>ImageData</code>. 
    141  * For additional information see <code>Transfer#nativeToJava</code>. 
    142  * 
    143  * @param transferData the platform specific representation of the data to be 
    144  * been converted 
    145  * @return a java <code>ImageData</code> of the image if 
    146  * conversion was successful; otherwise null 
     141 * 
     142 * @param transferData the platform specific representation of the data to be converted 
     143 * @return a java <code>ImageData</code> of the image if the conversion was successful; 
     144 *      otherwise null 
     145 *  
     146 * @see Transfer#javaToNative 
    147147 */ 
    148148public Object nativeToJava(TransferData transferData) {