ProjectBrowser.st
author Claus Gittinger <cg@exept.de>
Wed, 24 Mar 1999 16:26:34 +0100
changeset 1083 46a1cb1c595d
parent 1081 b8f1b9924f40
child 1085 a35169ceb247
permissions -rw-r--r--
nicer code generated.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
     1
ToolApplicationModel subclass:#ProjectBrowser
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
     2
	instanceVariableNames:'projectTree modifiedChannel'
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
	classVariableNames:''
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
	poolDictionaries:''
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
	category:'Interface-Smalltalk'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
     8
TreeItemWithImage subclass:#ProjectTreeItem
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
     9
	instanceVariableNames:'action spec'
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
	classVariableNames:''
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
	poolDictionaries:''
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
	privateIn:ProjectBrowser
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
    15
ProjectBrowser::ProjectTreeItem subclass:#ProjectNode
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
    16
	instanceVariableNames:''
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
    17
	classVariableNames:''
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
    18
	poolDictionaries:''
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
    19
	privateIn:ProjectBrowser
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
    20
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
    21
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    23
!ProjectBrowser class methodsFor:'image specs'!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    24
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    25
classesIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    26
    "This resource specification was automatically generated
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    27
     by the ImageEditor of ST/X."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    28
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    29
    "Do not manually edit this!! If it is corrupted,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    30
     the ImageEditor may not be able to read the specification."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    31
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    32
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    33
     self classesIcon inspect
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    34
     ImageEditor openOnClass:self andSelector:#classesIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    35
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    36
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    37
    <resource: #image>
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    38
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    39
    ^Icon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    40
        constantNamed:#'ProjectBrowser classesIcon'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    41
        ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@ADA@AD"H"DPDPD@@@@@@@@@@P@QDQDQDA@A@AH"H"HPD@@@DQDQDQ@PD@@@@@@@@A@P@ADQDQDPDA@@DRH"HQ@PD@@QDQDQDA@P@ADQDQDPDA@@@@@@@@@PD@DPDQDQDQ@P@Q@@@@@@@A@ADQ@QDQDQD@DQD@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 132 130 132]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'?>C?8O?8??#??/?>??;??/?>??;??/?>O?8?? ?>C?8b') ; yourself); yourself]!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    42
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    43
commentIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    44
    "This resource specification was automatically generated
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    45
     by the ImageEditor of ST/X."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    46
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    47
    "Do not manually edit this!! If it is corrupted,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    48
     the ImageEditor may not be able to read the specification."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    49
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    50
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    51
     self commentIcon inspect
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    52
     ImageEditor openOnClass:self andSelector:#commentIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    53
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    54
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    55
    <resource: #image>
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    56
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    57
    ^Icon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    58
        constantNamed:#'ProjectBrowser commentIcon'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    59
        ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDAA@PD@PDA@PDA@PDA@PDA@PPDA@DA@PDA@PDA@PDA@PDDA@PA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PPDA@DA@PDA@PDA@PDA@P@DA@P@@PDA@PDA@PDA@PD@A@PD@@DA@PDA@PDA@PDA@@PDA@@A@PDA@PDA@PDA@P@DA@P@@PDA@PDA@PDA@PD@A@PD@@DA@PDA@PDA@PDA@@PDA@@A@PDA@PDA@PDA@PD@@@@A@PDA@PDA@PDA@PDA@PD@@PDA@PDA@P@a') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0 0 0 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@8@C @N@@@@C @N@@8@C @N@@8@C @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself]!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    60
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    61
deploymentIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    62
    "This resource specification was automatically generated
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    63
     by the ImageEditor of ST/X."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    64
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    65
    "Do not manually edit this!! If it is corrupted,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    66
     the ImageEditor may not be able to read the specification."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    67
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    68
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    69
     self deploymentIcon inspect
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    70
     ImageEditor openOnClass:self andSelector:#deploymentIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    71
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    72
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    73
    <resource: #image>
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    74
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    75
    ^Icon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    76
        constantNamed:#'ProjectBrowser deploymentIcon'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    77
        ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@CL0@3L0@@@CL3@3@3@@@CL@LC@CL@@@L0@0LCL0@@@CMCP3MD@@@@L3L3L3M@@@ADP3QD@4@@@@@3@@ACP@@DQCMDPDM@@@QDL4Q@P4@@ADP3QDACP@@DQCMDPDM@@@QDL4Q@P0@@ADP3QDAC@@@DQCMDP@@@@@@@L0@@@@@b') ; colorMapFromArray:#[0 0 0 0 0 132 132 0 0 132 0 132 255 255 0]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A30O[A%LF?<O?0??G?<??3??O?<??3??O?8??C?8O?@b') ; yourself); yourself]!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    78
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    79
filesIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    80
    "This resource specification was automatically generated
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    81
     by the ImageEditor of ST/X."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    82
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    83
    "Do not manually edit this!! If it is corrupted,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    84
     the ImageEditor may not be able to read the specification."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    85
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    86
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    87
     self filesIcon inspect
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    88
     ImageEditor openOnClass:self andSelector:#filesIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    89
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    90
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    91
    <resource: #image>
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    92
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    93
    ^Icon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    94
        constantNamed:#'ProjectBrowser filesIcon'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    95
        ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@DQDQ@P@@@@@P@@@@@@@@@A@QDQDA@@@@DA@@@@@@@@@PDADQDPD@@A@PDQDQ@Q@@DA@QDQD@@@@PDADQDQDQ@A@PDQDQDQD@@A@QDQDQDP@@DADQDQDQ@@@@DQDQDQD@@@@QDQDQDP@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@C? O?@?>C?<O?8??3??/??????????O?<??0??C?<b') ; yourself); yourself]!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    96
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    97
methodsIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    98
    "This resource specification was automatically generated
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
    99
     by the ImageEditor of ST/X."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   100
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   101
    "Do not manually edit this!! If it is corrupted,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   102
     the ImageEditor may not be able to read the specification."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   103
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   104
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   105
     self multipleUnlockedMagentaIcon inspect
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   106
     ImageEditor openOnClass:self andSelector:#multipleUnlockedMagentaIcon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   107
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   108
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   109
    <resource: #image>
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   110
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   111
    ^Icon
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   112
        constantNamed:#'ProjectBrowser methodsIcon'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   113
        ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@DH@@@@@@@@4QA@@@@@@@TQDPP@@@@@@MDQDH@@@@@@PQDQA@@@@@@LTQA@@@@@@M@I@L@@@@@EDPQD@@@@@@CQDIB@@@@@@DDQDPP@@@@@CEDPP@@@@@@@BPC@@@@@@@@DQ@@@@@@@@@B@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 0 0 132 132 0 0 132 0 132 255 0 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'B@@\@C8@_0A? C?@G<@? G<@_8@?0A?@C8@G@@H@@@@b') ; yourself); yourself]
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   114
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   115
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   116
!
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   117
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   118
prerequisitesIcon
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   119
    "This resource specification was automatically generated
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   120
     by the ImageEditor of ST/X."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   121
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   122
    "Do not manually edit this!! If it is corrupted,
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   123
     the ImageEditor may not be able to read the specification."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   124
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   125
    "
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   126
     self prerequisitesIcon inspect
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   127
     ImageEditor openOnClass:self andSelector:#prerequisitesIcon
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   128
    "
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   129
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   130
    <resource: #image>
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   131
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   132
    ^Icon
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   133
        constantNamed:#'ProjectBrowser prerequisitesIcon'
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   134
        ifAbsentPut:[(Depth4Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@A8@D(@RPA80@C@^@=HRT/)^D$@C7#@RLAI@G(@@@@b') ; yourself); yourself]
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   135
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   136
    "Modified: / 23.3.1999 / 14:28:11 / cg"
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   137
! !
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   138
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
!ProjectBrowser class methodsFor:'interface specs'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
emptyRightCanvasSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   142
    "This resource specification was automatically generated
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
     by the UIPainter of ST/X."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
    "Do not manually edit this!! If it is corrupted,
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
     the UIPainter may not be able to read the specification."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
     UIPainter new openOnClass:ProjectBrowser andSelector:#emptyRightCanvasSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   150
     ProjectBrowser new openInterface:#emptyRightCanvasSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
    <resource: #canvas>
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
    ^
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
     
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
       #(#FullSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
          #window: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
           #(#WindowSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   160
              #name: 'NewApplication'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
              #layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   162
              #label: 'NewApplication'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
              #min: #(#Point 10 10)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
              #max: #(#Point 1280 1024)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
              #bounds: #(#Rectangle 216 173 516 473)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   166
              #usePreferredExtent: false
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
          )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
          #component: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
           #(#SpecCollection
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
              #collection: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
               #(
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
                 #(#TextEditorSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
                    #name: 'TextEditor1'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
                    #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
                    #model: #rightCanvasTextHolder
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
                    #hasHorizontalScrollBar: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
                    #hasVerticalScrollBar: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
                    #miniScrollerHorizontal: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
                    #isReadOnly: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
                )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
              )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
          )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   186
