Package com.nomagic.magicdraw.ui.dnd
Class CustomDropDiagramHandlerFactory
java.lang.Object
com.nomagic.magicdraw.ui.dnd.CustomDropDiagramHandlerFactory
Custom Drag and Drop handler factory, used to created and register Custom Drag and Drop handlers for diagram drop.
To register a Custom Drag and Drop handler you must create a factory
CustomDragAndDropHandlerFactory which creates
CustomDragAndDropHandler which you need to implement.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(CustomDragAndDropHandler handler) Deprecated.static voidregister(CustomDragAndDropHandlerFactory factory) Registers a factory which createsCustomDragAndDropHandlerstatic voidUnregister a registered drop handler factory
-
Constructor Details
-
CustomDropDiagramHandlerFactory
public CustomDropDiagramHandlerFactory()
-
-
Method Details
-
register
Deprecated.use a factory to register handlerregister(com.nomagic.magicdraw.ui.dnd.CustomDragAndDropHandlerFactory) -
register
Registers a factory which createsCustomDragAndDropHandler- Parameters:
factory- to registerCustomDragAndDropHandler
-
unregister
Unregister a registered drop handler factory- Parameters:
factory- to unregister
-
register(com.nomagic.magicdraw.ui.dnd.CustomDragAndDropHandlerFactory)