at.spardat.xma.page
Class EmbeddedPage

java.lang.Object
  extended byat.spardat.xma.page.Page
      extended byat.spardat.xma.page.PageClient
          extended byat.spardat.xma.page.EmbeddedPage
All Implemented Interfaces:
Descriptive, IEmbeddable, at.spardat.xma.boot.component.IXMAControl, Synchronization, Transactional

public abstract class EmbeddedPage
extends PageClient

This class is the base class of all pages which are shown as part of another page. The main page of each EmbeddableComponent will be an EmbeddedPage.


Field Summary
 
Fields inherited from class at.spardat.xma.page.PageClient
composite
 
Constructor Summary
EmbeddedPage(ComponentClient component, boolean stateless)
          Constructor of the EmbeddedPage.
EmbeddedPage(PageClient parent, boolean stateless)
          Constructor of the EmbeddedPage.
 
Method Summary
 org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parentComp)
          Creates the SWT-Composite of the EmbeddedPage.
 void initGUI()
          Creates the Widgets of the PageClient and all Subpages by calling PageClient.createWidgets() on the PageClient and all Subpages.
 
Methods inherited from class at.spardat.xma.page.PageClient
activatePage, addChild, attachUI, attachUIImpl, clearError, clearValidationErrorImpl, clientEvent, clientEventBase, createModels, createWidgets, detachUI, determineState, determineStateBase, enter, enterBase, getComponent, getComposite, getContextString, getCurrentEvent, getDialog, getDialogPage, getExtend, getHelpUri, getHelpUriBase, getParent, getWidgets, hasModels, hasValidationError, helpEvent, insertLangInFilename, isEventsEnabled, isNew, isUIAttached, launch, launchExtern, launchRelative, leave, leaveBase, newRemoteCall, removeChild, removeModel, removeWidgetModels, removeWidgets, removeWidgetsBase, rpcFinished, serverEvent, setContextString, setDialog, setEditable, setError, setEventsEnabled, setExtend, setId, setNew, setValidationErrorImpl, showException, showMessage, stateChanged, stateChangedBase, stateChangedBaseImpl, stateChangedExtend, toLocalizedHelpUri
 
Methods inherited from class at.spardat.xma.page.Page
changed, commit, describe, display, equalsCS, externalize, getId, getNumWModels, getTypeId, getWModel, getWModels, internalize, isAtServer, isStateless, randomlyChange, rollback, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmbeddedPage

public EmbeddedPage(ComponentClient component,
                    boolean stateless)
Constructor of the EmbeddedPage.

Parameters:
component - the component containing this page.
stateless - indicating if this page is stateless on the server.

EmbeddedPage

public EmbeddedPage(PageClient parent,
                    boolean stateless)
Constructor of the EmbeddedPage.

Parameters:
parent - the parentpage of this page. parent must not be null.
stateless - indicating if this page is stateless on the server.
Method Detail

createComposite

public org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parentComp)
Creates the SWT-Composite of the EmbeddedPage. All SWT-Widgets of this PageClient will be children of this Composite (directly or indirectly).

Parameters:
parentComp - the SWT-Composite to use as parent of the created SWT-Composite.
Returns:
the newly created SWT-Composite corresponding to this EmbeddedPage

initGUI

public void initGUI()
Creates the Widgets of the PageClient and all Subpages by calling PageClient.createWidgets() on the PageClient and all Subpages.

Specified by:
initGUI in interface at.spardat.xma.boot.component.IXMAControl
Overrides:
initGUI in class PageClient