rightCanvasSpecForClassList
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   187
    "This resource specification was automatically generated
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   188
     by the UIPainter of ST/X."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   189
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   190
    "Do not manually edit this!! If it is corrupted,
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   191
     the UIPainter may not be able to read the specification."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   192
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   193
    "
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   194
     UIPainter new openOnClass:ProjectBrowser andSelector:#rightCanvasSpecForClassList
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   195
     ProjectBrowser new openInterface:#rightCanvasSpecForClassList
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   196
    "
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   197
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   198
    <resource: #canvas>
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   199
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   200
    ^
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   201
     
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   202
       #(#FullSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   203
          #window: 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   204
           #(#WindowSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   205
              #name: 'NewApplication'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   206
              #layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   207
              #level: 0
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   208
              #label: 'NewApplication'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   209
              #min: #(#Point 10 10)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   210
              #max: #(#Point 1280 1024)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   211
              #bounds: #(#Rectangle 216 173 516 473)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   212
              #usePreferredExtent: false
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   213
          )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   214
          #component: 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   215
           #(#SpecCollection
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   216
              #collection: 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   217
               #(
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   218
                 #(#DataSetSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   219
                    #name: 'classTable'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   220
                    #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   221
                    #hasHorizontalScrollBar: true
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   222
                    #hasVerticalScrollBar: true
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   223
                    #dataList: #classList
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   224
                    #has3Dsepartors: false
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   225
                    #columnHolder: #classTableColumns
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   226
                    #columnAdaptor: #classTableAdaptor
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   227
                )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   228
              )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   229
          )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   230
      )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   231
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   232
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   233
rightCanvasSpecForDeployment
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   234
    "This resource specification was automatically generated
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   235
     by the UIPainter of ST/X."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   236
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   237
    "Do not manually edit this!! If it is corrupted,
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   238
     the UIPainter may not be able to read the specification."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   239
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   240
    "
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   241
     UIPainter new openOnClass:ProjectBrowser andSelector:#rightCanvasSpecForDeployment
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   242
     ProjectBrowser new openInterface:#rightCanvasSpecForDeployment
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   243
    "
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   244
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   245
    <resource: #canvas>
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   246
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   247
    ^
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   248
     
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   249
       #(#FullSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   250
          #name: #rightCanvasSpecForDeployment
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   251
          #window: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   252
           #(#WindowSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   253
              #name: 'NewApplication'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   254
              #layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   255
              #level: 0
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   256
              #label: 'NewApplication'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   257
              #min: #(#Point 10 10)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   258
              #max: #(#Point 1280 1024)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   259
              #bounds: #(#Rectangle 216 173 516 473)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   260
              #usePreferredExtent: false
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   261
              #returnIsOKInDialog: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   262
              #escapeIsCancelInDialog: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   263
          )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   264
          #component: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   265
           #(#SpecCollection
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   266
              #collection: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   267
               #(
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   268
                 #(#HorizontalPanelViewSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   269
                    #name: 'HorizontalPanel1'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   270
                    #layout: #(#LayoutFrame 0 0 -30 1 0 1 0 1)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   271
                    #component: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   272
                     #(#SpecCollection
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   273
                        #collection: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   274
                         #(
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   275
                           #(#ActionButtonSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   276
                              #name: 'Button1'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   277
                              #label: 'Cancel'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   278
                              #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   279
                              #model: #cancel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   280
                              #enableChannel: #modifiedChannel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   281
                              #extent: #(#Point 145 22)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   282
                          )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   283
                           #(#ActionButtonSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   284
                              #name: 'Button2'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   285
                              #label: 'OK'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   286
                              #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   287
                              #model: #accept
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   288
                              #enableChannel: #modifiedChannel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   289
                              #extent: #(#Point 146 22)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   290
                          )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   291
                        )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   292
                    )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   293
                    #horizontalLayout: #fitSpace
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   294
                    #verticalLayout: #center
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   295
                    #horizontalSpace: 3
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   296
                    #verticalSpace: 3
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   297
                )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   298
                 #(#FramedBoxSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   299
                    #name: 'FramedBox1'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   300
                    #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 124 0)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   301
                    #component: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   302
                     #(#SpecCollection
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   303
                        #collection: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   304
                         #(
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   305
                           #(#CheckBoxSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   306
                              #name: 'CheckBox1'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   307
                              #layout: #(#LayoutFrame 0 0.0 10 0 0 1.0 32 0)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   308
                              #model: #deliverCompiledBinary
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   309
                              #label: 'Compiled Binary'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   310
                              #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   311
                          )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   312
                           #(#CheckBoxSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   313
                              #name: 'CheckBox2'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   314
                              #layout: #(#LayoutFrame 0 0.0 38 0 0 1.0 60 0)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   315
                              #model: #deliverZipArchive
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   316
                              #label: 'Zip Archive'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   317
                              #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   318
                          )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   319
                           #(#CheckBoxSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   320
                              #name: 'CheckBox3'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   321
                              #layout: #(#LayoutFrame 0 0.0 66 0 0 1.0 88 0)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   322
                              #model: #deliverSources
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   323
                              #label: 'Sources'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   324
                              #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   325
                          )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   326
                        )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   327
                    )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   328
                    #label: 'Delivery'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   329
                    #labelPosition: #topLeft
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   330
                    #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   331
                )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   332
                 #(#FramedBoxSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   333
                    #name: 'FramedBox2'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   334
                    #layout: #(#LayoutFrame 0 0.0 125 0 0 1.0 190 0)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   335
                    #component: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   336
                     #(#SpecCollection
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   337
                        #collection: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   338
                         #(
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   339
                           #(#InputFieldSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   340
                              #name: 'EntryField1'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   341
                              #layout: #(#LayoutFrame 0 0.0 5 0 0 1.0 27 0)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   342
                              #model: #installDirectory
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   343
                              #modifiedChannel: #modifiedChannel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   344
                          )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   345
                        )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   346
                    )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   347
                    #label: 'Install Directory'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   348
                    #labelPosition: #topLeft
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   349
                    #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   350
                )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   351
              )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   352
          )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   353
      )
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   354
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   355
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   356
rightCanvasSpecForEditableText
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   357
    "This resource specification was automatically generated
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   358
     by the UIPainter of ST/X."
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   359
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   360
    "Do not manually edit this!! If it is corrupted,
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   361
     the UIPainter may not be able to read the specification."
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   362
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   363
    "
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   364
     UIPainter new openOnClass:ProjectBrowser andSelector:#emptyRightCanvasSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   365
     ProjectBrowser new openInterface:#emptyRightCanvasSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   366
    "
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   367
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   368
    <resource: #canvas>
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   369
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   370
    ^
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   371
     
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   372
       #(#FullSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   373
          #window: 
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   374
           #(#WindowSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   375
              #name: 'NewApplication'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   376
              #layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   377
              #label: 'NewApplication'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   378
              #min: #(#Point 10 10)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   379
              #max: #(#Point 1280 1024)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   380
              #bounds: #(#Rectangle 216 173 516 473)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   381
              #usePreferredExtent: false
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   382
          )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   383
          #component: 
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   384
           #(#SpecCollection
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   385
              #collection: 
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   386
               #(
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   387
                 #(#TextEditorSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   388
                    #name: 'TextEditor1'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   389
                    #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   390
                    #model: #rightCanvasTextHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   391
                    #hasHorizontalScrollBar: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   392
                    #hasVerticalScrollBar: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   393
                    #miniScrollerHorizontal: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   394
                    #isReadOnly: false
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   395
                )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   396
              )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   397
          )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   398
      )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   399
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   400
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   401
rightCanvasSpecForHTMLText
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   402
    "This resource specification was automatically generated
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   403
     by the UIPainter of ST/X."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   404
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   405
    "Do not manually edit this!! If it is corrupted,
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   406
     the UIPainter may not be able to read the specification."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   407
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   408
    "
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   409
     UIPainter new openOnClass:ProjectBrowser andSelector:#rightCanvasSpecForHTMLText
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   410
     ProjectBrowser new openInterface:#rightCanvasSpecForHTMLText
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   411
    "
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   412
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   413
    <resource: #canvas>
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   414
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   415
    ^
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   416
     
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   417
       #(#FullSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   418
          #window: 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   419
           #(#WindowSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   420
              #name: 'NewApplication'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   421
              #layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   422
              #level: 0
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   423
              #label: 'NewApplication'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   424
              #min: #(#Point 10 10)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   425
              #max: #(#Point 1280 1024)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   426
              #bounds: #(#Rectangle 216 173 516 473)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   427
              #usePreferredExtent: false
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   428
          )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   429
          #component: 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   430
           #(#SpecCollection
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   431
              #collection: 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   432
               #(
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   433
                 #(#HTMLViewSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   434
                    #name: 'HTMLBrowser1'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   435
                    #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   436
                    #model: #htmlDocumentURLHolder
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   437
                    #hasHorizontalScrollBar: true
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   438
                    #hasVerticalScrollBar: true
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   439
                )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   440
              )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   441
          )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   442
      )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   443
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   444
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   445
rightCanvasSpecForPatchesList
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   446
    "This resource specification was automatically generated
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   447
     by the UIPainter of ST/X."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   448
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   449
    "Do not manually edit this!! If it is corrupted,
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   450
     the UIPainter may not be able to read the specification."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   451
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   452
    "
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   453
     UIPainter new openOnClass:ProjectBrowser andSelector:#rightCanvasSpecForPatchesList
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   454
     ProjectBrowser new openInterface:#rightCanvasSpecForPatchesList
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   455
    "
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   456
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   457
    <resource: #canvas>
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   458
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   459
    ^
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   460
     
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   461
       #(#FullSpec
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   462
          #window: 
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   463
           #(#WindowSpec
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   464
              #name: 'NewApplication'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   465
              #layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   466
              #level: 0
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   467
              #label: 'NewApplication'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   468
              #min: #(#Point 10 10)
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   469
              #max: #(#Point 1280 1024)
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   470
              #bounds: #(#Rectangle 216 173 516 473)
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   471
              #usePreferredExtent: false
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   472
          )
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   473
          #component: 
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   474
           #(#SpecCollection
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   475
              #collection: 
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   476
               #(
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   477
                 #(#DataSetSpec
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   478
                    #name: 'patchesTable'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   479
                    #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   480
                    #hasHorizontalScrollBar: true
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   481
                    #hasVerticalScrollBar: true
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   482
                    #dataList: #patchesList
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   483
                    #has3Dsepartors: false
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   484
                    #columnHolder: #patchesTableColumns
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   485
                    #columnAdaptor: #classTableAdaptor
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   486
                )
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   487
              )
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   488
          )
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   489
      )
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   490
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
   491
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   492
rightCanvasSpecForProperties
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   493
    "This resource specification was automatically generated
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   494
     by the UIPainter of ST/X."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   495
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   496
    "Do not manually edit this!! If it is corrupted,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   497
     the UIPainter may not be able to read the specification."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   498
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   499
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   500
     UIPainter new openOnClass:ProjectBrowser andSelector:#rightCanvasSpecForProperties
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   501
     ProjectBrowser new openInterface:#rightCanvasSpecForProperties
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   502
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   503
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   504
    <resource: #canvas>
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   505
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   506
    ^
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   507
     
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   508
       #(#FullSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   509
          #name: #rightCanvasSpecForProperties
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   510
          #window: 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   511
           #(#WindowSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   512
              #name: 'NewApplication'
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   513
              #layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   514
              #level: 0
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   515
              #label: 'NewApplication'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   516
              #min: #(#Point 10 10)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   517
              #max: #(#Point 1280 1024)
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   518
              #bounds: #(#Rectangle 216 173 516 473)
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   519
              #usePreferredExtent: false
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   520
              #returnIsOKInDialog: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   521
              #escapeIsCancelInDialog: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   522
          )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   523
          #component: 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   524
           #(#SpecCollection
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   525
              #collection: 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   526
               #(
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   527
                 #(#HorizontalPanelViewSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   528
                    #name: 'HorizontalPanel1'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   529
                    #layout: #(#LayoutFrame 0 0 -30 1 0 1 0 1)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   530
                    #component: 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   531
                     #(#SpecCollection
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   532
                        #collection: 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   533
                         #(
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   534
                           #(#ActionButtonSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   535
                              #name: 'Button1'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   536
                              #label: 'Cancel'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   537
                              #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   538
                              #model: #cancel
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   539
                              #enableChannel: #modifiedChannel
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   540
                              #extent: #(#Point 145 22)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   541
                          )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   542
                           #(#ActionButtonSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   543
                              #name: 'Button2'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   544
                              #label: 'OK'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   545
                              #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   546
                              #model: #accept
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   547
                              #enableChannel: #modifiedChannel
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   548
                              #extent: #(#Point 146 22)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   549
                          )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   550
                        )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   551
                    )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   552
                    #horizontalLayout: #fitSpace
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   553
                    #verticalLayout: #center
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   554
                    #horizontalSpace: 3
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   555
                    #verticalSpace: 3
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   556
                )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   557
                 #(#FramedBoxSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   558
                    #name: 'FramedBox1'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   559
                    #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 93 0)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   560
                    #component: 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   561
                     #(#SpecCollection
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   562
                        #collection: 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   563
                         #(
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   564
                           #(#RadioButtonSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   565
                              #name: 'RadioButton1'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   566
                              #layout: #(#LayoutFrame -1 0.0 10 0 135 0 32 0)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   567
                              #label: 'Application'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   568
                              #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   569
                              #model: #projectType
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   570
                              #isTriggerOnDown: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   571
                              #select: #application
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   572
                          )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   573
                           #(#RadioButtonSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   574
                              #name: 'RadioButton2'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   575
                              #layout: #(#LayoutFrame -1 0.0 38 0 135 0 60 0)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   576
                              #label: 'Class Library'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   577
                              #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   578
                              #model: #projectType
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   579
                              #isTriggerOnDown: true
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   580
                              #select: #library
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   581
                          )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   582
                        )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   583
                    )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   584
                    #label: 'Project Type'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   585
                    #labelPosition: #topLeft
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   586
                    #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   587
                )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   588
                 #(#FramedBoxSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   589
                    #name: 'FramedBox2'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   590
                    #layout: #(#LayoutFrame 0 0.0 94 0.0 0 1.0 159 0)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   591
                    #component: 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   592
                     #(#SpecCollection
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   593
                        #collection: 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   594
                         #(
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   595
                           #(#InputFieldSpec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   596
                              #name: 'EntryField1'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   597
                              #layout: #(#LayoutFrame 0 0.0 4 0 0 1.0 26 0)
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
   598
                              #enableChannel: #currentProjectWasNotLoadedFromFile
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   599
                              #model: #projectDirectory
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   600
                              #modifiedChannel: #modifiedChannel
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   601
                          )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   602
                        )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   603
                    )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   604
                    #label: 'Directory'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   605
                    #labelPosition: #topLeft
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   606
                    #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   607
                )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   608
              )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   609
          )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   610
      )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   611
