GraphColumnView3DSpec.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 14 Jun 2019 12:46:37 +0100
branchjv
changeset 6069 bc60050be743
parent 4770 6634b540fea2
permissions -rw-r--r--
Add test for UTF-8 output in `TerminalView` on UNIX
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
789
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
     1
"
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
     2
 COPYRIGHT (c) 1998 by eXept Software AG
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
     3
	      All Rights Reserved
789
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
     4
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
     5
 This software is furnished under a license and may be used
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
     6
 only in accordance with the terms of that license and with the
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
     8
 be provided or otherwise made available to, or used by, any
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
     9
 other person.  No title to or ownership of the software is
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    10
 hereby transferred.
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    11
"
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    12
"{ Package: 'stx:libwidg2' }"
789
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    13
4770
6634b540fea2 Added PluggableHierarchicalList to define ad-hoc tree models.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3308
diff changeset
    14
"{ NameSpace: Smalltalk }"
6634b540fea2 Added PluggableHierarchicalList to define ad-hoc tree models.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3308
diff changeset
    15
740
9f14842f602e initial checkin
ca
parents:
diff changeset
    16
GraphColumnViewSpec subclass:#GraphColumnView3DSpec
9f14842f602e initial checkin
ca
parents:
diff changeset
    17
	instanceVariableNames:'rotateX rotateY rotateZ zoomZ'
9f14842f602e initial checkin
ca
parents:
diff changeset
    18
	classVariableNames:''
9f14842f602e initial checkin
ca
parents:
diff changeset
    19
	poolDictionaries:''
9f14842f602e initial checkin
ca
parents:
diff changeset
    20
	category:'Interface-Support-UI-Specs'
9f14842f602e initial checkin
ca
parents:
diff changeset
    21
!
9f14842f602e initial checkin
ca
parents:
diff changeset
    22
789
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    23
!GraphColumnView3DSpec class methodsFor:'documentation'!
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    24
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    25
copyright
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    26
"
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    27
 COPYRIGHT (c) 1998 by eXept Software AG
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    28
	      All Rights Reserved
789
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    29
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    30
 This software is furnished under a license and may be used
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    31
 only in accordance with the terms of that license and with the
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    33
 be provided or otherwise made available to, or used by, any
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    34
 other person.  No title to or ownership of the software is
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    35
 hereby transferred.
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    36
"
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    37
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    38
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    39
!
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    40
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    41
documentation
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    42
"
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    43
    Not normally used by applications.
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    44
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    45
    [author:]
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    46
	Claus Atzkern
789
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    47
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    48
    [see also:]
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    49
	UIBuilder
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    50
	UIPainter
789
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    51
"
c2401c3c9e29 added copyright & documentation
Claus Gittinger <cg@exept.de>
parents: 753
diff changeset
    52
! !
740
9f14842f602e initial checkin
ca
parents:
diff changeset
    53
9f14842f602e initial checkin
ca
parents:
diff changeset
    54
!GraphColumnView3DSpec class methodsFor:'interface - painter'!
9f14842f602e initial checkin
ca
parents:
diff changeset
    55
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    56
addBindingsTo:env for:inst channel:aChannel
740
9f14842f602e initial checkin
ca
parents:
diff changeset
    57
9f14842f602e initial checkin
ca
parents:
diff changeset
    58
    super addBindingsTo:env for:inst channel:aChannel.
9f14842f602e initial checkin
ca
parents:
diff changeset
    59
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    60
    self
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    61
	adaptApects:
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    62
		    #(
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    63
			rotateX
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    64
			rotateY
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    65
			rotateZ
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    66
			zoomZ
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    67
		     )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    68
	to:env
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    69
	for:inst
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    70
	channel:aChannel
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    71
	converter:#symbolOrNil.
740
9f14842f602e initial checkin
ca
parents:
diff changeset
    72
9f14842f602e initial checkin
ca
parents:
diff changeset
    73
!
9f14842f602e initial checkin
ca
parents:
diff changeset
    74
9f14842f602e initial checkin
ca
parents:
diff changeset
    75
slices
9f14842f602e initial checkin
ca
parents:
diff changeset
    76
    ^ #(
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    77
	    (Basics    basicsEditSpec)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    78
	    (Details   detailsEditSpec)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
    79
	    (Misc      basicsMiscSpec)
740
9f14842f602e initial checkin
ca
parents:
diff changeset
    80
       )
9f14842f602e initial checkin
ca
parents:
diff changeset
    81
