Package com.nomagic.magicdraw.ui.dnd
Class CustomShapeMoveHandlerFactory
- java.lang.Object
-
- com.nomagic.magicdraw.ui.dnd.CustomShapeMoveHandlerFactory
-
@OpenApiAll public class CustomShapeMoveHandlerFactory extends java.lang.ObjectCustom 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 factoryCustomDragAndDropHandlerFactorywhich createsCustomDragAndDropHandlerwhich you need to implement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classCustomShapeMoveHandlerFactory.DnDHandlerFactory
-
Constructor Summary
Constructors Constructor Description CustomShapeMoveHandlerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidregister(CustomDragAndDropHandler handlerImplementation)Deprecated.use a factory to create handlerregister(com.nomagic.magicdraw.ui.dnd.CustomDragAndDropHandlerFactory)static voidregister(CustomDragAndDropHandlerFactory factory)Registers a factory which createsCustomDragAndDropHandlerstatic voidunregister(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
-
-