this.fileList = fileList;
}
public void paste(Transferable t, final NodeModel target, final boolean asSibling, final boolean isLeft, int dropAction) {
boolean pasteImages = dropAction == DnDConstants.ACTION_COPY;
ViewerController viewerController = ((ViewerController)Controller.getCurrentModeController().getExtension(ViewerController.class));
for (final File file : fileList) {
if(pasteImages && viewerController.paste(file, target, PasteMode.valueOf(asSibling), isLeft)){
continue;
}
final MMapController mapController = (MMapController) Controller.getCurrentModeController().getMapController();
final NodeModel node = mapController.newNode(file.getName(), target.getMap());
((MLinkController) LinkController.getController()).setLinkTypeDependantLink(node, file);