|
||||||||||
| 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.NotebookPage
org.openxma.dsl.reference.xma.order.client.Page1Gen
public abstract class Page1Gen
This class implements the generic client part of Page1. It implements the widgets and models of the page.
| Field Summary |
|---|
| Fields inherited from class at.spardat.xma.page.PageClient |
|---|
composite |
| Constructor Summary | |
|---|---|
Page1Gen(at.spardat.xma.page.Notebook notebook)
Constructs the Page1Gen. |
|
| 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 org.eclipse.swt.widgets.TabItem |
createTabItem(org.eclipse.swt.widgets.TabFolder tabfolder1W,
int index)
Creates the coresponding TabItem |
protected void |
createWidgets()
Create and initialize all SWT-Widgets of the page. |
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 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.NotebookPage |
|---|
close, createComposite, getComposite, getNotebook, getTabItem, initGUI |
| Methods inherited from class at.spardat.xma.page.PageClient |
|---|
activatePage, addChild, attachUI, clearError, clearValidationErrorImpl, clientEventBase, detachUI, determineState, determineStateBase, enter, enterBase, getComponent, getContextString, getCurrentEvent, getDialog, getDialogPage, getExtend, getHelpUri, getHelpUriBase, getParent, hasValidationError, helpEvent, insertLangInFilename, isEventsEnabled, isNew, isUIAttached, launch, launchExtern, launchRelative, leave, leaveBase, newRemoteCall, removeChild, removeModel, removeWidgetsBase, rpcFinished, serverEvent, setContextString, setDialog, setEditable, setError, setEventsEnabled, setExtend, setId, setNew, setValidationErrorImpl, showException, showMessage, stateChangedBase, 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 |
| Constructor Detail |
|---|
public Page1Gen(at.spardat.xma.page.Notebook notebook)
notebook - the Notebook this page belongs to.| Method Detail |
|---|
public 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 org.eclipse.swt.widgets.TabItem createTabItem(org.eclipse.swt.widgets.TabFolder tabfolder1W,
int index)
createTabItem in class at.spardat.xma.page.NotebookPage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||