org.openxma.dsl.reference.xma.customeredit.client
Class CustomerEdit

java.lang.Object
  extended by at.spardat.xma.component.Component
      extended by at.spardat.xma.component.ComponentClient
          extended by at.spardat.xma.component.EmbeddableComponent
              extended by org.openxma.dsl.reference.xma.customeredit.client.CustomerEditGen
                  extended by org.openxma.dsl.reference.xma.customeredit.client.CustomerEdit
All Implemented Interfaces:
at.spardat.xma.boot.component.IComponent, at.spardat.xma.boot.component.IXMAControl, at.spardat.xma.component.IComponentClient, at.spardat.xma.mdl.Synchronization, at.spardat.xma.mdl.util.Descriptive, at.spardat.xma.page.IEmbeddable, ICustomerEdit

public class CustomerEdit
extends CustomerEditGen

This class implements the client part of CustomerEdit.

Author:
clay

Field Summary
 
Fields inherited from class org.openxma.dsl.reference.xma.customeredit.client.CustomerEditGen
CustomerEditFormClass, CustomerSearchFormClass, mode, Page1Class, Page2Class, Page3Class, selectedCustomerFirstName, selectedCustomerId, selectedCustomerLastName
 
Fields inherited from class at.spardat.xma.component.ComponentClient
errorBackground, errorBackgroundUneditable, lastResGif, resErrorGif, resInfoGif, resWarnGif
 
Fields inherited from class at.spardat.xma.component.Component
session_
 
Fields inherited from interface org.openxma.dsl.reference.xma.customeredit.client.ICustomerEdit
COMPONENT_NAME
 
Constructor Summary
CustomerEdit(at.spardat.xma.session.XMASessionClient session)
          Initializes the CustomerEdit.
 
Method Summary
 void invoke(org.eclipse.swt.widgets.Composite parentComposite)
          Invokes the CustomerEdit.
 
Methods inherited from class org.openxma.dsl.reference.xma.customeredit.client.CustomerEditGen
getHelpUri, getMode, getModelClass, getPropDes, getSelectedCustomerFirstName, getSelectedCustomerId, getSelectedCustomerLastName, getShortModelClass, setMode, setSelectedCustomerFirstName, setSelectedCustomerId, setSelectedCustomerLastName
 
Methods inherited from class at.spardat.xma.component.EmbeddableComponent
createComposite, determineStateBase, enterBase, getComposite, getContextString, getDialog, getMainPage, initGUI, leaveBase, removeModel, removeWidgetsBase, setDialog, setEventsEnabled, setMainPage, stateChangedBase, stateChangedBaseImpl, stateChangedExtend
 
Methods inherited from class at.spardat.xma.component.ComponentClient
addEventListener, addPropertyChangeListener, createTask, dispose, externalize, freePageModel, getColor, getColor, getContext, getDisplay, getFont, getFontByHeight, getFontByStyle, getImage, getImage, getProperties, getProperty, getRTSession, getSession, internalize, isOutOfSyncWithServer, newRemoteCall, notifyClosed, notifyEvent, notifyPropertyChange, registerImage, removeEventListener, removePropertyChangeListener, rpcFinished, setOutOfSyncWithServer, setProperties, setProperty, showMessage
 
Methods inherited from class at.spardat.xma.component.Component
commit, describe, externalizePageSet, externalizeProperties, getId, getName, getNumPageModels, getPageModel, getPageModels, getPropDes, getSCN, incrementSCN, internalizePageSet, internalizeProperties, isPageModelAlive, isStateless, model2props, props2model, registerPageModel, removePageModel, rollback, setId, setSCN, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface at.spardat.xma.boot.component.IComponent
addEventListener, addPropertyChangeListener, dispose, getProperties, getProperty, getRTSession, removeEventListener, removePropertyChangeListener, setProperties, setProperty
 
Methods inherited from interface at.spardat.xma.page.IEmbeddable
determineStateBase, getContextString, getDialog, setDialog, setEventsEnabled, stateChangedBaseImpl, stateChangedExtend
 
Methods inherited from interface at.spardat.xma.boot.component.IXMAControl
createComposite, enterBase, getComposite, initGUI, leaveBase, removeModel, removeWidgetsBase, stateChangedBase
 

Constructor Detail

CustomerEdit

public CustomerEdit(at.spardat.xma.session.XMASessionClient session)
Initializes the CustomerEdit. This method is called by the XMA-Runtime.

Parameters:
session - the XMASession, this CustomerEdit belongs to.
Method Detail

invoke

public void invoke(org.eclipse.swt.widgets.Composite parentComposite)
Invokes the CustomerEdit. This method reads the key-value-pairs of the input, shows the windows of the CustomerEdit and returns the output as key-value-pairs. This method is called by the XMA-Runtime.

Specified by:
invoke in interface at.spardat.xma.boot.component.IComponent
Overrides:
invoke in class CustomerEditGen
Parameters:
parentComposite - a composite of the calling page. In most cases it will be a shell. It my be null.


Copyright © 2010. All Rights Reserved.