Package com.nomagic.magicdraw.ui.dnd
Class CustomShapeMoveHandlerFactory
- java.lang.Object
-
- com.nomagic.magicdraw.ui.dnd.CustomShapeMoveHandlerFactory
-
@OpenApiAll public class CustomShapeMoveHandlerFactory extends java.lang.Object
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 factoryCustomDragAndDropHandlerFactory
which createsCustomDragAndDropHandler
which you need to implement.
-
-
Constructor Summary
Constructors Constructor Description CustomShapeMoveHandlerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
register(CustomDragAndDropHandler handlerImplementation)
Deprecated.use a factory to create handlerregister(com.nomagic.magicdraw.ui.dnd.CustomDragAndDropHandlerFactory)
static void
register(CustomDragAndDropHandlerFactory factory)
Registers a factory which createsCustomDragAndDropHandler
static void
unregister(CustomDragAndDropHandlerFactory factory)
Unregister a registered drop handler factory
-
-
-
Method Detail
-
register
@Deprecated public static void register(CustomDragAndDropHandler handlerImplementation)
Deprecated.use a factory to create handlerregister(com.nomagic.magicdraw.ui.dnd.CustomDragAndDropHandlerFactory)
-
register
public static void register(CustomDragAndDropHandlerFactory factory)
Registers a factory which createsCustomDragAndDropHandler
- Parameters:
factory
- to registerCustomDragAndDropHandler
-
unregister
public static void unregister(CustomDragAndDropHandlerFactory factory)
Unregister a registered drop handler factory- Parameters:
factory
- to unregister
-
-