|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractPerChildService
com.sdm.quasar.client.core.dialogbase.services.AbstractCloseService
A basic implementation of CloseService.
The concrete implementation should use this SubDialogControl
(see AbstractPerChildService.getSubDialogControl()) to close the subdialog when requested.
Note: This class registers itself as CloseService to the
SubDialogControl given. Use the registrationContext
object to unregister this service.
| Constructor Summary | |
AbstractCloseService(DialogControl dialogControl,
SubDialogControl subDialogControl,
java.lang.String registrationContext)
Creates a new AbstractCloseService. |
|
| Method Summary | |
protected boolean |
canClose()
Queries the registered objection callbacks that are concerned with closing of the sub dialog installed for. |
protected boolean |
canClose(DialogInstanceId dialogInstanceId)
Queries the registered objection callbacks that are concerned with a closing of the given dialogInstanceId to see
if any object to closing. |
void |
dispose()
Disposes the component. |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractPerChildService |
getDialogControl, getSubDialogControl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sdm.quasar.client.core.dialogbase.services.CloseService |
requestClose |
| Constructor Detail |
public AbstractCloseService(DialogControl dialogControl,
SubDialogControl subDialogControl,
java.lang.String registrationContext)
AbstractCloseService.
dialogControl - subDialogControl - | Method Detail |
public void dispose()
throws DisposeException
Disposable
Important:
This method is called by an administrating component
and must never be called directly.
The implementation should release any resources or objects allocated and
any services registered. Furthermore, this method should be developed
carefully to free a maximum of resources even when the system may
have become unstable. In case of one or multiple errors, you should collect
them in a DisposeException, continue with the execution,
and throw it at the end of the method.
Note: The implementation must not return before the component is disposed. Any threads or asynchronous calls started must be completed before this method returns.
dispose in interface DisposableDisposeException - if there was one or more errors while
disposing the component.Disposable.dispose()protected boolean canClose()
true iff no registered callback has objectedprotected boolean canClose(DialogInstanceId dialogInstanceId)
dialogInstanceId to see
if any object to closing.
true iff no registered callback has objected
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||