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

    r237 r246  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2004 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 
     
    2929 * The class <code>RTFTransfer</code> provides a platform specific mechanism 
    3030 * for converting text in RTF format represented as a java <code>String</code> 
    31  * to a platform specific representation of the data and vice versa.  See 
    32  * <code>Transfer</code> for additional information. 
     31 * to a platform specific representation of the data and vice versa. 
    3332 * 
    3433 * <p>An example of a java <code>String</code> containing RTF text is shown 
     
    3837 *     String rtfData = "{\\rtf1{\\colortbl;\\red255\\green0\\blue0;}\\uc1\\b\\i Hello World}"; 
    3938 * </code></pre> 
     39 * 
     40 * @see Transfer 
    4041 */ 
    4142public class RTFTransfer : ByteArrayTransfer { 
     
    7071 * This implementation of <code>javaToNative</code> converts RTF-formatted text 
    7172 * represented by a java <code>String</code> to a platform specific representation. 
    72  * For additional information see <code>Transfer#javaToNative</code>. 
    7373 * 
    7474 * @param object a java <code>String</code> containing RTF text 
    75  * @param transferData an empty <code>TransferData</code> object; this 
    76  *  object will be filled in on return with the platform specific format of the data 
     75 * @param transferData an empty <code>TransferData</code> object that will 
     76 *      be filled in on return with the platform specific format of the data 
     77 *  
     78 * @see Transfer#nativeToJava 
    7779 */ 
    7880public void javaToNative (Object object, TransferData transferData){ 
     
    103105 * This implementation of <code>nativeToJava</code> converts a platform specific 
    104106 * representation of RTF text to a java <code>String</code>. 
    105  * For additional information see <code>Transfer#nativeToJava</code>. 
    106107 * 
    107  * @param transferData the platform specific representation of the data to be 
    108  * been converted 
    109  * @return a java <code>String</code> containing RTF text if the 
    110  * conversion was successful; otherwise null 
     108 * @param transferData the platform specific representation of the data to be converted 
     109 * @return a java <code>String</code> containing RTF text if the conversion was successful; 
     110 *      otherwise null 
     111 *  
     112 * @see Transfer#javaToNative 
    111113 */ 
    112114public Object nativeToJava(TransferData transferData){