Package com.nomagic.magicdraw.ui.dnd
Class CustomShapeMoveHandlerFactory
java.lang.Object
com.nomagic.magicdraw.ui.dnd.CustomShapeMoveHandlerFactory
Custom Drag and Drop handler factory, used to created and register Custom Drag and Drop handlers for shape move.
To register a Custom Drag and Drop handler you must create a factory
CustomDragAndDropHandlerFactory
which creates
CustomDragAndDropHandler
which you need to implement.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(CustomDragAndDropHandler handlerImplementation) Deprecated.static void
register
(CustomDragAndDropHandlerFactory factory) Registers a factory which createsCustomDragAndDropHandler
static void
Unregister a registered drop handler factory
-
Constructor Details
-
CustomShapeMoveHandlerFactory
public CustomShapeMoveHandlerFactory()
-
-
Method Details
-
register
Deprecated.use a factory to create 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)