!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   612
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   613
rightCanvasSpecForReadOnlyText
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   614
    "This resource specification was automatically generated
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   615
     by the UIPainter of ST/X."
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   616
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   617
    "Do not manually edit this!! If it is corrupted,
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   618
     the UIPainter may not be able to read the specification."
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   619
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   620
    "
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   621
     UIPainter new openOnClass:ProjectBrowser andSelector:#emptyRightCanvasSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   622
     ProjectBrowser new openInterface:#emptyRightCanvasSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   623
    "
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   624
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   625
    <resource: #canvas>
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   626
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   627
    ^
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   628
     
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   629
       #(#FullSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   630
          #window: 
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   631
           #(#WindowSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   632
              #name: 'NewApplication'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   633
              #layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   634
              #label: 'NewApplication'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   635
              #min: #(#Point 10 10)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   636
              #max: #(#Point 1280 1024)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   637
              #bounds: #(#Rectangle 216 173 516 473)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   638
              #usePreferredExtent: false
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   639
          )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   640
          #component: 
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   641
           #(#SpecCollection
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   642
              #collection: 
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   643
               #(
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   644
                 #(#TextEditorSpec
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   645
                    #name: 'TextEditor1'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   646
                    #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   647
                    #model: #rightCanvasTextHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   648
                    #hasHorizontalScrollBar: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   649
                    #hasVerticalScrollBar: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   650
                    #miniScrollerHorizontal: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   651
                    #isReadOnly: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   652
                )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   653
              )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   654
          )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   655
      )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   656
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   657
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   658
windowSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   659
    "This resource specification was automatically generated
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   660
     by the UIPainter of ST/X."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   661
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   662
    "Do not manually edit this!! If it is corrupted,
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   663
     the UIPainter may not be able to read the specification."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   664
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   665
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   666
     UIPainter new openOnClass:ProjectBrowser andSelector:#windowSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   667
     ProjectBrowser new openInterface:#windowSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   668
     ProjectBrowser open
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   669
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   670
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   671
    <resource: #canvas>
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   672
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   673
    ^
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   674
     
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   675
       #(#FullSpec
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   676
          #name: #windowSpec
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   677
          #window: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   678
           #(#WindowSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   679
              #name: 'ProjectBrowser'
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   680
              #layout: #(#LayoutFrame 216 0 173 0 779 0 495 0)
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   681
              #level: 0
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   682
              #label: 'ProjectBrowser'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   683
              #min: #(#Point 10 10)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   684
              #max: #(#Point 1024 768)
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   685
              #bounds: #(#Rectangle 216 173 780 496)
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   686
              #menu: #mainMenu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   687
              #usePreferredExtent: false
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   688
              #returnIsOKInDialog: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   689
              #escapeIsCancelInDialog: true
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   690
          )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   691
          #component: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   692
           #(#SpecCollection
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   693
              #collection: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   694
               #(
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   695
                 #(#MenuPanelSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   696
                    #name: 'ToolBar1'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   697
                    #layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   698
                    #menu: #menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   699
                    #textDefault: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   700
                )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   701
                 #(#VariableHorizontalPanelSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   702
                    #name: 'VariableHorizontalPanel1'
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   703
                    #layout: #(#LayoutFrame 0 0.0 40 0.0 0 1.0 -24 1.0)
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   704
                    #component: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   705
                     #(#SpecCollection
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   706
                        #collection: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   707
                         #(
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   708
                           #(#SelectionInTreeViewSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   709
                              #name: 'TreeList1'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   710
                              #model: #selectedTreeNode
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   711
                              #menu: #itemMenuHolder
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   712
                              #performer: #itemMenuPerformer
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   713
                              #hasHorizontalScrollBar: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   714
                              #hasVerticalScrollBar: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   715
                              #miniScrollerHorizontal: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   716
                              #showRoot: false
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   717
                              #showDirectoryIndicatorForRoot: false
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   718
                              #showDirectoryIndicator: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   719
                              #valueChangeSelector: #itemSelected:
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   720
                              #hierarchicalList: #projectTreeHolder
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   721
                              #selectConditionSelector: #selectionChangeAllowed
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   722
                              #highlightMode: #label
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   723
                          )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   724
                           #(#SubCanvasSpec
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   725
                              #name: 'SubCanvas1'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   726
                              #hasHorizontalScrollBar: false
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   727
                              #hasVerticalScrollBar: false
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   728
                              #specHolder: #currentCanvasHolder
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   729
                          )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   730
                        )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   731
                    )
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   732
                    #handles: #(#Any 0.379433 1.0)
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   733
                )
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   734
                 #(#UISubSpecification
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   735
                    #name: 'infoBarSubSpec'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   736
                    #layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   737
                    #majorKey: #ToolApplicationModel
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   738
                    #minorKey: #windowSpecForInfoBar
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   739
                )
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   740
              )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   741
          )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   742
      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   743
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   744
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
!ProjectBrowser class methodsFor:'menu specs'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   746
1052
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   747
classesItemMenu
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   748
    "This resource specification was automatically generated
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   749
     by the MenuEditor of ST/X."
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   750
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   751
    "Do not manually edit this!! If it is corrupted,
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   752
     the MenuEditor may not be able to read the specification."
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   753
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   754
    "
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   755
     MenuEditor new openOnClass:ProjectBrowser andSelector:#classesItemMenu
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   756
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser classesItemMenu)) startUp
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   757
    "
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   758
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   759
    <resource: #menu>
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   760
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   761
    ^
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   762
     
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   763
       #(#Menu
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   764
          
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   765
           #(
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   766
             #(#MenuItem
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   767
                #label: 'Add Class...'
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   768
                #translateLabel: true
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   769
                #value: #addClass
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   770
                #enabled: #hasClassesSelectedHolder
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   771
            )
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   772
             #(#MenuItem
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   773
                #label: '-'
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   774
            )
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   775
             #(#MenuItem
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   776
                #label: 'Browse...'
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   777
                #translateLabel: true
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   778
                #value: #browseClasses
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   779
                #enabled: #hasClassesSelectedHolder
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   780
            )
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   781
          ) nil
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   782
          nil
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   783
      )
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   784
!
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
   785
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   786
mainMenu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   787
    "This resource specification was automatically generated
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   788
     by the MenuEditor of ST/X."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   789
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   790
    "Do not manually edit this!! If it is corrupted,
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   791
     the MenuEditor may not be able to read the specification."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   792
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   793
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   794
     MenuEditor new openOnClass:ProjectBrowser andSelector:#mainMenu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   795
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser mainMenu)) startUp
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   796
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   797
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   798
    <resource: #menu>
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   799
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   800
    ^
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   801
     
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   802
       #(#Menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   803
          
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   804
           #(
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   805
             #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   806
                #label: 'File'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   807
                #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   808
                #submenu: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   809
                 #(#Menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   810
                    
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   811
                     #(
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   812
                       #(#MenuItem
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   813
                          #label: 'Load From...'
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   814
                          #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   815
                          #value: #openProject
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   816
                      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   817
                       #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   818
                          #label: '-'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   819
                      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   820
                       #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   821
                          #label: 'Save'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   822
                          #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   823
                          #value: #saveProject
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   824
                          #enabled: #hasProjectSelectedHolder
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   825
                      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   826
                       #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   827
                          #label: 'Save As...'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   828
                          #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   829
                          #value: #saveProjectAs
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   830
                          #enabled: #hasProjectSelectedHolder
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   831
                      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   832
                       #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   833
                          #label: '-'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   834
                      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   835
                       #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   836
                          #label: 'Exit'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   837
                          #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   838
                          #value: #closeRequest
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   839
                      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   840
                    ) nil
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   841
                    nil
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   842
                )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   843
            )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   844
             #(#MenuItem
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   845
                #label: 'Project'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   846
                #translateLabel: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   847
                #submenuChannel: #projectItemMenu
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   848
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   849
             #(#MenuItem
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   850
                #label: 'Help'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   851
                #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   852
                #startGroup: #right
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   853
                #submenu: 
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   854
                 #(#Menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   855
                    
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   856
                     #(
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   857
                       #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   858
                          #label: 'Documentation'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   859
                          #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   860
                          #value: #openDocumentation
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   861
                      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   862
                       #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   863
                          #label: '-'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   864
                      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
                       #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   866
                          #label: 'About this Application'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   867
                          #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   868
                          #value: #openAboutThisApplication
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   869
                      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   870
                    ) nil
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   871
                    nil
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   872
                )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   873
            )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   874
          ) nil
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   875
          nil
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   876
      )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   877
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   878
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   879
menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   880
    "This resource specification was automatically generated
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   881
     by the MenuEditor of ST/X."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   882
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   883
    "Do not manually edit this!! If it is corrupted,
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
     the MenuEditor may not be able to read the specification."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   885
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   886
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   887
     MenuEditor new openOnClass:ProjectBrowser andSelector:#menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   888
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser menu)) startUp
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   889
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   890
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   891
    <resource: #menu>
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   892
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   893
    ^
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   894
     
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   895
       #(#Menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   896
          
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   897
           #(
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   898
             #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   899
                #label: 'New...'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   900
                #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   901
                #isButton: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   902
                #value: #newProject
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   903
                #labelImage: #(#ResourceRetriever #Icon #newIcon)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   904
            )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   905
             #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   906
                #label: 'Open...'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   907
                #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   908
                #isButton: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   909
                #value: #openProject
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   910
                #labelImage: #(#ResourceRetriever #Icon #loadIcon)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
            )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   912
             #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   913
                #label: 'SaveAs...'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
                #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   915
                #isButton: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   916
                #value: #saveProject
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   917
                #labelImage: #(#ResourceRetriever #Icon #saveIcon)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
            )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   919
          ) nil
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
          nil
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   921
      )
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   922
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   923
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   924
noItemMenu
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   925
    "This resource specification was automatically generated
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   926
     by the MenuEditor of ST/X."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   927
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   928
    "Do not manually edit this!! If it is corrupted,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   929
     the MenuEditor may not be able to read the specification."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   930
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   931
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   932
     MenuEditor new openOnClass:ProjectBrowser andSelector:#projectItemMenu
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   933
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser projectItemMenu)) startUp
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   934
    "
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   935
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   936
    <resource: #menu>
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   937
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   938
    ^
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   939
     
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   940
       #(#Menu
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   941
          
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   942
           #(
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   943
             #(#MenuItem
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   944
                #label: 'New Project'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   945
                #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   946
                #value: #newProject
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   947
            )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   948
          ) nil
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   949
          nil
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   950
      )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   951
