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/HTMLTransfer.d

    r237 r246  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2006 IBM Corporation and others. 
     2 * Copyright (c) 2000, 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 
     
    2828 * The class <code>HTMLTransfer</code> provides a platform specific mechanism 
    2929 * for converting text in HTML format represented as a java <code>String</code> 
    30  * to a platform specific representation of the data and vice versa.  See 
    31  * <code>Transfer</code> for additional information. 
     30 * to a platform specific representation of the data and vice versa. 
    3231 * 
    3332 * <p>An example of a java <code>String</code> containing HTML text is shown 
     
    3736 *     String htmlData = "<p>This is a paragraph of text.</p>"; 
    3837 * </code></pre> 
     38 * 
     39 * @see Transfer 
    3940 */ 
    4041public class HTMLTransfer : ByteArrayTransfer { 
     
    7576 * This implementation of <code>javaToNative</code> converts HTML-formatted text 
    7677 * represented by a java <code>String</code> to a platform specific representation. 
    77  * For additional information see <code>Transfer#javaToNative</code>. 
    7878 * 
    7979 * @param object a java <code>String</code> containing HTML text 
    80  * @param transferData an empty <code>TransferData</code> object; this 
    81  *  object will be filled in on return with the platform specific format of the data 
     80 * @param transferData an empty <code>TransferData</code> object that will 
     81 *      be filled in on return with the platform specific format of the data 
     82 *  
     83 * @see Transfer#nativeToJava 
    8284 */ 
    8385public void javaToNative (Object object, TransferData transferData){ 
     
    146148 * This implementation of <code>nativeToJava</code> converts a platform specific 
    147149 * representation of HTML text to a java <code>String</code>. 
    148  * For additional information see <code>Transfer#nativeToJava</code>. 
    149  * 
    150  * @param transferData the platform specific representation of the data to be 
    151  * been converted 
    152  * @return a java <code>String</code> containing HTML text if the 
    153  * conversion was successful; otherwise null 
     150 * 
     151 * @param transferData the platform specific representation of the data to be converted 
     152 * @return a java <code>String</code> containing HTML text if the conversion was successful; 
     153 *      otherwise null 
     154 *  
     155 * @see Transfer#javaToNative 
    154156 */ 
    155157public Object nativeToJava(TransferData transferData){