9f14842f602e initial checkin
ca
parents:
diff changeset
    82
9f14842f602e initial checkin
ca
parents:
diff changeset
    83
! !
9f14842f602e initial checkin
ca
parents:
diff changeset
    84
9f14842f602e initial checkin
ca
parents:
diff changeset
    85
!GraphColumnView3DSpec class methodsFor:'interface specs'!
9f14842f602e initial checkin
ca
parents:
diff changeset
    86
751
616686a9b678 add new functionality
ca
parents: 743
diff changeset
    87
basicsMiscSpec
905
26d56c258014 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 789
diff changeset
    88
    "This resource specification was automatically generated
26d56c258014 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 789
diff changeset
    89
     by the UIPainter of ST/X."
751
616686a9b678 add new functionality
ca
parents: 743
diff changeset
    90
905
26d56c258014 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 789
diff changeset
    91
    "Do not manually edit this!! If it is corrupted,
26d56c258014 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 789
diff changeset
    92
     the UIPainter may not be able to read the specification."
751
616686a9b678 add new functionality
ca
parents: 743
diff changeset
    93
616686a9b678 add new functionality
ca
parents: 743
diff changeset
    94
    "
616686a9b678 add new functionality
ca
parents: 743
diff changeset
    95
     UIPainter new openOnClass:GraphColumnView3DSpec andSelector:#basicsMiscSpec
616686a9b678 add new functionality
ca
parents: 743
diff changeset
    96
    "
616686a9b678 add new functionality
ca
parents: 743
diff changeset
    97
616686a9b678 add new functionality
ca
parents: 743
diff changeset
    98
    <resource: #canvas>
616686a9b678 add new functionality
ca
parents: 743
diff changeset
    99
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   100
    ^
1655
ca
parents: 1260
diff changeset
   101
     #(#FullSpec
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   102
	#name: #basicsMiscSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   103
	#window:
1655
ca
parents: 1260
diff changeset
   104
       #(#WindowSpec
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   105
	  #label: 'Graph 2D Detail'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   106
	  #name: 'Graph 2D Detail'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   107
	  #min: #(#Point 10 10)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   108
	  #max: #(#Point 1160 870)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   109
	  #bounds: #(#Rectangle 506 24 891 182)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   110
	)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   111
	#component:
1655
ca
parents: 1260
diff changeset
   112
       #(#SpecCollection
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   113
	  #collection: #(
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   114
	   #(#LabelSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   115
	      #label: 'Rotation:'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   116
	      #name: 'RotationLabel'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   117
	      #layout: #(#Point 22 21)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   118
	      #resizeForLabel: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   119
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   120
	   #(#LabelSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   121
	      #label: 'X:'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   122
	      #name: 'XLabel'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   123
	      #layout: #(#AlignmentOrigin 75 0 62 0 1 0.5)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   124
	      #resizeForLabel: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   125
	      #adjust: #left
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   126
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   127
	   #(#InputFieldSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   128
	      #attributes:
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   129
	     #(#tabable
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   130
		true #XField
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   131
		nil
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   132
	      )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   133
	      #name: 'XField'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   134
	      #layout: #(#LayoutFrame 80 0 52 0 -2 1.0 74 0)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   135
	      #tabable: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   136
	      #model: #rotateX
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   137
	      #acceptChannel: #acceptChannel
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   138
	      #modifiedChannel: #modifiedChannel
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   139
	      #acceptOnPointerLeave: false
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   140
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   141
	   #(#LabelSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   142
	      #label: 'Y:'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   143
	      #name: 'YLabel'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   144
	      #layout: #(#AlignmentOrigin 75 0 85 0 1 0.5)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   145
	      #resizeForLabel: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   146
	      #adjust: #left
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   147
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   148
	   #(#InputFieldSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   149
	      #attributes:
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   150
	     #(#YField
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   151
		nil #tabable
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   152
		true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   153
	      )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   154
	      #name: 'YField'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   155
	      #layout: #(#LayoutFrame 80 0 75 0 -2 1.0 97 0)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   156
	      #tabable: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   157
	      #model: #rotateY
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   158
	      #acceptChannel: #acceptChannel
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   159
	      #modifiedChannel: #modifiedChannel
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   160
	      #acceptOnPointerLeave: false
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   161
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   162
	   #(#LabelSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   163
	      #label: 'Z:'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   164
	      #name: 'ZLabel'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   165
	      #layout: #(#AlignmentOrigin 75 0 108 0 1 0.5)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   166
	      #resizeForLabel: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   167
	      #adjust: #left
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   168
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   169
	   #(#InputFieldSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   170
	      #attributes:
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   171
	     #(#tabable
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   172
		true #ZField
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   173
		nil
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   174
	      )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   175
	      #name: 'ZField'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   176
	      #layout: #(#LayoutFrame 80 0 98 0 -2 1.0 120 0)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   177
	      #tabable: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   178
	      #model: #rotateZ
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   179
	      #acceptChannel: #acceptChannel
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   180
	      #modifiedChannel: #modifiedChannel
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   181
	      #acceptOnPointerLeave: false
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   182
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   183
	   )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   184
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   185
	)
