com.sdm.quasar.client.core.dialog
Class AbstractPerChildService

java.lang.Object
  extended bycom.sdm.quasar.client.core.dialog.AbstractPerChildService
All Implemented Interfaces:
Disposable, Service
Direct Known Subclasses:
AbstractActivationService, AbstractCloseService, AbstractTitleService, AbstractVisualRepresentationService

public abstract class AbstractPerChildService
extends java.lang.Object
implements Service, Disposable

Note: The user that instanciates the concrete class has to assure, that the service implementation is installed at the same SubDialogControl as passed here by the constructor.

Version:
1.0
Author:
Thomas Wolf

Constructor Summary
AbstractPerChildService(DialogControl dialogControl, SubDialogControl subDialogControl)
          Creates a new AbstractPerChildService.
 
Method Summary
protected  DialogControl getDialogControl()
          Returns the DialogControl of the parent dialog.
protected  SubDialogControl getSubDialogControl()
          Returns the SubDialogControl where the service is installed to.
 
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.common.Disposable
dispose
 

Constructor Detail

AbstractPerChildService

public AbstractPerChildService(DialogControl dialogControl,
                               SubDialogControl subDialogControl)
Creates a new AbstractPerChildService.

Parameters:
dialogControl - the DialogControl of the current / parent dialog
subDialogControl - the SubDialogControl of the child where service should be installed for
Method Detail

getSubDialogControl

protected final SubDialogControl getSubDialogControl()
Returns the SubDialogControl where the service is installed to.


getDialogControl

protected final DialogControl getDialogControl()
Returns the DialogControl of the parent dialog.