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
.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.List<DiagramTransferableDragAndDropHandlerFactory>
DIAGRAM_TRANSFERABLE_DRAG_AND_DROP_HANDLER_FACTORIES
-
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
-
-
-
Field Detail
-
DIAGRAM_TRANSFERABLE_DRAG_AND_DROP_HANDLER_FACTORIES
private static final java.util.List<DiagramTransferableDragAndDropHandlerFactory> DIAGRAM_TRANSFERABLE_DRAG_AND_DROP_HANDLER_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
-
-