Package com.nomagic.magicdraw.ui.dnd
Class DiagramTransferableDragAndDropHandlerRegistry
- java.lang.Object
-
- com.nomagic.magicdraw.ui.dnd.DiagramTransferableDragAndDropHandlerRegistry
-
@OpenApiAll public class DiagramTransferableDragAndDropHandlerRegistry extends java.lang.Object
Registry ofDiagramTransferableDragAndDropHandlerFactory
.
-
-
Constructor Summary
Constructors Constructor Description DiagramTransferableDragAndDropHandlerRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<DiagramTransferableDragAndDropHandlerFactory>
getFactories()
static void
register(DiagramTransferableDragAndDropHandlerFactory factory)
Registers a factory which creates a diagram transferable drag and drop handlerstatic void
unregister(DiagramTransferableDragAndDropHandlerFactory factory)
Unregister a factory from registered transferable factories
-
-
-
Method Detail
-
register
public static void register(DiagramTransferableDragAndDropHandlerFactory factory)
Registers a factory which creates a diagram transferable drag and drop handler- Parameters:
factory
- to register diagram transferable drag and drop handler
-
unregister
public static void unregister(DiagramTransferableDragAndDropHandlerFactory factory)
Unregister a factory from registered transferable factories- Parameters:
factory
- to unregister
-
getFactories
public static java.util.List<DiagramTransferableDragAndDropHandlerFactory> getFactories()
- Returns:
- diagram transferable drag and drop handler factories
-
-