org.grinvin.gui.dnd

Class GeneratorInstanceDropHandler

Implemented Interfaces:
DropHandler

public class GeneratorInstanceDropHandler
extends AbstractDropHandler

Allows a generator list to be dropped onto a component.

Currently only supports components of type HasGraphList.

Method Summary

boolean
acceptDrop(JComponent target, Object object, int seqNr)
static GeneratorInstanceDropHandler
getInstance()

Methods inherited from class org.grinvin.gui.dnd.AbstractDropHandler

allowsMultipleDrops, getDropClass

Method Details

acceptDrop

public boolean acceptDrop(JComponent target,
                          Object object,
                          int seqNr)

getInstance

public static GeneratorInstanceDropHandler getInstance()