public final class Dockables extends Object
Modifier and Type | Method and Description |
---|---|
static <D,DATA extends org.drombler.commons.docking.DockableData,E extends org.drombler.commons.docking.DockableEntry<D,DATA>> |
openEditorForContent(org.softsmithy.lib.util.UniqueKeyProvider<?> content)
Opens an Editor for the specified content.
|
static <D,DATA extends org.drombler.commons.docking.DockableData,E extends org.drombler.commons.docking.DockableEntry<D,DATA>> |
openView(E viewEntry) |
public static <D,DATA extends org.drombler.commons.docking.DockableData,E extends org.drombler.commons.docking.DockableEntry<D,DATA>> void openView(E viewEntry)
public static <D,DATA extends org.drombler.commons.docking.DockableData,E extends org.drombler.commons.docking.DockableEntry<D,DATA>> void openEditorForContent(org.softsmithy.lib.util.UniqueKeyProvider<?> content)
EditorDockingDescriptorRegistry
if there is any registered EditorDockingDescriptor
for the content type. If one is registered it looks in the
DataHandlerDescriptorRegistry
if there is any registerd Data Handler descriptor. If there is one it tries to open an editor by calling
DockingAreaContainer.openEditorForContent(java.lang.Object, java.lang.Class, java.lang.String, org.softsmithy.lib.util.ResourceLoader)
.D
- the Dockable typeDATA
- the Dockable data typeE
- the Dockable entry typecontent
- the content to open in an EditorCopyright © 2012–2017 Drombler. All rights reserved.