!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   952
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   953
projectItemMenu
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   954
    "This resource specification was automatically generated
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   955
     by the MenuEditor of ST/X."
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   956
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   957
    "Do not manually edit this!! If it is corrupted,
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   958
     the MenuEditor may not be able to read the specification."
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   959
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   960
    "
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   961
     MenuEditor new openOnClass:ProjectBrowser andSelector:#projectItemMenu
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   962
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser projectItemMenu)) startUp
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   963
    "
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   964
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   965
    <resource: #menu>
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   966
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   967
    ^
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   968
     
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   969
       #(#Menu
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   970
          
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   971
           #(
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   972
             #(#MenuItem
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   973
                #label: 'Make Current'
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   974
                #translateLabel: true
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   975
                #value: #makeCurrentProject
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   976
                #enabled: #hasProjectSelectedHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   977
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   978
             #(#MenuItem
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   979
                #label: '-'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   980
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   981
             #(#MenuItem
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   982
                #label: 'New Project'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   983
                #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   984
                #value: #newProject
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   985
            )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   986
             #(#MenuItem
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   987
                #label: 'New SubProject'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   988
                #translateLabel: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   989
                #value: #newSubProject
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   990
                #enabled: #hasProjectSelectedHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   991
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   992
             #(#MenuItem
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   993
                #label: '-'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   994
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   995
             #(#MenuItem
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   996
                #label: 'Rename...'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   997
                #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   998
                #value: #renameProject
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   999
                #enabled: #hasProjectSelectedHolder
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1000
            )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1001
             #(#MenuItem
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1002
                #label: '-'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1003
            )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1004
             #(#MenuItem
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1005
                #label: 'Remove...'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1006
                #translateLabel: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1007
                #value: #removeProject
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1008
                #enabled: #hasProjectSelectedHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1009
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1010
          ) nil
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1011
          nil
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1012
      )
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1013
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1014
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1015
subProjectsItemMenu
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1016
    "This resource specification was automatically generated
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1017
     by the MenuEditor of ST/X."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1018
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1019
    "Do not manually edit this!! If it is corrupted,
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1020
     the MenuEditor may not be able to read the specification."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1021
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1022
    "
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1023
     MenuEditor new openOnClass:ProjectBrowser andSelector:#subProjectsItemMenu
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1024
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser subProjectsItemMenu)) startUp
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1025
    "
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1026
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1027
    <resource: #menu>
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1028
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1029
    ^
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1030
     
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1031
       #(#Menu
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1032
          
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1033
           #(
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1034
             #(#MenuItem
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1035
                #label: 'New SubProject'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1036
                #translateLabel: true
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1037
                #value: #newSubProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1038
                #enabled: #hasSubProjectsSelectedHolder
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1039
            )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1040
          ) nil
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1041
          nil
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1042
      )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1043
