--- a/GraphColumnView2DSpec.st Mon Feb 09 12:31:14 1998 +0100
+++ b/GraphColumnView2DSpec.st Fri Feb 13 14:50:32 1998 +0100
@@ -50,207 +50,6 @@
!GraphColumnView2DSpec class methodsFor:'interface specs'!
-XXdetailsEditSpec
- "this window spec was automatically generated by the ST/X UIPainter"
-
- "do not manually edit this - the painter/builder may not be able to
- handle the specification if its corrupted."
-
- "
- UIPainter new openOnClass:self andSelector:#detailsEditSpec
- self new openInterface:#detailsEditSpec
- "
-
- <resource: #canvas>
-
- ^
-
- #(#FullSpec
- #'window:'
- #(#WindowSpec
- #'name:' 'Graph 2D Detail'
- #'layout:' #(#LayoutFrame 219 0 193 0 561 0 434 0)
- #'label:' 'Graph 2D Detail'
- #'min:' #(#Point 10 10)
- #'max:' #(#Point 1160 870)
- #'bounds:' #(#Rectangle 219 193 562 435)
- #'usePreferredExtent:' false
- )
- #'component:'
- #(#SpecCollection
- #'collection:'
- #(
- #(#LabelSpec
- #'name:' 'borderWidthLabel'
- #'layout:' #(#AlignmentOrigin 157 0 35 0 1 0.5)
- #'label:' 'Border Width:'
- #'adjust:' #left
- #'resizeForLabel:' true
- )
- #(#InputFieldSpec
- #'name:' 'borderWidthField'
- #'layout:' #(#LayoutFrame 161 0 24 0 197 0 46 0)
- #'activeHelpKey:' #borderWidth
- #'tabable:' true
- #'model:' #borderWidth
- )
- #(#LabelSpec
- #'name:' 'levelLabel'
- #'layout:' #(#AlignmentOrigin 157 0 60 0 1 0.5)
- #'label:' 'Level:'
- #'resizeForLabel:' true
- )
- #(#InputFieldSpec
- #'name:' 'levelField'
- #'layout:' #(#LayoutFrame 161 0 50 0 197 0 72 0)
- #'activeHelpKey:' #level
- #'tabable:' true
- #'model:' #level
- )
- #(#FramedBoxSpec
- #'name:' 'gridFrame'
- #'layout:' #(#LayoutFrame 0 0.0 165 0 0 1.0 226 0)
- #'component:'
- #(#SpecCollection
- #'collection:'
- #(
- #(#CheckBoxSpec
- #'name:' 'showGrid'
- #'layout:' #(#Point 18 19)
- #'tabable:' true
- #'model:' #showGrid
- #'label:' 'Show'
- )
- #(#LabelSpec
- #'name:' 'extentXlabel'
- #'layout:' #(#AlignmentOrigin 171 0 30 0 1 0.5)
- #'label:' 'Extent x:'
- #'adjust:' #left
- #'resizeForLabel:' true
- )
- #(#InputFieldSpec
- #'name:' 'extentXfield'
- #'layout:' #(#LayoutFrame 172 0 20 0 215 0 42 0)
- #'model:' #gridX
- )
- #(#LabelSpec
- #'name:' 'extentYlabel'
- #'layout:' #(#AlignmentOrigin 242 0 30 0 1 0.5)
- #'label:' 'y:'
- #'adjust:' #left
- #'resizeForLabel:' true
- )
- #(#InputFieldSpec
- #'name:' 'extentYfield'
- #'layout:' #(#LayoutFrame 245 0 20 0 288 0 42 0)
- #'model:' #gridY
- )
- )
- )
- #'label:' 'Grid'
- #'labelPosition:' #topLeft
- )
- #(#FramedBoxSpec
- #'name:' 'aspectsFrame'
- #'layout:' #(#LayoutFrame 0 0.0 81 0 0 1.0 161 0)
- #'component:'
- #(#SpecCollection
- #'collection:'
- #(
- #(#LabelSpec
- #'name:' 'windowSizeLabel'
- #'layout:' #(#AlignmentOrigin 140 0 25 0 1 0.5)
- #'label:' 'Window Size:'
- #'adjust:' #left
- #'resizeForLabel:' true
- )
- #(#InputFieldSpec
- #'name:' 'windowSizeField'
- #'layout:' #(#LayoutFrame 142 0 15 0 15 1.0 37 0)
- #'model:' #windowSize
- )
- #(#LabelSpec
- #'name:' 'zoomYLabel'
- #'layout:' #(#AlignmentOrigin 140 0 53 0 1 0.5)
- #'label:' 'Zoom-Y Factor:'
- #'adjust:' #left
- #'resizeForLabel:' true
- )
- #(#InputFieldSpec
- #'name:' 'zoomYField'
- #'layout:' #(#LayoutFrame 142 0 43 0 15 1.0 65 0)
- #'model:' #zoomY
- )
- )
- )
- #'label:' 'Aspects'
- #'labelPosition:' #topLeft
- )
- )
- )
- )
-!
-
-YYdetailsEditSpec
- "this window spec was automatically generated by the ST/X UIPainter"
-
- "do not manually edit this - the painter/builder may not be able to
- handle the specification if its corrupted."
-
- "
- UIPainter new openOnClass:self andSelector:#detailsEditSpec
- self new openInterface:#detailsEditSpec
- "
-
- <resource: #canvas>
-
- ^
-
- #(#FullSpec
- #'window:'
- #(#WindowSpec
- #'name:' 'Graph 2D Detail'
- #'layout:' #(#LayoutFrame 6 0 142 0 379 0 445 0)
- #'label:' 'Graph 2D Detail'
- #'min:' #(#Point 10 10)
- #'max:' #(#Point 1160 870)
- #'bounds:' #(#Rectangle 6 142 380 446)
- #'usePreferredExtent:' false
- )
- #'component:'
- #(#SpecCollection
- #'collection:'
- #(
- #(#UISubSpecification
- #'name:' 'subDetailsSpec'
- #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 210 0)
- #'minorKey:' #subDetailsEditSpec
- )
- #(#CheckBoxSpec
- #'name:' 'showGrid'
- #'layout:' #(#Point 27 259)
- #'tabable:' true
- #'model:' #showGrid
- #'label:' 'Show Grid'
- )
- #(#LabelSpec
- #'name:' 'zoomZLabel'
- #'layout:' #(#AlignmentOrigin 157 0 220 0 1 0.5)
- #'label:' 'Zoom-Z Factor:'
- #'adjust:' #left
- #'resizeForLabel:' true
- )
- #(#InputFieldSpec
- #'name:' 'zoomZField'
- #'layout:' #(#LayoutFrame 161 0 210 0 -2 1.0 232 0)
- #'model:' #zoomZ
- )
- )
- )
- )
-
-!
-
basicsMiscSpec
"this window spec was automatically generated by the ST/X UIPainter"
@@ -367,11 +166,11 @@
#'window:'
#(#WindowSpec
#'name:' 'Graph 2D Detail'
- #'layout:' #(#LayoutFrame 114 0 536 0 487 0 839 0)
+ #'layout:' #(#LayoutFrame 62 0 143 0 435 0 446 0)
#'label:' 'Graph 2D Detail'
#'min:' #(#Point 10 10)
#'max:' #(#Point 1160 870)
- #'bounds:' #(#Rectangle 114 536 488 840)
+ #'bounds:' #(#Rectangle 62 143 436 447)
#'usePreferredExtent:' false
)
#'component:'
@@ -380,37 +179,37 @@
#(
#(#UISubSpecification
#'name:' 'subDetailsSpec'
- #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 210 0)
+ #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 186 0)
#'majorKey:' #GraphColumnViewSpec
#'minorKey:' #subDetailsEditSpec
)
#(#CheckBoxSpec
#'name:' 'showGrid'
- #'layout:' #(#Point 27 259)
+ #'layout:' #(#Point 27 235)
#'tabable:' true
#'model:' #showGrid
#'label:' 'Show Grid'
)
#(#InputFieldSpec
#'name:' 'extentXfield'
- #'layout:' #(#LayoutFrame 161 0 224 0 190 0 246 0)
+ #'layout:' #(#LayoutFrame 161 0 197 0 190 0 219 0)
#'model:' #gridX
)
#(#InputFieldSpec
#'name:' 'extentYfield'
- #'layout:' #(#LayoutFrame 217 0 224 0 246 0 246 0)
+ #'layout:' #(#LayoutFrame 217 0 197 0 246 0 219 0)
#'model:' #gridY
)
#(#LabelSpec
#'name:' 'extentYlabel'
- #'layout:' #(#AlignmentOrigin 214 0 234 0 1 0.5)
+ #'layout:' #(#AlignmentOrigin 214 0 207 0 1 0.5)
#'label:' 'Y:'
#'adjust:' #left
#'resizeForLabel:' true
)
#(#LabelSpec
#'name:' 'extentXlabel'
- #'layout:' #(#AlignmentOrigin 157 0 234 0 1 0.5)
+ #'layout:' #(#AlignmentOrigin 157 0 207 0 1 0.5)
#'label:' 'Grid Extent X:'
#'adjust:' #left
#'resizeForLabel:' true
@@ -527,9 +326,9 @@
super setAttributesIn:aView with:aBuilder.
- aView gridExtent:(self gridX @ self gridY).
+ aBuilder isEditing ifFalse:[
+ aView gridExtent:(self gridX @ self gridY).
- aBuilder isEditing ifFalse:[
aView action:(self defineCallBackActionFor:actionBlock with:aBuilder).
aView doubleClickAction:(self defineCallBackActionFor:doubleClickBlock with:aBuilder).
aView buttonReleaseBlock:(self defineCallBackActionFor:buttonReleaseBlock with:aBuilder).
@@ -551,10 +350,6 @@
buttonReleaseBlock isNil ifTrue:[l add:#buttonReleaseBlock].
menuAccessBlock isNil ifTrue:[l add:#menuAccessBlock].
- self showGrid ifFalse:[
- l add:#gridX.
- l add:#gridY.
- ].
^ l
@@ -577,5 +372,5 @@
!GraphColumnView2DSpec class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg2/GraphColumnView2DSpec.st,v 1.3 1998-02-09 10:47:09 ca Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg2/GraphColumnView2DSpec.st,v 1.4 1998-02-13 13:50:32 ca Exp $'
! !