{
if ( canImport( ((JComponent)c), t.getTransferDataFlavors() )) {
try {
if( c instanceof XImage ){
XModel[] model = (XModel[])t.getTransferData( dataFlavors[ 0 ] );
XModel srcModel = model[ 0 ];
String selection = model[ 1 ].get().toString();
XModel data = XModelHelper.getFirstChild( srcModel, selection );
((XImage)c).setAttribute( "content", data.getAttribValueAsString( data.getAttribute( "image" )));
}
else if( c instanceof XList ){
XDragInfo dragInfo = (XDragInfo)t.getTransferData( dataFlavors[ 2 ] );
DefaultListModel model = (DefaultListModel)((XList)c).getModel();
model.add( model.getSize(), dragInfo );