! !
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1044
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1045
!ProjectBrowser class methodsFor:'tableColumns specs'!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1046
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1047
classTableColumns
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1048
    "This resource specification was automatically generated
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1049
     by the DataSetBuilder of ST/X."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1050
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1051
    "Do not manually edit this!! If it is corrupted,
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1052
     the DataSetBuilder may not be able to read the specification."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1053
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1054
    "
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1055
     DataSetBuilder new openOnClass:ProjectBrowser andSelector:#classTableColumns
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1056
    "
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1057
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1058
    <resource: #tableColumns>
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1059
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1060
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1061
    ^ #(
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1062
        #(#DataSetColumnSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1063
           #label: 'Class'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1064
           #id: 'classColumn'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1065
           #labelAlignment: #left
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1066
           #model: #classNameFromClassInfo:
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1067
       )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1068
        #(#DataSetColumnSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1069
           #label: 'Included'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1070
           #id: 'inclusion'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1071
           #columnAlignment: #center
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1072
           #width: 100
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1073
           #editorType: #ComboList
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1074
           #model: #classIncludeConditionFromClassInfo:
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1075
       )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1076
        #(#DataSetColumnSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1077
           #label: 'Filename'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1078
           #labelAlignment: #left
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1079
           #minWidth: 200
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1080
           #model: #classFilenameFromClassInfo:
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1081
       )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1082
     )
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1083
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1084
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1085
patchesTableColumns
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1086
    "This resource specification was automatically generated
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1087
     by the DataSetBuilder of ST/X."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1088
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1089
    "Do not manually edit this!! If it is corrupted,
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1090
     the DataSetBuilder may not be able to read the specification."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1091
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1092
    "
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1093
     DataSetBuilder new openOnClass:ProjectBrowser andSelector:#patchesTableColumns
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1094
    "
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1095
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1096
    <resource: #tableColumns>
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1097
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1098
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1099
    ^ #(
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1100
        #(#DataSetColumnSpec
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1101
           #label: 'Class'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1102
           #id: 'classColumn'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1103
           #labelAlignment: #left
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1104
           #model: #classNameFromPatchesInfo:
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1105
       )
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1106
        #(#DataSetColumnSpec
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1107
           #label: 'Selector'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1108
           #id: 'selectorColumn'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1109
           #labelAlignment: #left
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1110
           #model: #selectorFromPatchesInfo:
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1111
       )
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1112
     )
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
!ProjectBrowser methodsFor:'aspects'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1117
classList
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1118
    "automatically generated by UIPainter ..."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1119
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1120
    "*** the code below creates a default model when invoked."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1121
    "*** (which may not be the one you wanted)"
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1122
    "*** Please change as required and accept in the browser."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1123
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1124
    |holder|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1125
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1126
    (holder := builder bindingAt:#classList) isNil ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1127
        builder aspectAt:#classList put:(holder :=  List new).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1128
    ].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1129
    ^ holder.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1130
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1131
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1132
classTableAdaptor
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1133
    ^ self
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1134
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1135
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1136
classTableColumns
1038
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1137
    ^ self class classTableColumns
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1138
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1139
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
currentCanvasHolder
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
    "automatically generated by UIPainter ..."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
    "*** the code below creates a default model when invoked."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
    "*** (which may not be the one you wanted)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1145
    "*** Please change as required and accept in the browser."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1147
    |holder|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1149
    (holder := builder bindingAt:#currentCanvasHolder) isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
        builder aspectAt:#currentCanvasHolder put:(holder :=  ValueHolder new).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1152
    ^ holder.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1155
currentProjectWasNotLoadedFromFile
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1156
    "automatically generated by UIPainter ..."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1157
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1158
    "*** the code below creates a default model when invoked."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1159
    "*** (which may not be the one you wanted)"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1160
    "*** Please change as required and accept in the browser."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1161
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1162
    |holder|
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1163
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1164
    (holder := builder bindingAt:#currentProjectWasNotLoadedFromFile) isNil ifTrue:[
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1165
        builder aspectAt:#currentProjectWasNotLoadedFromFile put:(holder :=  ValueHolder new).
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1166
    ].
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1167
    ^ holder.
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1168
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1169
    "Created: / 23.3.1999 / 14:01:09 / cg"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1170
!
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1171
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1172
deliverCompiledBinary
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1173
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1174
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1175
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1176
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1177
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1178
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1179
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1180
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1181
    (holder := builder bindingAt:#deliverCompiledBinary) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1182
        builder aspectAt:#deliverCompiledBinary put:(holder :=  ValueHolder new).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1183
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1184
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1185
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1186
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1187
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1188
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1189
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1190
deliverSources
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1191
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1192
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1193
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1194
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1195
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1196
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1197
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1198
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1199
    (holder := builder bindingAt:#deliverSources) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1200
        builder aspectAt:#deliverSources put:(holder :=  ValueHolder new).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1201
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1202
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1203
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1204
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1205
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1206
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1207
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1208
deliverZipArchive
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1209
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1210
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1211
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1212
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1213
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1214
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1215
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1216
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1217
    (holder := builder bindingAt:#deliverZipArchive) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1218
        builder aspectAt:#deliverZipArchive put:(holder :=  ValueHolder new).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1219
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1220
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1221
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1222
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1223
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1224
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1225
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1226
hasProjectSelectedHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1227
    ^ [
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1228
        self hasProjectNodeSelected
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1229
      ]
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1230
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1231
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1232
hasSubProjectsSelectedHolder
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1233
    ^ [
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1234
        self hasSubProjectsNodeSelected
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1235
      ]
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1236
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1237
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1238
htmlDocumentURLHolder
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1239
    "automatically generated by UIPainter ..."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1240
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1241
    "*** the code below creates a default model when invoked."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1242
    "*** (which may not be the one you wanted)"
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1243
    "*** Please change as required and accept in the browser."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1244
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1245
    |holder|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1246
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1247
    (holder := builder bindingAt:#htmlDocumentURLHolder) isNil ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1248
        builder aspectAt:#htmlDocumentURLHolder put:(holder :=  ValueHolder new).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1249
    ].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1250
    ^ holder.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1251
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1252
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1253
installDirectory
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1254
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1255
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1256
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1257
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1258
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1259
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1260
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1261
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1262
    (holder := builder bindingAt:#installDirectory) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1263
        builder aspectAt:#installDirectory put:(holder := '/opt' asValue).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1264
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1265
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1266
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1267
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1268
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1269
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1270
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1271
modifiedChannel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1272
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1273
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1274
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1275
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1276
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1277
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1278
    modifiedChannel isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1279
        modifiedChannel := false asValue.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1280
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1281
    ^ modifiedChannel.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1282
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1283
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1284
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1285
patchesList
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1286
    "automatically generated by UIPainter ..."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1287
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1288
    "*** the code below creates a default model when invoked."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1289
    "*** (which may not be the one you wanted)"
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1290
    "*** Please change as required and accept in the browser."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1291
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1292
    |holder|
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1293
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1294
    (holder := builder bindingAt:#patchesList) isNil ifTrue:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1295
        builder aspectAt:#patchesList put:(holder :=  List new).
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1296
    ].
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1297
    ^ holder.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1298
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1299
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1300
projectDirectory
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1301
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1302
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1303
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1304
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1305
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1306
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1307
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1308
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1309
    (holder := builder bindingAt:#projectDirectory) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1310
        builder aspectAt:#projectDirectory put:(holder := '.' asValue).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1311
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1312
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1313
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1314
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1315
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1316
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1317
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1318
projectTreeHolder
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1319
    "automatically generated by UIPainter ..."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1320
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1321
    "*** the code below creates a default model when invoked."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1322
    "*** (which may not be the one you wanted)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1323
    "*** Please change as required and accept in the browser."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1324
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1325
    |holder|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1326
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1327
    (holder := builder bindingAt:#projectTree) isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1328
        builder aspectAt:#projectTree put:(holder :=  SelectionInTree new).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1329
        holder root:self projectTree.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1330
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1331
    ^ holder.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1332
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1333
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1334
projectType
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1335
    "automatically generated by UIPainter ..."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1336
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1337
    "*** the code below creates a default model when invoked."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1338
    "*** (which may not be the one you wanted)"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1339
    "*** Please change as required and accept in the browser."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1340
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1341
    |holder|
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1342
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1343
    (holder := builder bindingAt:#projectType) isNil ifTrue:[
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1344
        builder aspectAt:#projectType put:(holder :=  ValueHolder new).
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1345
        holder onChangeSend:#value to:[modifiedChannel value:true].
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1346
    ].
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1347
    ^ holder.
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1348
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1349
    "Created: / 23.3.1999 / 14:18:05 / cg"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1350
!
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1351
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1352
rightCanvasTextHolder
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1353
    "automatically generated by UIPainter ..."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1354
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1355
    "*** the code below creates a default model when invoked."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1356
    "*** (which may not be the one you wanted)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1357
    "*** Please change as required and accept in the browser."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1358
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1359
    |holder|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1360
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1361
    (holder := builder bindingAt:#rightCanvasTextHolder) isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1362
        builder aspectAt:#rightCanvasTextHolder put:(holder :=  ValueHolder new).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1363
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1364
    ^ holder.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1365
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1366
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1367
selectedTreeNode
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1368
    "automatically generated by UIPainter ..."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1369
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1370
    "*** the code below creates a default model when invoked."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1371
    "*** (which may not be the one you wanted)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1372
    "*** Please change as required and accept in the browser."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1373
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1374
    |holder|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1375
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1376
    (holder := builder bindingAt:#selectedTreeNode) isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1377
        builder aspectAt:#selectedTreeNode put:(holder :=  ValueHolder new).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1378
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1379
    ^ holder.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1380
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1381
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1382
!ProjectBrowser methodsFor:'change & update'!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1383
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1384
update:something with:aParameter from:changedObject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1385
    changedObject == self currentProject ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1386
        self halt
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1387
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1388
! !
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1389
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1390
!ProjectBrowser methodsFor:'initialization'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1391
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1392
postBuildWith:aBuiler
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1393
    self modifiedChannel value:false.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1394
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1395
    self setupCanvasForNoSelection.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1396
    ^ super postBuildWith:aBuiler
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1397
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1398
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1399
setupCanvasForNoSelection
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1400
    self 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1401
        showReadOnlyText:'Please select an existing project,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1402
load one from a (''.prj'')-file,
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1403
or create a new project.'.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1404
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1405
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1406
!ProjectBrowser methodsFor:'menus'!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1407
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1408
itemMenu
1052
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1409
    |m|
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1410
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1411
    self hasProjectNodeSelected ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1412
        ^ self class projectItemMenu
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1413
    ].      
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1414
    self hasSubProjectsNodeSelected ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1415
        ^ self class subProjectsItemMenu
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1416
    ].      
1052
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1417
    self hasClassesNodeSelected ifTrue:[
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1418
        ^ self class classesItemMenu
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1419
    ].      
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1420
    ^ self class noItemMenu
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1421
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1422
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1423
itemMenuHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1424
    ^ [ self itemMenu]
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1425
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1426
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1427
itemMenuPerformer
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1428
    ^ self
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1429
! !
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1430
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1431
!ProjectBrowser methodsFor:'private'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1432
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1433
currentProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1434
    |node|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1435
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1436
    node := self selectedTreeNode value.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1437
    node isNil ifTrue:[^ nil].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1438
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1439
    [node notNil and:[node isProjectNode not]] whileTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1440
        node := node parent.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1441
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1442
    node notNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1443
        ^ node contents
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1444
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1445
    ^ nil
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1446
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1447
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1448
1052
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1449
hasClassesNodeSelected
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1450
    |selectedNode|
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1451
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1452
    selectedNode := self selectedTreeNode value.
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1453
    selectedNode isNil ifTrue:[^ false].
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1454
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1455
    ^ selectedNode contents == #classes
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1456
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1457
!
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1458
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1459
hasProjectNodeSelected
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1460
    |selectedNode|
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1461
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1462
    selectedNode := self selectedTreeNode value.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1463
    selectedNode isNil ifTrue:[^ false].
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1464
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1465
    ^ selectedNode isProjectNode
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1466
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1467
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1468
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1469
hasSubProjectsNodeSelected
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1470
    |selectedNode|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1471
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1472
    selectedNode := self selectedTreeNode value.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1473
    selectedNode isNil ifTrue:[^ false].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1474
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1475
    ^ selectedNode contents == #subprojects
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1476
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1477
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1478
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1479
nodeFor:aProject
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1480
    "generate and return a treeNode for some project"
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1481
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1482
    |projectName pNode 
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1483
     propertiesNode docNode classesNode patchesNode subprojectsNode filesNode
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1484
     commentNode prerequisitesNode analysisNode designNode codeNode
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1485
     userDocNode userOverViewNode userGuideNode userRefManNode
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1486
     deploymentNode|
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1487
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1488
    projectName := aProject name.
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1489
    pNode := ProjectNode name:projectName.
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1490
    pNode contents:aProject.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1491
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1492
    pNode add:(commentNode := ProjectTreeItem name:'Comment').
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1493
"/    pNode add:(docNode := ProjectTreeItem name:'Documentation').
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1494
    pNode add:(propertiesNode := ProjectTreeItem name:'Properties').
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1495
    pNode add:(prerequisitesNode := ProjectTreeItem name:'Prerequisites').
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1496
"/    pNode add:(subprojectsNode := ProjectTreeItem name:'SubProjects').
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1497
    pNode add:(classesNode := ProjectTreeItem name:'Classes').
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1498
    pNode add:(patchesNode := ProjectTreeItem name:'Patches').
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1499
    pNode add:(filesNode := ProjectTreeItem name:'Files').
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1500
    pNode add:(deploymentNode := ProjectTreeItem name:'Deployment').
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1501
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1502
    subprojectsNode notNil ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1503
        subprojectsNode contents:#subprojects.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1504
        aProject subProjects do:[:aSubProject |
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1505
            subprojectsNode add:(self nodeFor:aSubProject)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1506
        ].
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1507
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1508
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1509
    commentNode icon:(self class commentIcon).
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1510
    commentNode action:[:item | self showCommentOf:item].
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1511
    commentNode contents:#comment.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1512
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1513
    docNode notNil ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1514
        docNode contents:#documentation.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1515
        docNode action:[:item | self showDocumentationFor:item].
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1516
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1517
        docNode add:(analysisNode := ProjectTreeItem name:'Analysis').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1518
        docNode add:(designNode := ProjectTreeItem name:'Design').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1519
        docNode add:(codeNode := ProjectTreeItem name:'Code').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1520
        docNode add:(userDocNode := ProjectTreeItem name:'User Documentation').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1521
        userDocNode add:(userOverViewNode := ProjectTreeItem name:'Overview').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1522
        userDocNode add:(userGuideNode := ProjectTreeItem name:'Guide').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1523
        userDocNode add:(userRefManNode := ProjectTreeItem name:'Reference').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1524
        docNode add:(userDocNode := ProjectTreeItem name:'Error Reports').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1525
        docNode add:(userDocNode := ProjectTreeItem name:'Other').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1526
    ].
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1527
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1528
    prerequisitesNode contents:#prerequisites.
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1529
    prerequisitesNode icon:(self class prerequisitesIcon).
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1530
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1531
    classesNode contents:#classes.
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1532
    classesNode icon:(self class classesIcon).
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1533
    ((aProject classes ? #()) copy sort:[:a :b | a name < b name]) 
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1534
    do:[:aClass |
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1535
        |cNode|
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1536
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1537
        cNode := ProjectTreeItem name:aClass name.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1538
        classesNode add:cNode.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1539
    ].
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1540
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1541
    propertiesNode contents:#properties.
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1542
    propertiesNode spec:(self class rightCanvasSpecForProperties).
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1543
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1544
    filesNode contents:#files.
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1545
    filesNode icon:(self class filesIcon).
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1546
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1547
    patchesNode contents:#patches.
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1548
    patchesNode icon:(self class methodsIcon).
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1549
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1550
    deploymentNode icon:(self class deploymentIcon).
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1551
    deploymentNode spec:(self class rightCanvasSpecForDeployment).
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1552
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1553
    ^ pNode
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1554
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1555
    "Modified: / 23.3.1999 / 14:27:30 / cg"
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1556
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1557
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1558
projectTree
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1559
    |tree root|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1560
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1561
    projectTree isNil ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1562
        tree := SelectionInTree new.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1563
        tree root:(root := TreeItem name:'invisibleRoot').
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1564
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1565
        Project knownProjects do:[:aProject |
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1566
            root add:(self nodeFor:aProject).
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1567
        ].
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1568
        projectTree := root.
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1569
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1570
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1571
    ^ projectTree
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1572
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1573
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1574
readAspectsFromProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1575
    |p|
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1576
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1577
    p := self currentProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1578
    p notNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1579
        self rightCanvasTextHolder value:p comment.
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1580
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1581
        self currentProjectWasNotLoadedFromFile value:p wasLoadedFromFile not.
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1582
        self projectType value:(p type).
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1583
        self projectDirectory value:(p directory).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1584
        modifiedChannel value:false.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1585
        p addDependent:self.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1586
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1587
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1588
    "Created: / 23.3.1999 / 14:16:12 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1589
    "Modified: / 23.3.1999 / 14:18:38 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1590
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1591
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1592
saveAspectsIntoProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1593
    |p|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1594
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1595
    p := self currentProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1596
    p notNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1597
"/        self currentProjectWasNotLoadedFromFile value:p wasLoadedFromFile not.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1598
"/        self projectType value:(p type).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1599
"/        self projectDirectory value:(p directory).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1600
"/        modifiedChannel value:false.
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1601
    ].
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1602
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1603
    "Created: / 23.3.1999 / 14:16:12 / cg"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1604
    "Modified: / 23.3.1999 / 14:18:38 / cg"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1605
!
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1606
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1607
updateRightCanvas
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1608
    |selectedNode nodeContents spec|
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1609
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1610
    selectedNode := self selectedTreeNode value.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1611
    selectedNode isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1612
        self setupCanvasForNoSelection.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1613
        ^ self
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1614
    ].
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1615
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1616
    (spec := selectedNode spec) notNil ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1617
        self currentCanvasHolder value:spec.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1618
        ^ self
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1619
    ].
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1620
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1621
    selectedNode isProjectNode ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1622
        self showCommentOf:selectedNode.
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1623
        ^ self.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1624
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1625
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1626
    selectedNode contents == #classes ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1627
        self showClassListOf:selectedNode.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1628
        ^ self.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1629
    ].
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1630
    selectedNode contents == #patches ifTrue:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1631
        self showPatchesListOf:selectedNode.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1632
        ^ self.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1633
    ].
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1634
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1635
    self currentCanvasHolder value:(self class emptyRightCanvasSpec).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1636
    self rightCanvasTextHolder value:''.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1637
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1638
    "Modified: / 23.3.1999 / 14:16:02 / cg"
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1639
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1640
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1641
!ProjectBrowser methodsFor:'private - table col access'!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1642
1038
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1643
classFilenameFromClassInfo:cInfo
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1644
    ^ cInfo classFileName
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1645
!
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1646
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1647
classIncludeConditionFromClassInfo:cInfo
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1648
    ^ cInfo conditionForInclusion
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1649
!
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1650
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1651
classNameFromClassInfo:cInfo
1038
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1652
    ^ cInfo className
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1653
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1654
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1655
classNameFromPatchesInfo:pInfo
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1656
    ^ pInfo methodClass name
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1657
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1658
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1659
selectorFromPatchesInfo:pInfo
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1660
    ^ pInfo methodSelector
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1661
! !
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1662
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1663
!ProjectBrowser methodsFor:'user actions'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1664
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1665
accept
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1666
    "save values from aspects into the project"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1667
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1668
    |p|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1669
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1670
    p := self currentProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1671
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1672
    self halt.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1673
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1674
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1675
cancel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1676
    "reload aspects from the project"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1677
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1678
    self readAspectsFromProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1679
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1680
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1681
itemSelected:index
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1682
    |item action|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1683
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1684
    self updateRightCanvas.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1685
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1686
    self readAspectsFromProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1687
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1688
    item := self projectTreeHolder value at:index.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1689
    action := item action.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1690
    action notNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1691
        action value:item.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1692
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1693
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1694
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1695
makeCurrentProject
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1696
    "make the selected Project the current project"
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1697
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1698
    |project selectedNode|
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1699
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1700
    self hasProjectNodeSelected ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1701
        selectedNode := self selectedTreeNode value.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1702
        project := selectedNode contents.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1703
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1704
        Project current:project.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1705
    ]
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1706
!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1707
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1708
newProject
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1709
    self newProject:Project new.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1710
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1711
!
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1712
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1713
newProject:newProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1714
    |newNode|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1715
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1716
    newNode := self nodeFor:newProject.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1717
    projectTree add:newNode.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1718
    self projectTreeHolder root:projectTree.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1719
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1720
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1721
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1722
newSubProject
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1723
    |selectedNode subProjectsNode newNode parentProject newProject|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1724
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1725
    selectedNode := self selectedTreeNode value.
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1726
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1727
    self hasProjectNodeSelected ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1728
        parentProject := selectedNode contents.
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1729
        subProjectsNode := selectedNode children detect:[:child | child contents == #subprojects].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1730
    ] ifFalse:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1731
        self hasSubProjectsNodeSelected ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1732
            subProjectsNode := selectedNode.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1733
            parentProject := selectedNode parent contents.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1734
        ].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1735
    ].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1736