751
616686a9b678 add new functionality
ca
parents: 743
diff changeset
   186
      )
616686a9b678 add new functionality
ca
parents: 743
diff changeset
   187
!
616686a9b678 add new functionality
ca
parents: 743
diff changeset
   188
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   189
detailsEditSpec
905
26d56c258014 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 789
diff changeset
   190
    "This resource specification was automatically generated
26d56c258014 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 789
diff changeset
   191
     by the UIPainter of ST/X."
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   192
905
26d56c258014 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 789
diff changeset
   193
    "Do not manually edit this!! If it is corrupted,
26d56c258014 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 789
diff changeset
   194
     the UIPainter may not be able to read the specification."
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   195
9f14842f602e initial checkin
ca
parents:
diff changeset
   196
    "
9f14842f602e initial checkin
ca
parents:
diff changeset
   197
     UIPainter new openOnClass:GraphColumnView3DSpec andSelector:#detailsEditSpec
9f14842f602e initial checkin
ca
parents:
diff changeset
   198
    "
9f14842f602e initial checkin
ca
parents:
diff changeset
   199
9f14842f602e initial checkin
ca
parents:
diff changeset
   200
    <resource: #canvas>
9f14842f602e initial checkin
ca
parents:
diff changeset
   201
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   202
    ^
1655
ca
parents: 1260
diff changeset
   203
     #(#FullSpec
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   204
	#name: #detailsEditSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   205
	#window:
1655
ca
parents: 1260
diff changeset
   206
       #(#WindowSpec
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   207
	  #label: 'Graph 2D Detail'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   208
	  #name: 'Graph 2D Detail'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   209
	  #min: #(#Point 10 10)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   210
	  #max: #(#Point 1160 870)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   211
	  #bounds: #(#Rectangle 886 214 1260 485)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   212
	)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   213
	#component:
1655
ca
parents: 1260
diff changeset
   214
       #(#SpecCollection
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   215
	  #collection: #(
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   216
	   #(#UISubSpecification
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   217
	      #name: 'subDetailsSpec'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   218
	      #layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 186 0)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   219
	      #minorKey: #subDetailsEditSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   220
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   221
	   #(#LabelSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   222
	      #label: 'Zoom-Z Factor:'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   223
	      #name: 'zoomZLabel'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   224
	      #layout: #(#AlignmentOrigin 157 0 197 0 1 0.5)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   225
	      #resizeForLabel: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   226
	      #adjust: #left
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   227
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   228
	   #(#InputFieldSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   229
	      #attributes:
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   230
	     #(#zoomZField
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   231
		nil #tabable
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   232
		true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   233
	      )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   234
	      #name: 'zoomZField'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   235
	      #layout: #(#LayoutFrame 161 0 187 0 -2 1.0 209 0)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   236
	      #tabable: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   237
	      #model: #zoomZ
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   238
	      #acceptChannel: #acceptChannel
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   239
	      #modifiedChannel: #modifiedChannel
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   240
	      #acceptOnPointerLeave: false
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   241
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   242
	   #(#CheckBoxSpec
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   243
	      #attributes:
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   244
	     #(#tabable
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   245
		true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   246
	      )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   247
	      #label: 'Show Grid'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   248
	      #name: 'showGrid'
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   249
	      #layout: #(#Point 27 235)
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   250
	      #tabable: true
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   251
	      #model: #showGrid
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   252
	    )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   253
	   )
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   254
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   255
	)
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   256
      )
9f14842f602e initial checkin
ca
parents:
diff changeset
   257
! !
9f14842f602e initial checkin
ca
parents:
diff changeset
   258
9f14842f602e initial checkin
ca
parents:
diff changeset
   259
!GraphColumnView3DSpec methodsFor:'accessing'!
9f14842f602e initial checkin
ca
parents:
diff changeset
   260
