interface for any component want support show other window over it with a
mask. object manage component as AbstractUIPart also implement this interface
consider below case.
1. show a dialog => show mask
2. process a event
2.1. show other dialog => show mask
2.1. hidden dialog in step 1 => hidden mask
3. result dialog show without mask
to void this case process as below
in
ISupportMask.showMask()
set a flag to request scope by call:
Component.setAttribute(String, Object, int)
key is
ISupportMask.READY_SHOW_MASK_FLAG
value is Integer(1) and scope is
Component.REQUEST_SCOPE
in
ISupportMask.hideMask()
check flag before hidden mask. when has flag, don't hidden mask
component want support show mask can implement this interface or use support class
ShowMaskWrapper
as composite object