added redefinable #defaultExtent method.
authorClaus Gittinger <cg@exept.de>
Tue, 08 Sep 1998 13:18:22 +0200
changeset 1873 5fd55aa184d4
parent 1872 1c3c80a1973f
child 1874 a454cdfcd470
added redefinable #defaultExtent method.
InspView.st
InspectorView.st
--- a/InspView.st	Tue Sep 08 13:11:15 1998 +0200
+++ b/InspView.st	Tue Sep 08 13:18:22 1998 +0200
@@ -118,7 +118,7 @@
                 minExtent:(100 @ 100).
 
     topView iconLabel:(self labelNameFor:anObject).
-    topView extent:(Screen current extent // 3).
+    topView extent:(self defaultExtent).
 
     inspectorView := self origin:(0.0 @ 0.0)
                           corner:(1.0 @ 1.0)
@@ -158,12 +158,19 @@
      o at:2 put:20
     "
 
-    "Created: 1.3.1996 / 19:30:50 / cg"
-    "Modified: 11.12.1996 / 17:07:17 / cg"
+    "Created: / 1.3.1996 / 19:30:50 / cg"
+    "Modified: / 7.9.1998 / 14:15:38 / cg"
 ! !
 
 !InspectorView class methodsFor:'defaults'!
 
+defaultExtent
+    ^ (Screen current extent // 3)
+
+    "Created: / 7.9.1998 / 13:47:45 / cg"
+    "Modified: / 7.9.1998 / 14:15:38 / cg"
+!
+
 defaultIcon
     "return the browsers default window icon"
 
@@ -927,5 +934,5 @@
 !InspectorView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Attic/InspView.st,v 1.79 1998-08-26 17:05:52 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Attic/InspView.st,v 1.80 1998-09-08 11:18:22 cg Exp $'
 ! !
--- a/InspectorView.st	Tue Sep 08 13:11:15 1998 +0200
+++ b/InspectorView.st	Tue Sep 08 13:18:22 1998 +0200
@@ -118,7 +118,7 @@
                 minExtent:(100 @ 100).
 
     topView iconLabel:(self labelNameFor:anObject).
-    topView extent:(Screen current extent // 3).
+    topView extent:(self defaultExtent).
 
     inspectorView := self origin:(0.0 @ 0.0)
                           corner:(1.0 @ 1.0)
@@ -158,12 +158,19 @@
      o at:2 put:20
     "
 
-    "Created: 1.3.1996 / 19:30:50 / cg"
-    "Modified: 11.12.1996 / 17:07:17 / cg"
+    "Created: / 1.3.1996 / 19:30:50 / cg"
+    "Modified: / 7.9.1998 / 14:15:38 / cg"
 ! !
 
 !InspectorView class methodsFor:'defaults'!
 
+defaultExtent
+    ^ (Screen current extent // 3)
+
+    "Created: / 7.9.1998 / 13:47:45 / cg"
+    "Modified: / 7.9.1998 / 14:15:38 / cg"
+!
+
 defaultIcon
     "return the browsers default window icon"
 
@@ -927,5 +934,5 @@
 !InspectorView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.79 1998-08-26 17:05:52 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.80 1998-09-08 11:18:22 cg Exp $'
 ! !