9f14842f602e initial checkin
ca
parents:
diff changeset
   261
rotateX
9f14842f602e initial checkin
ca
parents:
diff changeset
   262
    "return the value of the instance variable 'rotateX' (automatically generated)"
9f14842f602e initial checkin
ca
parents:
diff changeset
   263
9f14842f602e initial checkin
ca
parents:
diff changeset
   264
    ^ rotateX
9f14842f602e initial checkin
ca
parents:
diff changeset
   265
!
9f14842f602e initial checkin
ca
parents:
diff changeset
   266
9f14842f602e initial checkin
ca
parents:
diff changeset
   267
rotateX:something
9f14842f602e initial checkin
ca
parents:
diff changeset
   268
    "set the value of the instance variable 'rotateX' (automatically generated)"
9f14842f602e initial checkin
ca
parents:
diff changeset
   269
3308
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   270
    rotateX := something.
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   271
!
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   272
9f14842f602e initial checkin
ca
parents:
diff changeset
   273
rotateY
9f14842f602e initial checkin
ca
parents:
diff changeset
   274
    "return the value of the instance variable 'rotateY' (automatically generated)"
9f14842f602e initial checkin
ca
parents:
diff changeset
   275
9f14842f602e initial checkin
ca
parents:
diff changeset
   276
    ^ rotateY
9f14842f602e initial checkin
ca
parents:
diff changeset
   277
!
9f14842f602e initial checkin
ca
parents:
diff changeset
   278
9f14842f602e initial checkin
ca
parents:
diff changeset
   279
rotateY:something
9f14842f602e initial checkin
ca
parents:
diff changeset
   280
    "set the value of the instance variable 'rotateY' (automatically generated)"
9f14842f602e initial checkin
ca
parents:
diff changeset
   281
3308
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   282
    rotateY := something.
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   283
!
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   284
9f14842f602e initial checkin
ca
parents:
diff changeset
   285
rotateZ
9f14842f602e initial checkin
ca
parents:
diff changeset
   286
    "return the value of the instance variable 'rotateZ' (automatically generated)"
9f14842f602e initial checkin
ca
parents:
diff changeset
   287
9f14842f602e initial checkin
ca
parents:
diff changeset
   288
    ^ rotateZ
9f14842f602e initial checkin
ca
parents:
diff changeset
   289
!
9f14842f602e initial checkin
ca
parents:
diff changeset
   290
9f14842f602e initial checkin
ca
parents:
diff changeset
   291
rotateZ:something
9f14842f602e initial checkin
ca
parents:
diff changeset
   292
    "set the value of the instance variable 'rotateZ' (automatically generated)"
9f14842f602e initial checkin
ca
parents:
diff changeset
   293
3308
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   294
    rotateZ := something.
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   295
!
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   296
9f14842f602e initial checkin
ca
parents:
diff changeset
   297
zoomZ
9f14842f602e initial checkin
ca
parents:
diff changeset
   298
    "return the value of the instance variable 'zoomZ' (automatically generated)"
9f14842f602e initial checkin
ca
parents:
diff changeset
   299
3308
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   300
    ^ zoomZ
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   301
!
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   302
9f14842f602e initial checkin
ca
parents:
diff changeset
   303
zoomZ:something
9f14842f602e initial checkin
ca
parents:
diff changeset
   304
    "set the value of the instance variable 'zoomZ' (automatically generated)"
9f14842f602e initial checkin
ca
parents:
diff changeset
   305
3308
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   306
    zoomZ := something.
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   307
! !
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   308
9f14842f602e initial checkin
ca
parents:
diff changeset
   309
!GraphColumnView3DSpec methodsFor:'building'!
9f14842f602e initial checkin
ca
parents:
diff changeset
   310
9f14842f602e initial checkin
ca
parents:
diff changeset
   311
aspectSelectors
3308
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   312
    "add more aspect selectors (these generate aspect methods in the definer)"
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   313
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   314
    |more|
9f14842f602e initial checkin
ca
parents:
diff changeset
   315
9f14842f602e initial checkin
ca
parents:
diff changeset
   316
    more := super aspectSelectors.
9f14842f602e initial checkin
ca
parents:
diff changeset
   317
9f14842f602e initial checkin
ca
parents:
diff changeset
   318
    rotateX notNil ifTrue:[more add:rotateX].
9f14842f602e initial checkin
ca
parents:
diff changeset
   319
    rotateY notNil ifTrue:[more add:rotateY].
