Navigation:  Tutorials > Creating a GUI Application >

Drawing a View for PersonalMoneyShell

Previous pageReturn to chapter overviewNext page

Use the View Composer to draw the shell view for a PersonalMoneyShell.


The connection points to the Presenter are as follows:

Sub-presenter type

Connection name

Model aspect

TextPresenter

'owner'

#owner

ListPresenter

'accounts'

#accounts

Also you must configure the command buttons appropriately:

"command" aspect

"text" aspect

#newAccount

&New

#editAccount

&Edit

#removeAccount

&Delete

#exit

E&xit

In order to use the document save and load facilities you will have to add a File menu containing the commands: #fileOpen, #fileSave and #fileSaveAs. Use the Menu Composer accessible from Modify/Menu bar to do this.