D
- E
- DATA
- public class DockingManager<D,DATA extends DockableData,E extends DockableEntry<D,DATA>> extends Object implements AutoCloseable
Constructor and Description |
---|
DockingManager(DockableEntryFactory<D,DATA,E> dockableEntryFactory,
DockableDataFactory<DATA> dockableDataFactory,
org.softsmithy.lib.util.Injector<? super D>... additionalInjectors) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
containsRegisteredEditor(Object uniqueKey) |
E |
createAndRegisterViewEntry(Class<? extends D> viewType,
String displayName,
String icon,
org.softsmithy.lib.util.ResourceLoader resourceLoader) |
E |
createEditorEntry(Object content,
Class<? extends D> editorType,
String icon,
org.softsmithy.lib.util.ResourceLoader resourceLoader) |
DockablePreferences |
getDockablePreferences(D dockable) |
E |
getRegisteredEditor(Object uniqueKey) |
void |
registerDefaultDockablePreferences(Class<?> dockableClass,
DockablePreferences dockablePreferences) |
void |
registerEditor(Object uniqueKey,
E dockableEntry) |
DockablePreferences |
unregisterDefaultDockablePreferences(Class<?> dockableClass) |
void |
unregisterEditor(E editorEntry) |
void |
unregisterView(E viewEntry) |
public DockingManager(DockableEntryFactory<D,DATA,E> dockableEntryFactory, DockableDataFactory<DATA> dockableDataFactory, org.softsmithy.lib.util.Injector<? super D>... additionalInjectors)
public boolean containsRegisteredEditor(Object uniqueKey)
public E createEditorEntry(Object content, Class<? extends D> editorType, String icon, org.softsmithy.lib.util.ResourceLoader resourceLoader) throws SecurityException, InvocationTargetException, IllegalAccessException, IllegalArgumentException, NoSuchMethodException, InstantiationException
public void registerDefaultDockablePreferences(Class<?> dockableClass, DockablePreferences dockablePreferences)
public DockablePreferences unregisterDefaultDockablePreferences(Class<?> dockableClass)
public DockablePreferences getDockablePreferences(D dockable)
public E createAndRegisterViewEntry(Class<? extends D> viewType, String displayName, String icon, org.softsmithy.lib.util.ResourceLoader resourceLoader) throws InstantiationException, IllegalAccessException
public void close()
close
in interface AutoCloseable
Copyright © 2012–2018 Drombler. All rights reserved.