--- a/StandardSystemView.st Thu Sep 22 15:18:26 2016 +0200
+++ b/StandardSystemView.st Thu Sep 22 15:19:07 2016 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
@@ -52,18 +54,18 @@
in the past (for example: FileBrowser, ChangesBrowser etc.).
Although this worked, it may lead to the following
problems and inconveniences:
- - applications inherit a big number of methods through the
- SimpleView->View->TopView->StandardSystemView hierarchy.
- There is quite a danger that by accident, some method gets
- redefined which is required by one of those classes.
- (typical candidates are: terminate, destroy, open ...)
- This may lead to strange effects, which may not be obvious to
- non experts ...
+ - applications inherit a big number of methods through the
+ SimpleView->View->TopView->StandardSystemView hierarchy.
+ There is quite a danger that by accident, some method gets
+ redefined which is required by one of those classes.
+ (typical candidates are: terminate, destroy, open ...)
+ This may lead to strange effects, which may not be obvious to
+ non experts ...
- - applications with multiple topViews are difficult to implement
- and manage.
+ - applications with multiple topViews are difficult to implement
+ and manage.
- - use of a windowBuilder is difficult.
+ - use of a windowBuilder is difficult.
For all those reasons, we HIGHLY recommend to NOT define applications
as subclasses of StandardSystemView, but instead base them on
@@ -71,63 +73,62 @@
if (if at all).
[instance variables:]
- label <String> the label in the windows title
+ label <String> the label in the windows title
- icon <Form> the icon
- [ignored if the display does not
- support icons]
+ icon <Form> the icon
+ [ignored if the display does not
+ support icons]
- iconView <View> an optional icon-view (for animated icons)
- [ignored if the display does not
- supports this]
+ iconView <View> an optional icon-view (for animated icons)
+ [ignored if the display does not
+ supports this]
- iconLabel <String> the label in the icon
- [ignored if the display does not
- support label-tabs with icons]
+ iconLabel <String> the label in the icon
+ [ignored if the display does not
+ support label-tabs with icons]
- minExtent <Point> the minimum size
- No limit, if nil
- [the window manager may have its own
- limit; typically some small area]
+ minExtent <Point> the minimum size
+ No limit, if nil
+ [the window manager may have its own
+ limit; typically some small area]
- maxExtent <Point> the maximum size
- No limit, if nil.
- [the window manager may have its own
- limit; typically the screen size]
+ maxExtent <Point> the maximum size
+ No limit, if nil.
+ [the window manager may have its own
+ limit; typically the screen size]
- sizeFixed <Boolean> prevents the view from resizing itself
- (especially to freeze a dialogs size)
+ sizeFixed <Boolean> prevents the view from resizing itself
+ (especially to freeze a dialogs size)
- application <AppModel> if nonNil, thats the application
- Many requests (such as open/close etc.
- are forwarded to it, if present.
+ application <AppModel> if nonNil, that's the application
+ Many requests (such as open/close etc.
+ are forwarded to it, if present.
[class variables:]
- DefaultIcon <Form> cached default icon
+ DefaultIcon <Form> cached default icon
- TakeFocusWhenMapped <Boolean> if true, views grab the keyboard
- focus (convenient with some stupid
- windowManagers)
+ TakeFocusWhenMapped <Boolean> if true, views grab the keyboard
+ focus (convenient with some stupid
+ windowManagers)
- IncludeHostNameInLabel <Boolean> if true, the windows title shall
- include the hostname.
- (convenient if you have many remote
- views open simultaneously)
+ IncludeHostNameInLabel <Boolean> if true, the windows title shall
+ include the hostname.
+ (convenient if you have many remote
+ views open simultaneously)
- WindowLabelFormat <Boolean> specifies the format for windowLabels
+ WindowLabelFormat <Boolean> specifies the format for windowLabels
[author:]
- Claus Gittinger
+ Claus Gittinger
[see also:]
- WindowGroup
- ApplicationModel
+ WindowGroup
+ ApplicationModel
"
-
!
examples