01: /**
02: *
03: */package net.refractions.udig.internal.ui;
04:
05: import net.refractions.udig.ui.TransferFactory;
06:
07: import org.eclipse.swt.dnd.FileTransfer;
08: import org.eclipse.swt.dnd.HTMLTransfer;
09: import org.eclipse.swt.dnd.RTFTransfer;
10: import org.eclipse.swt.dnd.TextTransfer;
11: import org.eclipse.swt.dnd.Transfer;
12:
13: /**
14: * Creates the transferObjects used by
15: *
16: * @author jones
17: *
18: */
19: public class UDigTransferFactory implements TransferFactory {
20:
21: /**
22: * @see net.refractions.udig.ui.TransferFactory#getTransfers()
23: */
24: public Transfer[] getTransfers() {
25: return new Transfer[] { UDigByteAndLocalTransfer.getInstance(),
26: FeatureTextTransfer.getInstance(),
27: GeometryTextTransfer.getInstance(),
28: FilterTextTransfer.getInstance(),
29: TextTransfer.getInstance(), FileTransfer.getInstance(),
30: RTFTransfer.getInstance(), HTMLTransfer.getInstance() };
31: }
32: }
|