self halt.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1737
    parentProject notNil ifTrue:[
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1738
        newProject := Project new.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1739
        newNode := self nodeFor:newProject.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1740
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1741
        parentProject addSubProject:newProject.
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1742
        subProjectsNode add:newNode.
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1743
        self projectTreeHolder root:projectTree.
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1744
        self projectTreeHolder selectNode:newNode.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1745
    ]    
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1746
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1747
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1748
openProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1749
    |fn newProject|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1750
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1751
    fn := Dialog 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1752
        requestFileName:'filename:' 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1753
        default:nil
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1754
        ifFail:nil
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1755
        pattern:'*.prj'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1756
        fromDirectory:(FileSelectionBox lastFileSelectionDirectory).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1757
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1758
    fn notNil ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1759
        newProject := Project new loadFromProjectFile:fn.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1760
        newProject notNil ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1761
            self newProject:newProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1762
        ]
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1763
    ]
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1764
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1765
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1766
removeProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1767
    |projectToRemove selectedNode subNode newNode parentNode parentProject newProject|
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1768
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1769
    self hasProjectNodeSelected ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1770
        selectedNode := self selectedTreeNode value.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1771
        projectToRemove := selectedNode contents.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1772
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1773
        (self confirm:'Really remove the project ?') ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1774
            self projectTreeHolder removeSelection
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1775
        ]
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1776
    ]
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1777
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1778
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1779
renameProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1780
    |nm selectedNode selectedProject|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1781
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1782
    self hasProjectNodeSelected ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1783
        selectedNode := self selectedTreeNode value.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1784
        selectedProject := selectedNode contents.
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1785
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1786
        nm := Dialog 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1787
                request:'Rename to:'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1788
                initialAnswer:selectedProject name.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1789
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1790
        nm size > 0 ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1791
            selectedProject name:nm.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1792
            selectedNode name:nm.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1793
            selectedNode changed.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1794
        ]
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1795
    ]
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1796
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1797
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1798
saveProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1799
    |d p|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1800
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1801
    p := self currentProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1802
    p directory isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1803
        d := (Dialog request:'Project Directory:').
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1804
        d size == 0 ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1805
            ^ self
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1806
        ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1807
        p directory:d
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1808
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1809
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1810
    p saveAsProjectFile.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1811
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1812
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1813
selectionChangeAllowed
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1814
    |answer|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1815
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1816
    modifiedChannel value ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1817
        answer := Dialog confirmWithCancel:'Accept changes ?'.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1818
        answer isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1819
            ^ false
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1820
        ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1821
        answer == true ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1822
            self accept.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1823
        ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1824
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1825
    ^ true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1826
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1827
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1828
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1829
showClassListOf:anItem
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1830
    |projectItem project classInfo l|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1831
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1832
    projectItem := anItem parent.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1833
    project := projectItem contents.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1834
