D
- DATA
- E
- public interface DockingAreaContainer<D,DATA extends DockableData,E extends DockableEntry<D,DATA>>
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 |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Registers a
PropertyChangeListener for the specified property. |
E |
getActiveDockable()
bound property
|
String |
getDefaultEditorAreaId() |
DockablePreferences |
getDockablePreferences(D dockable) |
Set<E> |
getDockables() |
SortedSet<E> |
getSortedModifiedDockables() |
boolean |
openAndRegisterNewView(D dockable,
boolean b,
String displayName,
String icon,
org.softsmithy.lib.util.ResourceLoader resourceLoader) |
boolean |
openEditorForContent(Object content,
Class<? extends D> editorType,
String icon,
org.softsmithy.lib.util.ResourceLoader resourceLoader)
Opens an Editor for the specified content.
|
boolean |
openView(D dockable,
boolean active) |
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 |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Unegisters a
PropertyChangeListener for the specified property. |
void |
setActiveDockable(E dockableEntry)
bound property
|
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()
boolean openAndRegisterNewView(D dockable, boolean b, String displayName, String icon, org.softsmithy.lib.util.ResourceLoader resourceLoader)
boolean openView(D dockable, boolean active)
boolean 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 getDockablePreferences(D dockable)
void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangeListener
for the specified property.propertyName
- the property to observelistener
- the PropertyChangeListener to registervoid removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangeListener
for the specified property.propertyName
- the property to stop to observelistener
- the PropertyChangeListener to unregisterCopyright © 2012–2017 Drombler. All rights reserved.