org.grinvin.gui.dnd

Class InvariantFactoryDropHandler

Implemented Interfaces:
DropHandler

public class InvariantFactoryDropHandler
extends AbstractDropHandler

Allows an invariant factory to be dropped onto objects that support AcceptsInvariant. After dropping, the user is asked to present parameters for the invariant.

Method Summary

boolean
acceptDrop(JComponent target, Object object, int seqNr)
static InvariantFactoryDropHandler
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 InvariantFactoryDropHandler getInstance()