org.grinvin.graphbrowser
Class InvariantFactoryDropHandler
java.lang.Object
org.grinvin.graphbrowser.InvariantFactoryDropHandler
- DropHandler
public class InvariantFactoryDropHandler
extends java.lang.Object
implements DropHandler
Allows an invariant factory to be dropped onto objects that support
HasInvariantList
. After dropping, the user is asked
to present parameters for the invariant.
acceptDrop
public boolean acceptDrop(JComponent target,
Object object,
int seqNr)
allowsMultipleDrops
public boolean allowsMultipleDrops(JComponent target)
getDropClass
public Class> getDropClass(JComponent target)