|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.component.Component
at.spardat.xma.component.ComponentClient
at.spardat.xma.component.EmbeddableComponent
org.openxma.dsl.reference.xma.customeredit.client.CustomerEditGen
public abstract class CustomerEditGen
This class implements the generic client part of CustomerEdit. It provides the mapping between typeIds and classnames of all pages in the component.
| Field Summary | |
|---|---|
static short |
CustomerEditFormClass
the unique typeId for the page CustomerEditForm |
static short |
CustomerSearchFormClass
the unique typeId for the page CustomerSearchForm |
protected java.lang.String |
mode
the mode of the component |
static short |
Page1Class
the unique typeId for the page Page1 |
static short |
Page2Class
the unique typeId for the page Page2 |
static short |
Page3Class
the unique typeId for the page Page3 |
protected java.lang.String |
selectedCustomerFirstName
firstname of the selected customer |
protected java.lang.String |
selectedCustomerId
the id of the selected customer |
protected java.lang.String |
selectedCustomerLastName
lastname of the selected customer |
| 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 | |
|---|---|
CustomerEditGen(at.spardat.xma.session.XMASessionClient session)
Initializes the CustomerEditGen. |
|
| Method Summary | |
|---|---|
java.lang.String |
getHelpUri()
Gives the URI of the help for this component This URI is relative to the download-URI of the component |
protected java.lang.String |
getMode()
the mode of the component |
java.lang.String |
getModelClass(short typeId)
Gets the full classname for the given typeId of a page in this component. |
protected at.spardat.xma.component.ComponentProperty[] |
getPropDes()
|
java.lang.String |
getSelectedCustomerFirstName()
firstname of the selected customer |
java.lang.String |
getSelectedCustomerId()
the id of the selected customer |
java.lang.String |
getSelectedCustomerLastName()
lastname of the selected customer |
static java.lang.String |
getShortModelClass(short typeId)
Gets the short classname for the given typeId of a page in this component. |
void |
invoke(org.eclipse.swt.widgets.Composite parentComposite)
Invokes the CustomerEdit. |
void |
setMode(java.lang.String mode)
the mode of the component |
protected void |
setSelectedCustomerFirstName(java.lang.String selectedCustomerFirstName)
firstname of the selected customer |
protected void |
setSelectedCustomerId(java.lang.String selectedCustomerId)
the id of the selected customer |
protected void |
setSelectedCustomerLastName(java.lang.String selectedCustomerLastName)
lastname of the selected customer |
| 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 |
| Field Detail |
|---|
protected java.lang.String mode
protected java.lang.String selectedCustomerId
protected java.lang.String selectedCustomerFirstName
protected java.lang.String selectedCustomerLastName
public static final short CustomerSearchFormClass
public static final short CustomerEditFormClass
public static final short Page1Class
public static final short Page2Class
public static final short Page3Class
| Constructor Detail |
|---|
public CustomerEditGen(at.spardat.xma.session.XMASessionClient session)
session - the XMASession, this CustomerEditGen belongs to.| Method Detail |
|---|
public static java.lang.String getShortModelClass(short typeId)
typeId - the unique typeId
public java.lang.String getModelClass(short typeId)
getModelClass in class at.spardat.xma.component.ComponenttypeId - the unique typeId
public void invoke(org.eclipse.swt.widgets.Composite parentComposite)
invoke in interface at.spardat.xma.boot.component.IComponentinvoke in class at.spardat.xma.component.ComponentClientparentComposite - a composite of the calling page. In most
cases it will be a shell. It my be null.public java.lang.String getHelpUri()
getHelpUri in class at.spardat.xma.component.ComponentClientprotected java.lang.String getMode()
public void setMode(java.lang.String mode)
setMode in interface ICustomerEditpublic java.lang.String getSelectedCustomerId()
getSelectedCustomerId in interface ICustomerEditprotected void setSelectedCustomerId(java.lang.String selectedCustomerId)
public java.lang.String getSelectedCustomerFirstName()
getSelectedCustomerFirstName in interface ICustomerEditprotected void setSelectedCustomerFirstName(java.lang.String selectedCustomerFirstName)
public java.lang.String getSelectedCustomerLastName()
getSelectedCustomerLastName in interface ICustomerEditprotected void setSelectedCustomerLastName(java.lang.String selectedCustomerLastName)
protected at.spardat.xma.component.ComponentProperty[] getPropDes()
getPropDes in class at.spardat.xma.component.Component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||