Package com.nomagic.magicdraw.ui.dnd
Class CustomDropDiagramHandlerFactory
- java.lang.Object
-
- com.nomagic.magicdraw.ui.dnd.CustomDropDiagramHandlerFactory
-
@OpenApiAll public class CustomDropDiagramHandlerFactory extends java.lang.ObjectCustom 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 factoryCustomDragAndDropHandlerFactorywhich createsCustomDragAndDropHandlerwhich you need to implement.
-
-
Constructor Summary
Constructors Constructor Description CustomDropDiagramHandlerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidregister(CustomDragAndDropHandler handler)Deprecated.use a factory to register 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 handler)
Deprecated.use a factory to register 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
-
-