jdk/src/macosx/native/sun/awt/CDropTarget.m
changeset 23652 11515e3c3f85
parent 23651 e41298d0da2f
child 24551 cccf7dd14729
equal deleted inserted replaced
23651:e41298d0da2f 23652:11515e3c3f85
   104     NSArray* dataTypes = [[NSArray alloc] initWithObjects:
   104     NSArray* dataTypes = [[NSArray alloc] initWithObjects:
   105         NSStringPboardType,
   105         NSStringPboardType,
   106         NSFilenamesPboardType,
   106         NSFilenamesPboardType,
   107         NSPostScriptPboardType,
   107         NSPostScriptPboardType,
   108         NSTIFFPboardType,
   108         NSTIFFPboardType,
       
   109         NSPasteboardTypePNG,
   109         NSRTFPboardType,
   110         NSRTFPboardType,
   110         NSTabularTextPboardType,
   111         NSTabularTextPboardType,
   111         NSFontPboardType,
   112         NSFontPboardType,
   112         NSRulerPboardType,
   113         NSRulerPboardType,
   113         NSFileContentsPboardType,
   114         NSFileContentsPboardType,
   117         NSURLPboardType,
   118         NSURLPboardType,
   118         NSPDFPboardType,
   119         NSPDFPboardType,
   119         NSVCardPboardType,
   120         NSVCardPboardType,
   120         NSFilesPromisePboardType,
   121         NSFilesPromisePboardType,
   121         [DnDUtilities javaPboardType],
   122         [DnDUtilities javaPboardType],
       
   123         (NSString*)kUTTypeJPEG,
   122         nil];
   124         nil];
   123 
   125 
   124     // Enable dragging events over this object:
   126     // Enable dragging events over this object:
   125     [fView registerForDraggedTypes:dataTypes];
   127     [fView registerForDraggedTypes:dataTypes];
   126 
   128