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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(CustomDragAndDropHandler handlerImplementation) Deprecated.static voidregister(CustomDragAndDropHandlerFactory factory) Registers a factory which createsCustomDragAndDropHandlerstatic voidUnregister 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)