9f14842f602e initial checkin
ca
parents:
diff changeset
   320
    rotateZ notNil ifTrue:[more add:rotateZ].
9f14842f602e initial checkin
ca
parents:
diff changeset
   321
    zoomZ   notNil ifTrue:[more add:zoomZ].
9f14842f602e initial checkin
ca
parents:
diff changeset
   322
3308
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   323
    ^ more
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   324
!
9f14842f602e initial checkin
ca
parents:
diff changeset
   325
9f14842f602e initial checkin
ca
parents:
diff changeset
   326
setAttributesIn:aView with:aBuilder
9f14842f602e initial checkin
ca
parents:
diff changeset
   327
9f14842f602e initial checkin
ca
parents:
diff changeset
   328
    super setAttributesIn:aView with:aBuilder.
9f14842f602e initial checkin
ca
parents:
diff changeset
   329
9f14842f602e initial checkin
ca
parents:
diff changeset
   330
    aBuilder isEditing ifFalse:[
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   331
	rotateX notNil ifTrue:[ aView rotateXHolder:(self getBindingIn:aBuilder binding:rotateX) ].
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   332
	rotateY notNil ifTrue:[ aView rotateYHolder:(self getBindingIn:aBuilder binding:rotateY) ].
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   333
	rotateZ notNil ifTrue:[ aView rotateZHolder:(self getBindingIn:aBuilder binding:rotateZ) ].
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   334
3150
e3a55f15ef7e package information
Claus Gittinger <cg@exept.de>
parents: 1655
diff changeset
   335
	zoomZ notNil ifTrue:[ aView zoomZHolder:(self getBindingIn:aBuilder binding:zoomZ) ].
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   336
    ]
9f14842f602e initial checkin
ca
parents:
diff changeset
   337
! !
9f14842f602e initial checkin
ca
parents:
diff changeset
   338
9f14842f602e initial checkin
ca
parents:
diff changeset
   339
!GraphColumnView3DSpec methodsFor:'converting'!
9f14842f602e initial checkin
ca
parents:
diff changeset
   340
9f14842f602e initial checkin
ca
parents:
diff changeset
   341
skippedInLiteralEncoding
9f14842f602e initial checkin
ca
parents:
diff changeset
   342
    "define the inst-slots which are skiped when generating a literalArrayEncoding"
9f14842f602e initial checkin
ca
parents:
diff changeset
   343
9f14842f602e initial checkin
ca
parents:
diff changeset
   344
    |l|
9f14842f602e initial checkin
ca
parents:
diff changeset
   345
9f14842f602e initial checkin
ca
parents:
diff changeset
   346
    l := super skippedInLiteralEncoding asOrderedCollection.
9f14842f602e initial checkin
ca
parents:
diff changeset
   347
743
d82f2c606b02 *** empty log message ***
ca
parents: 740
diff changeset
   348
    rotateX isNil ifTrue:[l add:#rotateX].
d82f2c606b02 *** empty log message ***
ca
parents: 740
diff changeset
   349
    rotateY isNil ifTrue:[l add:#rotateY].
d82f2c606b02 *** empty log message ***
ca
parents: 740
diff changeset
   350
    rotateZ isNil ifTrue:[l add:#rotateZ].
d82f2c606b02 *** empty log message ***
ca
parents: 740
diff changeset
   351
    zoomZ isNil   ifTrue:[l add:#zoomZ].
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   352
9f14842f602e initial checkin
ca
parents:
diff changeset
   353
    ^ l
9f14842f602e initial checkin
ca
parents:
diff changeset
   354
! !
9f14842f602e initial checkin
ca
parents:
diff changeset
   355
9f14842f602e initial checkin
ca
parents:
diff changeset
   356
!GraphColumnView3DSpec class methodsFor:'documentation'!
9f14842f602e initial checkin
ca
parents:
diff changeset
   357
9f14842f602e initial checkin
ca
parents:
diff changeset
   358
version
3308
cc9c02c8b894 ca's english language and wierd indentation code cleanup
Claus Gittinger <cg@exept.de>
parents: 3150
diff changeset
   359
    ^ '$Header: /cvs/stx/stx/libwidg2/GraphColumnView3DSpec.st,v 1.10 2008-01-10 13:00:52 cg Exp $'
740
9f14842f602e initial checkin
ca
parents:
diff changeset
   360
! !
4770
6634b540fea2 Added PluggableHierarchicalList to define ad-hoc tree models.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 3308
diff changeset
   361