|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.page.Page
at.spardat.xma.page.PageClient
at.spardat.xma.page.DialogPage
org.openxma.dsl.reference.xma.order.client.OrderSearchFormGen
public abstract class OrderSearchFormGen
This class implements the generic client part of OrderSearchForm. It implements the widgets and models of the page.
| Field Summary |
|---|
| Fields inherited from class at.spardat.xma.page.DialogPage |
|---|
statusBar, statusBarComposite |
| Fields inherited from class at.spardat.xma.page.PageClient |
|---|
composite |
| Constructor Summary | |
|---|---|
OrderSearchFormGen(at.spardat.xma.component.ComponentClient component)
Constructs the OrderSearchFormGen. |
|
OrderSearchFormGen(at.spardat.xma.component.ComponentClient component,
org.eclipse.swt.widgets.Shell parentShell)
Constructs the OrderSearchFormGen. |
|
OrderSearchFormGen(at.spardat.xma.component.ComponentClient component,
org.eclipse.swt.widgets.Shell parentShell,
int modal)
Constructs the OrderSearchFormGen. |
|
OrderSearchFormGen(at.spardat.xma.page.PageClient parent)
Constructs the OrderSearchFormGen. |
|
| Method Summary | |
|---|---|
void |
attachUIImpl()
Attaches all WidgetModels of the page to there corresponding Widgets. |
protected void |
clientEvent(org.eclipse.swt.events.SelectionEvent event,
int type)
Calls the clientevent configured for the widget of the event. |
void |
createModels()
Create and initialize the WidgetModels of the page. |
protected void |
createWidgets()
Create and initialize all SWT-Widgets of the page. |
protected void |
findOrder(org.eclipse.swt.events.SelectionEvent event)
|
java.lang.String |
getHelpUri()
Gives the URI of the help for this page This URI is relative to the download-URI of the component |
Order |
getTypedComponent()
Returns the component this page belongs to, casted to its actual type. |
short |
getTypeId()
Returns a unique id to identify the type of this Page. |
org.eclipse.swt.widgets.Control[] |
getWidgets()
Returns an array of all Widgets of this page. |
at.spardat.xma.mdl.WModel[] |
getWModels()
Returns an array of all WidgetModels of this page. |
boolean |
hasModels()
Indicate if the WidgetModels are allready created. |
void |
removeWidgetModels()
Remove all WidgetModels of the page. |
void |
removeWidgets()
Remove all Widgets of the page after they have been disposed. |
protected abstract void |
selectCustomerWEvent()
This method will be called every time the user clicks on selectCustomerW. |
protected void |
selectOrder(org.eclipse.swt.events.SelectionEvent event)
|
protected void |
setWidgets(org.eclipse.swt.widgets.Control[] widgets)
Replaces the widget array generated by guidesigner. |
protected void |
setWModels(at.spardat.xma.mdl.WModel[] models)
Replaces the model array generated by guidesigner. |
void |
stateChanged()
Enables or disables Widgets according to the current state of the page. |
| Methods inherited from class at.spardat.xma.page.DialogPage |
|---|
clearError, clearInfo, clearValidationErrorImpl, clearWarning, close, closeCancel, closeOK, createComposite, getDialog, getDialogTitle, getErrorCount, getExitstatus, getFocusControl, getShell, hasValidationError, initGUI, invoke, isVisible, overrideErrorsFromModel, removeWidgetsBase, setError, setFocus, setFocusControl, setInfo, setRerunStateChanched, setValidationErrorImpl, setWarning, stateChangedBase, updateErrorStatus |
| Methods inherited from class at.spardat.xma.page.PageClient |
|---|
activatePage, addChild, attachUI, clientEventBase, detachUI, determineState, determineStateBase, enter, enterBase, getComponent, getComposite, getContextString, getCurrentEvent, getDialogPage, getExtend, getHelpUriBase, getParent, helpEvent, insertLangInFilename, isEventsEnabled, isNew, isUIAttached, launch, launchExtern, launchRelative, leave, leaveBase, newRemoteCall, removeChild, removeModel, rpcFinished, serverEvent, setContextString, setDialog, setEditable, setError, setEventsEnabled, setExtend, setId, setNew, setValidationErrorImpl, showException, showMessage, stateChangedBaseImpl, stateChangedExtend, toLocalizedHelpUri |
| Methods inherited from class at.spardat.xma.page.Page |
|---|
changed, commit, describe, display, equalsCS, externalize, getId, getNumWModels, getWModel, internalize, isAtServer, isStateless, randomlyChange, rollback, 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.IXMAControl |
|---|
enterBase, getComposite, leaveBase, removeModel |
| Methods inherited from interface at.spardat.xma.page.IEmbeddable |
|---|
determineStateBase, getContextString, setDialog, setEventsEnabled, stateChangedBaseImpl, stateChangedExtend |
| Methods inherited from interface at.spardat.xma.boot.component.IXMAControl |
|---|
enterBase, getComposite, leaveBase, removeModel |
| Constructor Detail |
|---|
public OrderSearchFormGen(at.spardat.xma.page.PageClient parent)
parent - the parent pagepublic OrderSearchFormGen(at.spardat.xma.component.ComponentClient component)
component - the component this page belongs to
public OrderSearchFormGen(at.spardat.xma.component.ComponentClient component,
org.eclipse.swt.widgets.Shell parentShell)
component - the component this page belongs toparentShell - the shell of the calling dialog
public OrderSearchFormGen(at.spardat.xma.component.ComponentClient component,
org.eclipse.swt.widgets.Shell parentShell,
int modal)
component - the component this page belongs toparentShell - the shell of the calling dialogmodal - the SWT-style for the desired modality| Method Detail |
|---|
public java.lang.String getHelpUri()
getHelpUri in class at.spardat.xma.page.PageClientpublic void createModels()
createModels in class at.spardat.xma.page.PageClientpublic boolean hasModels()
hasModels in class at.spardat.xma.page.PageClientpublic void removeWidgetModels()
removeWidgetModels in class at.spardat.xma.page.PageClientpublic at.spardat.xma.mdl.WModel[] getWModels()
getWModels in class at.spardat.xma.page.Pageprotected void setWModels(at.spardat.xma.mdl.WModel[] models)
public short getTypeId()
getTypeId in class at.spardat.xma.page.Pagepublic Order getTypedComponent()
public org.eclipse.swt.widgets.Control[] getWidgets()
getWidgets in class at.spardat.xma.page.PageClientprotected void setWidgets(org.eclipse.swt.widgets.Control[] widgets)
protected void createWidgets()
createWidgets in class at.spardat.xma.page.PageClientpublic void removeWidgets()
removeWidgets in class at.spardat.xma.page.PageClient
public void attachUIImpl()
throws at.spardat.xma.mdl.AttachmentExceptionClient
attachUIImpl in class at.spardat.xma.page.PageClientat.spardat.xma.mdl.AttachmentExceptionClientpublic void stateChanged()
PageClient.determineState().
stateChanged in class at.spardat.xma.page.PageClient
protected void clientEvent(org.eclipse.swt.events.SelectionEvent event,
int type)
clientEvent in class at.spardat.xma.page.PageClientevent - the SWT-Event that happened.type - the type of the Event, as defined by the event type constants in class SWT.protected abstract void selectCustomerWEvent()
protected void findOrder(org.eclipse.swt.events.SelectionEvent event)
protected void selectOrder(org.eclipse.swt.events.SelectionEvent event)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||