1038
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1835
    classInfo := project classInfo asOrderedCollection.
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1836
    classInfo sort:[:a :b | a className < b className].
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1837
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1838
    l := self classList.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1839
    l removeAll.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1840
    l addAll:classInfo.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1841
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1842
    self currentCanvasHolder value:(self class rightCanvasSpecForClassList).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1843
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1844
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1845
showCommentOf:anItem
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1846
    |projectItem project|
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1847
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1848
    anItem contents == #comment ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1849
        projectItem := anItem parent
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1850
    ] ifFalse:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1851
        projectItem := anItem
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1852
    ].
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1853
    project := projectItem contents.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1854
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1855
    self currentCanvasHolder value:(self class rightCanvasSpecForEditableText).
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1856
    self rightCanvasTextHolder value:project comment.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1857
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1858
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1859
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1860
showDocumentationFor:anItem
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1861
    |projectItem project|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1862
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1863
    anItem contents == #documentation ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1864
        projectItem := anItem parent
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1865
    ] ifFalse:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1866
        projectItem := anItem
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1867
    ].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1868
    project := projectItem contents.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1869
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1870
    self currentCanvasHolder value:(self class rightCanvasSpecForHTMLText).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1871
    self htmlDocumentURLHolder value:project documentationURL.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1872
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1873
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1874
showPatchesListOf:anItem
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1875
    |projectItem project patches l|
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1876
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1877
    projectItem := anItem parent.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1878
    project := projectItem contents.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1879
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1880
    patches := project individualMethods.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1881
    patches := patches collect:[:m | m who].
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1882
    patches := patches sort:[:w1 :w2 |
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1883
                        w1 methodClass name < w2 methodClass name ifTrue:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1884
                            true
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1885
                        ] ifFalse:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1886
                            w1 methodClass name = w2 methodClass name ifFalse:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1887
                                false
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1888
                            ] ifTrue:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1889
                                w1 methodSelector < w2 methodSelector
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1890
                            ]
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1891
                        ]
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1892
                       ].
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1893
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1894
    l := self patchesList.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1895
    l removeAll.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1896
    l addAll:patches.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1897
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1898
    self currentCanvasHolder value:(self class rightCanvasSpecForPatchesList).
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1899
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1900
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1901
showReadOnlyText:someText
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1902
    self currentCanvasHolder value:(self class rightCanvasSpecForReadOnlyText).
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1903
    self rightCanvasTextHolder value:someText.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1904
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1905
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1906
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1907
!ProjectBrowser::ProjectTreeItem methodsFor:'accessing'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1908
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1909
action
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1910
    "return the value of the instance variable 'action' (automatically generated)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1911
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1912
    ^ action!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1913
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1914
action:something
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1915
    "set the value of the instance variable 'action' (automatically generated)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1916
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1917
    action := something.!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1918
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1919
spec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1920
    "return the value of the instance variable 'spec' (automatically generated)"
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1921
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1922
    ^ spec!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1923
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1924
spec:something
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1925
    "set the value of the instance variable 'spec' (automatically generated)"
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1926
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1927
    spec := something.! !
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1928
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1929
!ProjectBrowser::ProjectTreeItem methodsFor:'queries'!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1930
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1931
isProjectNode
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1932
    ^ false
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1933
! !
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1934
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1935
!ProjectBrowser::ProjectNode methodsFor:'queries'!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1936
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1937
isProjectNode
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1938
    ^ true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1939
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1940
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1941
! !
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1942
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1943
!ProjectBrowser class methodsFor:'documentation'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1944
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1945
version
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1946
    ^ '$Header$'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1947
! !