|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DockableManager<D extends Dockable>
This is a markup interface for all Dockable Manager.
| Method Summary | |
|---|---|
void |
addAlias(D d,
Object alias)
Associates the specified dockable with the specified alias in this manager. |
void |
addDockableManagerListener(DockableManagerListener listener)
Registers listener so that it will receive events when
a dockable is registered or removed. |
Object[] |
getAliases(D d)
Returns all aliases associated to the passed dockable. |
D |
getDockableById(String id)
Returns the dockable whose id is the passed value, null otherwise. |
DockableManagerListener[] |
getDockableManagerListeners()
Returns an array of all the manager listeners registered on this manager. |
D[] |
getDockables()
Returns an array of the dockables registered into this manager. |
D |
removeAlias(Object alias)
Remove the alias from the manager. |
void |
removeDockableManagerListener(DockableManagerListener listener)
Unregisters listener so that it will no longer receive
events. |
| Method Detail |
|---|
D[] getDockables()
D getDockableById(String id)
id - the dockable id.
void addAlias(D d,
Object alias)
d - dockable to be associated with the specified alias.alias - alias with which the specified dockable is to be associated.Object[] getAliases(D d)
d - dockable whose aliases are to be returned.
addAlias(Dockable, Object)D removeAlias(Object alias)
alias - alias to be removed.
void addDockableManagerListener(DockableManagerListener listener)
listener so that it will receive events when
a dockable is registered or removed.
If listener listener is null,
no exception is thrown and no action is performed.
listener - the ToolWindowManagerListener to register.ToolWindowManagerListenervoid removeDockableManagerListener(DockableManagerListener listener)
listener so that it will no longer receive
events. This method performs no function, nor does it throw an exception, if the listener
specified by the argument was not previously added to this group.
If listener listener is null,
no exception is thrown and no action is performed.
listener - the DockableManagerListener to be removedaddDockableManagerListener(DockableManagerListener)DockableManagerListener[] getDockableManagerListeners()
DockableManagerListeners
or an empty array if no tool window manager listeners are currently registered.addDockableManagerListener(DockableManagerListener),
removeDockableManagerListener(DockableManagerListener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||