Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
applications:application_setup [2018/02/06 22:07] admin created |
applications:application_setup [2020/07/01 15:47] cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
||
---|---|---|---|
Line 2: | Line 2: | ||
~~Title: Programatically Application setup~~ | ~~Title: Programatically Application setup~~ | ||
- | If you want to change the default configuration of your client application, e.g. a different Menu, no ToolBar, a fancy background image, ... you could use application.xml and set specific parameters or you could implement your own application behaviour. It's enough to set the application parameter: | + | If you want to change the default configuration of your client application, e.g., a different menu, no toolbar, a fancy background image, etc. you could use application.xml and set specific parameters or you could implement your own application behaviour. It's enough to set the application parameter: |
<file script> | <file script> | ||
Line 8: | Line 8: | ||
</file> | </file> | ||
- | to e.g. com.sibvisions.apps.myerp.ERPApplicationSetup | + | to ''com.sibvisions.apps.myerp.ERPApplicationSetup'' |
The implementation could be: | The implementation could be: | ||
Line 44: | Line 44: | ||
</file> | </file> | ||
- | The advantage of an implementation of ''IApplicationSetup'' is that you have access to the application instance before it was fully initialized. You can add listeners and directly call methods of the application, if needed. | + | The advantage of an implementation of ''IApplicationSetup'' is that you have access to the application instance before it is fully initialized. You can add listeners and directly call methods of the application if needed. |