Package com.nomagic.magicdraw.ui.dnd
Class BrowserTabTreeDragAndDropHandlerRegistry
- java.lang.Object
-
- com.nomagic.magicdraw.ui.dnd.BrowserTabTreeDragAndDropHandlerRegistry
-
@OpenApiAll public class BrowserTabTreeDragAndDropHandlerRegistry extends java.lang.Object
Used to register custom drag and drop handling for browser tab trees from external applications
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.List<BrowserTabTreeDragAndDropHandlerFactory>
BROWSER_TAB_TREE_DRAG_AND_DROP_HANDLER_FACTORIES
-
Constructor Summary
Constructors Constructor Description BrowserTabTreeDragAndDropHandlerRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<BrowserTabTreeDragAndDropHandlerFactory>
getHandlerFactories()
static java.util.List<BrowserTabTreeDragAndDropHandler>
getHandlers()
static void
register(BrowserTabTreeDragAndDropHandlerFactory factory)
Registers a drop handler factory for browser tab treestatic void
unregister(BrowserTabTreeDragAndDropHandlerFactory factory)
Unregister a registered drop handler factory
-
-
-
Field Detail
-
BROWSER_TAB_TREE_DRAG_AND_DROP_HANDLER_FACTORIES
private static final java.util.List<BrowserTabTreeDragAndDropHandlerFactory> BROWSER_TAB_TREE_DRAG_AND_DROP_HANDLER_FACTORIES
-
-
Method Detail
-
register
public static void register(BrowserTabTreeDragAndDropHandlerFactory factory)
Registers a drop handler factory for browser tab tree- Parameters:
factory
- implemented drop handler factory
-
unregister
public static void unregister(BrowserTabTreeDragAndDropHandlerFactory factory)
Unregister a registered drop handler factory- Parameters:
factory
- to unregister
-
getHandlerFactories
public static java.util.List<BrowserTabTreeDragAndDropHandlerFactory> getHandlerFactories()
- Returns:
- list of registered browser tab tree dnd handler factories
-
getHandlers
public static java.util.List<BrowserTabTreeDragAndDropHandler> getHandlers()
- Returns:
- list of sorted registered browser tab tree dnd handlers
-
-