|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionPopupSuppressor
Suppresses a popup to show
Field Summary | |
---|---|
static ActionPopupSuppressor |
ALLOW_ALWAYS
Allows every popup to appear. |
static ActionPopupSuppressor |
BALANCED
Allows a popup only to appear if there are no titles for a Dockable
or if more than one action would be shown. |
static ActionPopupSuppressor |
SUPPRESS_ALWAYS
Never allows a popup to appear. |
Method Summary | |
---|---|
boolean |
suppress(Dockable dockable,
DockActionSource source)
Tells whether to suppress or to allow a popup for source . |
Field Detail |
---|
static final ActionPopupSuppressor ALLOW_ALWAYS
static final ActionPopupSuppressor SUPPRESS_ALWAYS
static final ActionPopupSuppressor BALANCED
Dockable
or if more than one action would be shown.
Method Detail |
---|
boolean suppress(Dockable dockable, DockActionSource source)
source
.
dockable
- the Dockable for which the popup would be shownsource
- the source which would be shown
true
if nothing should be shown, false
if the popup is not suppressed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |