|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionGuard
An ActionGuard is added
to a DockController
, and whenever the actions
of a Dockable
have to be determined, all known ActionGuards are
asked, if they may add some additional actions
.
DockController.addActionGuard(ActionGuard)
,
DockController.removeActionGuard(ActionGuard)
,
DockController.listOffers(Dockable)
Method Summary | |
---|---|
DockActionSource |
getSource(Dockable dockable)
Gets a list of actions for the Dockable |
boolean |
react(Dockable dockable)
Tests the given Dockable and tells whether this
ActionGuard is interested in it and wants to add some additional
actions to it, or if this guard
is not made for the dockable . |
Method Detail |
---|
boolean react(Dockable dockable)
Dockable
and tells whether this
ActionGuard is interested in it and wants to add some additional
actions
to it, or if this guard
is not made for the dockable
.
dockable
- The Dockable
to test
true
if the getSource(Dockable)
-method
should be invoked, false
otherwiseDockActionSource getSource(Dockable dockable)
Dockable
dockable
- The Dockable
for which react(Dockable)
is true
dockable
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |