package editor.gui.ccp.data;

import java.awt.datatransfer.DataFlavor;

import editor.collection.deck.CategorySpec;
import editor.database.card.Card;

/**
 * Collection of data flavors used for drag-and-drop in the editor.
 */
public interface DataFlavors
{
	/**
	 * Data flavor representing cards being transferred.
	 */
	DataFlavor cardFlavor = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType + ";class=\"" + Card[].class.getName() + "\"", "Card Array");

	DataFlavor categoryFlavor = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType + ";class=\"" + CategorySpec.class.getName() + "\"", "Category Specification");

	/**
	 * Data flavor representing entries in a deck.  Transfer data will appear as a
	 * map of cards onto an integer representing the number of copies to transfer.
     * It will also have auxiliary data including the source EditorFrame and ID.
	 */
    DataFlavor entryFlavor = new DataFlavor(DataFlavor.javaJVMLocalObjectMimeType + ";class=\"" + EntryTransferData.class.getName() + "\"", "Deck Entries");
}
@@ -456,16 +456,120 @@
 ray%22);%0A%0A
+%09/**%0A%09 * Data flavor representing a category. Transfer data will appear as a %7B@link CategorySpec%7D.%0A%09 */%0A
 %09DataFla

Add documentation to categoryFlavor