D
- DATA
- E
- public interface DockingAreaContainer<D,DATA extends DockableData,E extends DockableEntry<D,DATA>>
extends org.softsmithy.lib.beans.Bean
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVE_DOCKABLE_PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
addDockable(E dockableEntry,
boolean active,
Context... implicitLocalContexts) |
void |
addDockableSetChangeListener(org.softsmithy.lib.util.SetChangeListener<E> listener) |
boolean |
addDockingArea(DockingAreaDescriptor dockingAreaDescriptor) |
void |
addDockingAreaSetChangeListener(org.softsmithy.lib.util.SetChangeListener<DockingAreaDescriptor> listener) |
void |
closeAndUnregisterView(E viewEntry) |
void |
closeEditors(Class<? extends D> editorType) |
E |
getActiveDockable()
bound property
|
String |
getDefaultEditorAreaId() |
DockablePreferences |
getDockablePreferences(D dockable) |
Set<E> |
getDockables() |
SortedSet<E> |
getSortedModifiedDockables() |
E |
openAndRegisterNewView(Class<? extends D> viewType,
boolean active,
String displayName,
String icon,
org.softsmithy.lib.util.ResourceLoader resourceLoader) |
E |
openEditorForContent(Object content,
Class<? extends D> editorType,
String icon,
org.softsmithy.lib.util.ResourceLoader resourceLoader)
Opens an Editor for the specified content.
|
void |
registerDefaultDockablePreferences(Class<?> dockableClass,
DockablePreferences dockablePreferences) |
void |
removeDockableSetChangeListener(org.softsmithy.lib.util.SetChangeListener<E> listener) |
void |
removeDockingAreaSetChangeListener(org.softsmithy.lib.util.SetChangeListener<DockingAreaDescriptor> listener) |
void |
setActiveDockable(E dockableEntry)
bound property
|
DockablePreferences |
unregisterDefaultDockablePreferences(Class<?> dockableClass) |
static final String ACTIVE_DOCKABLE_PROPERTY_NAME
boolean addDockingArea(DockingAreaDescriptor dockingAreaDescriptor)
void addDockingAreaSetChangeListener(org.softsmithy.lib.util.SetChangeListener<DockingAreaDescriptor> listener)
void removeDockingAreaSetChangeListener(org.softsmithy.lib.util.SetChangeListener<DockingAreaDescriptor> listener)
void addDockableSetChangeListener(org.softsmithy.lib.util.SetChangeListener<E> listener)
void removeDockableSetChangeListener(org.softsmithy.lib.util.SetChangeListener<E> listener)
String getDefaultEditorAreaId()
void setActiveDockable(E dockableEntry)
dockableEntry
- E getActiveDockable()
E openAndRegisterNewView(Class<? extends D> viewType, boolean active, String displayName, String icon, org.softsmithy.lib.util.ResourceLoader resourceLoader)
void closeAndUnregisterView(E viewEntry)
E openEditorForContent(Object content, Class<? extends D> editorType, String icon, org.softsmithy.lib.util.ResourceLoader resourceLoader)
content
- the content for the editor to open/ select.editorType
- the type of the Editor. It must provide a constructor which takes the specified content as its single parameter.icon
- the icon to use for the EditorresourceLoader
- the ResourceLoader
to load the iconvoid registerDefaultDockablePreferences(Class<?> dockableClass, DockablePreferences dockablePreferences)
DockablePreferences unregisterDefaultDockablePreferences(Class<?> dockableClass)
DockablePreferences getDockablePreferences(D dockable)
Copyright © 2012–2018 Drombler. All rights reserved.