ProjectBrowser.st
author Claus Gittinger <cg@exept.de>
Wed, 24 Mar 1999 16:27:33 +0100
changeset 1085 a35169ceb247
parent 1081 b8f1b9924f40
child 1088 60edf3482db2
permissions -rw-r--r--
checkin from browser
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
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   253
              #label: 'NewApplication'
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   254
              #name: 'NewApplication'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   255
              #layout: #(#LayoutFrame 216 0 173 0 515 0 472 0)
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   256
              #level: 0
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
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   263
            )
1081
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)
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   271
                    #horizontalLayout: #fitSpace
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   272
                    #verticalLayout: #center
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   273
                    #horizontalSpace: 3
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   274
                    #verticalSpace: 3
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   275
                    #component: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   276
                     #(#SpecCollection
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   277
                        #collection: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   278
                         #(
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   279
                           #(#ActionButtonSpec
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   280
                              #label: 'Cancel'
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   281
                              #name: 'Button1'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   282
                              #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   283
                              #model: #cancel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   284
                              #enableChannel: #modifiedChannel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   285
                              #extent: #(#Point 145 22)
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   286
                            )
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   287
                           #(#ActionButtonSpec
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   288
                              #label: 'OK'
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   289
                              #name: 'Button2'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   290
                              #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   291
                              #model: #accept
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   292
                              #enableChannel: #modifiedChannel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   293
                              #extent: #(#Point 146 22)
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   294
                            )
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   295
                          )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   296
                      )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   297
                  )
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   298
                 #(#FramedBoxSpec
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   299
                    #label: 'Delivery'
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   300
                    #name: 'FramedBox1'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   301
                    #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 124 0)
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   302
                    #labelPosition: #topLeft
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   303
                    #translateLabel: true
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   304
                    #component: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   305
                     #(#SpecCollection
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   306
                        #collection: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   307
                         #(
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   308
                           #(#CheckBoxSpec
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   309
                              #label: 'Compiled Binary'
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   310
                              #name: 'CheckBox1'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   311
                              #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
   312
                              #model: #deliverCompiledBinary
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   313
                              #translateLabel: true
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   314
                            )
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   315
                           #(#CheckBoxSpec
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   316
                              #label: 'Zip Archive'
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   317
                              #name: 'CheckBox2'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   318
                              #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
   319
                              #model: #deliverZipArchive
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   320
                              #translateLabel: true
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   321
                            )
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   322
                           #(#CheckBoxSpec
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   323
                              #label: 'Sources'
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   324
                              #name: 'CheckBox3'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   325
                              #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
   326
                              #model: #deliverSources
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   327
                              #translateLabel: true
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   328
                            )
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   329
                          )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   330
                      )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   331
                  )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   332
                 #(#FramedBoxSpec
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   333
                    #label: 'Install Directory'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   334
                    #name: 'FramedBox2'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   335
                    #layout: #(#LayoutFrame 0 0.0 125 0 0 1.0 190 0)
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   336
                    #labelPosition: #topLeft
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   337
                    #translateLabel: true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   338
                    #component: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   339
                     #(#SpecCollection
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   340
                        #collection: 
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   341
                         #(
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   342
                           #(#InputFieldSpec
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   343
                              #name: 'EntryField1'
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   344
                              #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
   345
                              #model: #installDirectory
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   346
                              #modifiedChannel: #modifiedChannel
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   347
                            )
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   348
                          )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   349
                      )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   350
                  )
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
   351
                )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   352
            )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   353
        )
1081
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
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   690
            )
1025
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
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   700
                  )
1025
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
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   723
                            )
1025
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
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   729
                            )
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   730
                          )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   731
                      )
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   732
                    #handles: #(#Any 0.379433 1.0)
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
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
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   739
                  )
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
   740
                )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   741
            )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   742
        )
1025
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
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   800
    ^ 
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   801
     #(#Menu
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   802
        #(
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   803
         #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   804
            #label: 'File'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   805
            #translateLabel: true
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   806
            #submenu: 
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   807
           #(#Menu
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   808
              #(
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   809
               #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   810
                  #label: 'Load From...'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   811
                  #translateLabel: true
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   812
                  #value: #openProject
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   813
                )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   814
               #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   815
                  #label: '-'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   816
                )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   817
               #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   818
                  #label: 'Save'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   819
                  #translateLabel: true
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   820
                  #value: #saveProject
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   821
                  #enabled: #hasProjectSelectedHolder
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   822
                )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   823
               #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   824
                  #label: 'Save As...'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   825
                  #translateLabel: true
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   826
                  #value: #saveProjectAs
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   827
                  #enabled: #hasProjectSelectedHolder
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   828
                )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   829
               #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   830
                  #label: '-'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   831
                )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   832
               #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   833
                  #label: 'Exit'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   834
                  #translateLabel: true
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   835
                  #value: #closeRequest
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   836
                )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   837
               )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   838
              nil
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   839
              nil
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   840
            )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   841
          )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   842
         #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   843
            #label: 'Project'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   844
            #translateLabel: true
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   845
            #submenuChannel: #projectItemMenu
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   846
          )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   847
         #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   848
            #label: 'Help'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   849
            #translateLabel: true
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   850
            #startGroup: #right
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   851
            #submenu: 
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   852
           #(#Menu
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   853
              #(
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   854
               #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   855
                  #label: 'Documentation'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   856
                  #translateLabel: true
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   857
                  #value: #openDocumentation
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   858
                )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   859
               #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   860
                  #label: '-'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   861
                )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   862
               #(#MenuItem
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   863
                  #label: 'About this Application'
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   864
                  #translateLabel: true
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   865
                  #value: #openAboutThisApplication
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   866
                )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   867
               )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   868
              nil
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   869
              nil
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   870
            )
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   871
          )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   872
         )
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   873
        nil
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
   874
        nil
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   875
      )
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
menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   879
    "This resource specification was automatically generated
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   880
     by the MenuEditor of ST/X."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   881
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   882
    "Do not manually edit this!! If it is corrupted,
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   883
     the MenuEditor may not be able to read the specification."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   885
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   886
     MenuEditor new openOnClass:ProjectBrowser andSelector:#menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   887
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser menu)) startUp
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   888
    "
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   889
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   890
    <resource: #menu>
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   891
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
       #(#Menu
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   895
          
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   896
           #(
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   897
             #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   898
                #label: 'New...'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   899
                #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   900
                #isButton: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   901
                #value: #newProject
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   902
                #labelImage: #(#ResourceRetriever #Icon #newIcon)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   903
            )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   904
             #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   905
                #label: 'Open...'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   906
                #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   907
                #isButton: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   908
                #value: #openProject
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   909
                #labelImage: #(#ResourceRetriever #Icon #loadIcon)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   910
            )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
             #(#MenuItem
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   912
                #label: 'SaveAs...'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   913
                #translateLabel: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
                #isButton: true
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   915
                #value: #saveProject
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   916
                #labelImage: #(#ResourceRetriever #Icon #saveIcon)
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   917
            )
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
          ) nil
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
      )
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   921
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   922
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   923
noItemMenu
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   924
    "This resource specification was automatically generated
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   925
     by the MenuEditor of ST/X."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   926
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   927
    "Do not manually edit this!! If it is corrupted,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   928
     the MenuEditor may not be able to read the specification."
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   929
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
     MenuEditor new openOnClass:ProjectBrowser andSelector:#projectItemMenu
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   932
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser projectItemMenu)) startUp
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   933
    "
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
    <resource: #menu>
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   936
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
       #(#Menu
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   940
          
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
             #(#MenuItem
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   943
                #label: 'New Project'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   944
                #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   945
                #value: #newProject
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   946
            )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   947
          ) nil
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
      )
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
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   952
projectItemMenu
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   953
    "This resource specification was automatically generated
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   954
     by the MenuEditor of ST/X."
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   955
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   956
    "Do not manually edit this!! If it is corrupted,
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   957
     the MenuEditor may not be able to read the specification."
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   958
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
     MenuEditor new openOnClass:ProjectBrowser andSelector:#projectItemMenu
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   961
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser projectItemMenu)) startUp
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   962
    "
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
    <resource: #menu>
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   965
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
       #(#Menu
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   969
          
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
             #(#MenuItem
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   972
                #label: 'Make Current'
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   973
                #translateLabel: true
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   974
                #value: #makeCurrentProject
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   975
                #enabled: #hasProjectSelectedHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   976
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   977
             #(#MenuItem
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   978
                #label: '-'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   979
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   980
             #(#MenuItem
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   981
                #label: 'New Project'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   982
                #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   983
                #value: #newProject
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   984
            )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   985
             #(#MenuItem
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   986
                #label: 'New SubProject'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   987
                #translateLabel: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   988
                #value: #newSubProject
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   989
                #enabled: #hasProjectSelectedHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   990
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   991
             #(#MenuItem
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   992
                #label: '-'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   993
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
   994
             #(#MenuItem
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   995
                #label: 'Rename...'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   996
                #translateLabel: true
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   997
                #value: #renameProject
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   998
                #enabled: #hasProjectSelectedHolder
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
   999
            )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1000
             #(#MenuItem
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1001
                #label: '-'
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1002
            )
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1003
             #(#MenuItem
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1004
                #label: 'Remove...'
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1005
                #translateLabel: true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1006
                #value: #removeProject
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1007
                #enabled: #hasProjectSelectedHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1008
            )
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1009
          ) nil
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
      )
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1012
!
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
subProjectsItemMenu
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1015
    "This resource specification was automatically generated
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1016
     by the MenuEditor of ST/X."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1017
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1018
    "Do not manually edit this!! If it is corrupted,
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1019
     the MenuEditor may not be able to read the specification."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1020
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
     MenuEditor new openOnClass:ProjectBrowser andSelector:#subProjectsItemMenu
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1023
     (Menu new fromLiteralArrayEncoding:(ProjectBrowser subProjectsItemMenu)) startUp
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1024
    "
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
    <resource: #menu>
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1027
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
       #(#Menu
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1031
          
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
             #(#MenuItem
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1034
                #label: 'New SubProject'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1035
                #translateLabel: true
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1036
                #value: #newSubProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1037
                #enabled: #hasSubProjectsSelectedHolder
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1038
            )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1039
          ) nil
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
      )
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
!ProjectBrowser class methodsFor:'tableColumns specs'!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1045
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1046
classTableColumns
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1047
    "This resource specification was automatically generated
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1048
     by the DataSetBuilder of ST/X."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1049
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1050
    "Do not manually edit this!! If it is corrupted,
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1051
     the DataSetBuilder may not be able to read the specification."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1052
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
     DataSetBuilder new openOnClass:ProjectBrowser andSelector:#classTableColumns
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1055
    "
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
    <resource: #tableColumns>
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1058
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
        #(#DataSetColumnSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1062
           #label: 'Class'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1063
           #id: 'classColumn'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1064
           #labelAlignment: #left
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1065
           #model: #classNameFromClassInfo:
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1066
       )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1067
        #(#DataSetColumnSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1068
           #label: 'Included'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1069
           #id: 'inclusion'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1070
           #columnAlignment: #center
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1071
           #width: 100
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1072
           #editorType: #ComboList
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1073
           #model: #classIncludeConditionFromClassInfo:
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1074
       )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1075
        #(#DataSetColumnSpec
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1076
           #label: 'Filename'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1077
           #labelAlignment: #left
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1078
           #minWidth: 200
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1079
           #model: #classFilenameFromClassInfo:
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1080
       )
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1081
     )
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1082
!
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
patchesTableColumns
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1085
    "This resource specification was automatically generated
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1086
     by the DataSetBuilder of ST/X."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1087
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1088
    "Do not manually edit this!! If it is corrupted,
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1089
     the DataSetBuilder may not be able to read the specification."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1090
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
     DataSetBuilder new openOnClass:ProjectBrowser andSelector:#patchesTableColumns
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1093
    "
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
    <resource: #tableColumns>
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1096
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
        #(#DataSetColumnSpec
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1100
           #label: 'Class'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1101
           #id: 'classColumn'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1102
           #labelAlignment: #left
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1103
           #model: #classNameFromPatchesInfo:
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1104
       )
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1105
        #(#DataSetColumnSpec
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1106
           #label: 'Selector'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1107
           #id: 'selectorColumn'
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1108
           #labelAlignment: #left
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1109
           #model: #selectorFromPatchesInfo:
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1110
       )
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1111
     )
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1112
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
!ProjectBrowser methodsFor:'aspects'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1116
classList
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1117
    "automatically generated by UIPainter ..."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1118
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1119
    "*** the code below creates a default model when invoked."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1120
    "*** (which may not be the one you wanted)"
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1121
    "*** Please change as required and accept in the browser."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1122
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1123
    |holder|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1124
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1125
    (holder := builder bindingAt:#classList) isNil ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1126
        builder aspectAt:#classList put:(holder :=  List new).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1127
    ].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1128
    ^ holder.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1129
!
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
classTableAdaptor
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1132
    ^ self
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1133
!
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
classTableColumns
1038
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1136
    ^ self class classTableColumns
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1137
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1138
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
currentCanvasHolder
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
    "automatically generated by UIPainter ..."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
    "*** the code below creates a default model when invoked."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
    "*** (which may not be the one you wanted)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
    "*** Please change as required and accept in the browser."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1145
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
    |holder|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1147
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
    (holder := builder bindingAt:#currentCanvasHolder) isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1149
        builder aspectAt:#currentCanvasHolder put:(holder :=  ValueHolder new).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
    ^ holder.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1152
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1154
currentProjectWasNotLoadedFromFile
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1155
    "automatically generated by UIPainter ..."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1156
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1157
    "*** the code below creates a default model when invoked."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1158
    "*** (which may not be the one you wanted)"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1159
    "*** Please change as required and accept in the browser."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1160
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1161
    |holder|
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1162
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1163
    (holder := builder bindingAt:#currentProjectWasNotLoadedFromFile) isNil ifTrue:[
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1164
        builder aspectAt:#currentProjectWasNotLoadedFromFile put:(holder :=  ValueHolder new).
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1165
    ].
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1166
    ^ holder.
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1167
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1168
    "Created: / 23.3.1999 / 14:01:09 / cg"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1169
!
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1170
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1171
deliverCompiledBinary
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1172
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1173
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1174
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1175
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1176
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1177
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1178
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1179
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1180
    (holder := builder bindingAt:#deliverCompiledBinary) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1181
        builder aspectAt:#deliverCompiledBinary put:(holder :=  ValueHolder new).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1182
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1183
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1184
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1185
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1186
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1187
!
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
deliverSources
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1190
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1191
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1192
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1193
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1194
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1195
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1196
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1197
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1198
    (holder := builder bindingAt:#deliverSources) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1199
        builder aspectAt:#deliverSources put:(holder :=  ValueHolder new).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1200
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1201
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1202
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1203
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1204
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1205
!
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
deliverZipArchive
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1208
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1209
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1210
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1211
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1212
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1213
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1214
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1215
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1216
    (holder := builder bindingAt:#deliverZipArchive) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1217
        builder aspectAt:#deliverZipArchive put:(holder :=  ValueHolder new).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1218
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1219
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1220
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1221
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1222
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1223
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1224
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1225
hasProjectSelectedHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1226
    ^ [
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1227
        self hasProjectNodeSelected
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1228
      ]
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
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1231
hasSubProjectsSelectedHolder
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1232
    ^ [
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1233
        self hasSubProjectsNodeSelected
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1234
      ]
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
htmlDocumentURLHolder
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1238
    "automatically generated by UIPainter ..."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1239
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1240
    "*** the code below creates a default model when invoked."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1241
    "*** (which may not be the one you wanted)"
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1242
    "*** Please change as required and accept in the browser."
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1243
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1244
    |holder|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1245
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1246
    (holder := builder bindingAt:#htmlDocumentURLHolder) isNil ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1247
        builder aspectAt:#htmlDocumentURLHolder put:(holder :=  ValueHolder new).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1248
    ].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1249
    ^ holder.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1250
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1251
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1252
installDirectory
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1253
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1254
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1255
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1256
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1257
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1258
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1259
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1260
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1261
    (holder := builder bindingAt:#installDirectory) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1262
        builder aspectAt:#installDirectory put:(holder := '/opt' asValue).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1263
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1264
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1265
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1266
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1267
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1268
!
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
modifiedChannel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1271
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1272
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1273
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1274
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1275
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1276
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1277
    modifiedChannel isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1278
        modifiedChannel := false asValue.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1279
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1280
    ^ modifiedChannel.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1281
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
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1284
patchesList
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1285
    "automatically generated by UIPainter ..."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1286
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1287
    "*** the code below creates a default model when invoked."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1288
    "*** (which may not be the one you wanted)"
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1289
    "*** Please change as required and accept in the browser."
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1290
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1291
    |holder|
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1292
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1293
    (holder := builder bindingAt:#patchesList) isNil ifTrue:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1294
        builder aspectAt:#patchesList put:(holder :=  List new).
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1295
    ].
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1296
    ^ holder.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1297
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1298
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1299
projectDirectory
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1300
    "automatically generated by UIPainter ..."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1301
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1302
    "*** the code below creates a default model when invoked."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1303
    "*** (which may not be the one you wanted)"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1304
    "*** Please change as required and accept in the browser."
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1305
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1306
    |holder|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1307
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1308
    (holder := builder bindingAt:#projectDirectory) isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1309
        builder aspectAt:#projectDirectory put:(holder := '.' asValue).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1310
        holder onChangeSend:#value to:[modifiedChannel value:true].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1311
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1312
    ^ holder.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1313
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1314
    "Created: / 23.3.1999 / 14:18:05 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1315
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1316
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1317
projectTreeHolder
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1318
    "automatically generated by UIPainter ..."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1319
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1320
    "*** the code below creates a default model when invoked."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1321
    "*** (which may not be the one you wanted)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1322
    "*** Please change as required and accept in the browser."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1323
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1324
    |holder|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1325
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1326
    (holder := builder bindingAt:#projectTree) isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1327
        builder aspectAt:#projectTree put:(holder :=  SelectionInTree new).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1328
        holder root:self projectTree.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1329
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1330
    ^ holder.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1331
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1332
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1333
projectType
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1334
    "automatically generated by UIPainter ..."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1335
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1336
    "*** the code below creates a default model when invoked."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1337
    "*** (which may not be the one you wanted)"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1338
    "*** Please change as required and accept in the browser."
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1339
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1340
    |holder|
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1341
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1342
    (holder := builder bindingAt:#projectType) isNil ifTrue:[
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1343
        builder aspectAt:#projectType put:(holder :=  ValueHolder new).
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1344
        holder onChangeSend:#value to:[modifiedChannel value:true].
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1345
    ].
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1346
    ^ holder.
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1347
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1348
    "Created: / 23.3.1999 / 14:18:05 / cg"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1349
!
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1350
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1351
rightCanvasTextHolder
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1352
    "automatically generated by UIPainter ..."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1353
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1354
    "*** the code below creates a default model when invoked."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1355
    "*** (which may not be the one you wanted)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1356
    "*** Please change as required and accept in the browser."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1357
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1358
    |holder|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1359
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1360
    (holder := builder bindingAt:#rightCanvasTextHolder) isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1361
        builder aspectAt:#rightCanvasTextHolder put:(holder :=  ValueHolder new).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1362
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1363
    ^ holder.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1364
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1365
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1366
selectedTreeNode
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1367
    "automatically generated by UIPainter ..."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1368
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1369
    "*** the code below creates a default model when invoked."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1370
    "*** (which may not be the one you wanted)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1371
    "*** Please change as required and accept in the browser."
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1372
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1373
    |holder|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1374
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1375
    (holder := builder bindingAt:#selectedTreeNode) isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1376
        builder aspectAt:#selectedTreeNode put:(holder :=  ValueHolder new).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1377
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1378
    ^ holder.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1379
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1380
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1381
!ProjectBrowser methodsFor:'change & update'!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1382
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1383
update:something with:aParameter from:changedObject
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1384
    something == #name ifTrue:[
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1385
        "/ a project was renamed - update my tree
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1386
        self projectTree children do:[:pNode |
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1387
            pNode contents == changedObject ifTrue:[
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1388
                pNode name:changedObject name.
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1389
                pNode changed.
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1390
            ]
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1391
        ].
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1392
        ^ self.
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1393
    ].
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1394
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1395
    changedObject == self currentProject ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1396
        self halt
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1397
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1398
! !
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1399
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1400
!ProjectBrowser methodsFor:'initialization'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1401
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1402
postBuildWith:aBuiler
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1403
    self modifiedChannel value:false.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1404
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1405
    self setupCanvasForNoSelection.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1406
    ^ super postBuildWith:aBuiler
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1407
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1408
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1409
setupCanvasForNoSelection
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1410
    self 
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1411
        showReadOnlyText:'Please select an existing project,
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1412
load one from a (''.prj'')-file,
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1413
or create a new project.'.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1414
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1415
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1416
!ProjectBrowser methodsFor:'menus'!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1417
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1418
itemMenu
1052
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1419
    |m|
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1420
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1421
    self hasProjectNodeSelected ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1422
        ^ self class projectItemMenu
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1423
    ].      
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1424
    self hasSubProjectsNodeSelected ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1425
        ^ self class subProjectsItemMenu
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1426
    ].      
1052
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1427
    self hasClassesNodeSelected ifTrue:[
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1428
        ^ self class classesItemMenu
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1429
    ].      
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1430
    ^ self class noItemMenu
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1431
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1432
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1433
itemMenuHolder
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1434
    ^ [ self itemMenu]
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1435
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1436
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1437
itemMenuPerformer
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1438
    ^ self
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1439
! !
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1440
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1441
!ProjectBrowser methodsFor:'private'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1442
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1443
currentProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1444
    |node|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1445
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1446
    node := self selectedTreeNode value.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1447
    node isNil ifTrue:[^ nil].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1448
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1449
    [node notNil and:[node isProjectNode not]] whileTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1450
        node := node parent.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1451
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1452
    node notNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1453
        ^ node contents
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1454
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1455
    ^ nil
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1456
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1457
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1458
1052
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1459
hasClassesNodeSelected
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1460
    |selectedNode|
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1461
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1462
    selectedNode := self selectedTreeNode value.
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1463
    selectedNode isNil ifTrue:[^ false].
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1464
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1465
    ^ selectedNode contents == #classes
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1466
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1467
!
2b65eda2938e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1043
diff changeset
  1468
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1469
hasProjectNodeSelected
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1470
    |selectedNode|
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1471
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1472
    selectedNode := self selectedTreeNode value.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1473
    selectedNode isNil ifTrue:[^ false].
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1474
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1475
    ^ selectedNode isProjectNode
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1476
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1477
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1478
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1479
hasSubProjectsNodeSelected
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1480
    |selectedNode|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1481
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1482
    selectedNode := self selectedTreeNode value.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1483
    selectedNode isNil ifTrue:[^ false].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1484
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1485
    ^ selectedNode contents == #subprojects
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1486
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1487
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1488
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1489
nodeFor:aProject
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1490
    "generate and return a treeNode for some project"
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1491
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1492
    |projectName pNode 
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1493
     propertiesNode docNode classesNode patchesNode subprojectsNode filesNode
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1494
     commentNode prerequisitesNode analysisNode designNode codeNode
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1495
     userDocNode userOverViewNode userGuideNode userRefManNode
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1496
     deploymentNode|
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1497
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1498
    projectName := aProject name.
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1499
    pNode := ProjectNode name:projectName.
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1500
    pNode contents:aProject.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1501
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1502
    pNode add:(commentNode := ProjectTreeItem name:'Comment').
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1503
"/    pNode add:(docNode := ProjectTreeItem name:'Documentation').
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1504
    pNode add:(propertiesNode := ProjectTreeItem name:'Properties').
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1505
    pNode add:(prerequisitesNode := ProjectTreeItem name:'Prerequisites').
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1506
"/    pNode add:(subprojectsNode := ProjectTreeItem name:'SubProjects').
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1507
    pNode add:(classesNode := ProjectTreeItem name:'Classes').
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1508
    pNode add:(patchesNode := ProjectTreeItem name:'Patches').
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1509
    pNode add:(filesNode := ProjectTreeItem name:'Files').
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1510
    pNode add:(deploymentNode := ProjectTreeItem name:'Deployment').
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1511
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1512
    subprojectsNode notNil ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1513
        subprojectsNode contents:#subprojects.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1514
        aProject subProjects do:[:aSubProject |
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1515
            subprojectsNode add:(self nodeFor:aSubProject)
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1516
        ].
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1517
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1518
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1519
    commentNode icon:(self class commentIcon).
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1520
    commentNode action:[:item | self showCommentOf:item].
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1521
    commentNode contents:#comment.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1522
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1523
    docNode notNil ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1524
        docNode contents:#documentation.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1525
        docNode action:[:item | self showDocumentationFor:item].
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1526
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1527
        docNode add:(analysisNode := ProjectTreeItem name:'Analysis').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1528
        docNode add:(designNode := ProjectTreeItem name:'Design').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1529
        docNode add:(codeNode := ProjectTreeItem name:'Code').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1530
        docNode add:(userDocNode := ProjectTreeItem name:'User Documentation').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1531
        userDocNode add:(userOverViewNode := ProjectTreeItem name:'Overview').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1532
        userDocNode add:(userGuideNode := ProjectTreeItem name:'Guide').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1533
        userDocNode add:(userRefManNode := ProjectTreeItem name:'Reference').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1534
        docNode add:(userDocNode := ProjectTreeItem name:'Error Reports').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1535
        docNode add:(userDocNode := ProjectTreeItem name:'Other').
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1536
    ].
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1537
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1538
    prerequisitesNode contents:#prerequisites.
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1539
    prerequisitesNode icon:(self class prerequisitesIcon).
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1540
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1541
    classesNode contents:#classes.
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1542
    classesNode icon:(self class classesIcon).
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1543
    ((aProject classes ? #()) copy sort:[:a :b | a name < b name]) 
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1544
    do:[:aClass |
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1545
        |cNode|
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1546
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1547
        cNode := ProjectTreeItem name:aClass name.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1548
        classesNode add:cNode.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1549
    ].
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1550
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1551
    propertiesNode contents:#properties.
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1552
    propertiesNode spec:(self class rightCanvasSpecForProperties).
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1553
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1554
    filesNode contents:#files.
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1555
    filesNode icon:(self class filesIcon).
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1556
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1557
    patchesNode contents:#patches.
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1558
    patchesNode icon:(self class methodsIcon).
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1559
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1560
    deploymentNode icon:(self class deploymentIcon).
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1561
    deploymentNode spec:(self class rightCanvasSpecForDeployment).
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1562
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1563
    ^ pNode
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1564
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1565
    "Modified: / 23.3.1999 / 14:27:30 / cg"
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1566
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1567
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1568
projectTree
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1569
    |tree root|
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 isNil ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1572
        tree := SelectionInTree new.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1573
        tree root:(root := TreeItem name:'invisibleRoot').
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1574
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1575
        Project knownProjects do:[:aProject |
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1576
            root add:(self nodeFor:aProject).
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1577
        ].
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1578
        projectTree := root.
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1579
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1580
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1581
    ^ projectTree
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1582
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1583
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1584
readAspectsFromProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1585
    |p|
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1586
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1587
    p := self currentProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1588
    p notNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1589
        self rightCanvasTextHolder value:p comment.
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1590
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1591
        self currentProjectWasNotLoadedFromFile value:p wasLoadedFromFile not.
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1592
        self projectType value:(p type).
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1593
        self projectDirectory value:(p directory).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1594
        modifiedChannel value:false.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1595
        p addDependent:self.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1596
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1597
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1598
    "Created: / 23.3.1999 / 14:16:12 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1599
    "Modified: / 23.3.1999 / 14:18:38 / cg"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1600
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1601
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1602
saveAspectsIntoProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1603
    |p|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1604
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1605
    p := self currentProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1606
    p notNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1607
"/        self currentProjectWasNotLoadedFromFile value:p wasLoadedFromFile not.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1608
"/        self projectType value:(p type).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1609
"/        self projectDirectory value:(p directory).
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1610
"/        modifiedChannel value:false.
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1611
    ].
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1612
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1613
    "Created: / 23.3.1999 / 14:16:12 / cg"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1614
    "Modified: / 23.3.1999 / 14:18:38 / cg"
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1615
!
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1616
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1617
updateRightCanvas
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1618
    |selectedNode nodeContents spec|
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1619
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1620
    selectedNode := self selectedTreeNode value.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1621
    selectedNode isNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1622
        self setupCanvasForNoSelection.
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
    ].
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1625
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1626
    (spec := selectedNode spec) notNil ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1627
        self currentCanvasHolder value:spec.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1628
        ^ self
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1629
    ].
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1630
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1631
    selectedNode isProjectNode ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1632
        self showCommentOf:selectedNode.
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1633
        ^ self.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1634
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1635
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1636
    selectedNode contents == #classes ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1637
        self showClassListOf:selectedNode.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1638
        ^ self.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1639
    ].
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1640
    selectedNode contents == #patches ifTrue:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1641
        self showPatchesListOf:selectedNode.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1642
        ^ self.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1643
    ].
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1644
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1645
    self currentCanvasHolder value:(self class emptyRightCanvasSpec).
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1646
    self rightCanvasTextHolder value:''.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1647
1080
98b04ef482dc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1079
diff changeset
  1648
    "Modified: / 23.3.1999 / 14:16:02 / cg"
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1649
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1650
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1651
!ProjectBrowser methodsFor:'private - table col access'!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1652
1038
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1653
classFilenameFromClassInfo:cInfo
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1654
    ^ cInfo classFileName
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1655
!
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1656
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1657
classIncludeConditionFromClassInfo:cInfo
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1658
    ^ cInfo conditionForInclusion
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1659
!
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1660
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1661
classNameFromClassInfo:cInfo
1038
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1662
    ^ cInfo className
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1663
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1664
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1665
classNameFromPatchesInfo:pInfo
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1666
    ^ pInfo methodClass name
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1667
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1668
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1669
selectorFromPatchesInfo:pInfo
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1670
    ^ pInfo methodSelector
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1671
! !
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1672
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1673
!ProjectBrowser methodsFor:'user actions'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1674
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1675
accept
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1676
    "save values from aspects into 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
    |p|
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
    p := self currentProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1681
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1682
    self halt.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1683
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1684
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1685
cancel
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1686
    "reload aspects from the project"
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1687
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1688
    self readAspectsFromProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1689
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1690
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1691
itemSelected:index
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1692
    |item action|
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1693
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1694
    self updateRightCanvas.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1695
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1696
    self readAspectsFromProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1697
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1698
    item := self projectTreeHolder value at:index.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1699
    action := item action.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1700
    action notNil ifTrue:[
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1701
        action value:item.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1702
    ].
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1703
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1704
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1705
makeCurrentProject
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1706
    "make the selected Project the current project"
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1707
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1708
    |project selectedNode|
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1709
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1710
    self hasProjectNodeSelected ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1711
        selectedNode := self selectedTreeNode value.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1712
        project := selectedNode contents.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1713
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1714
        Project current:project.
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1715
    ]
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1716
!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1717
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1718
newProject
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1719
    self newProject:Project new.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1720
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1721
!
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1722
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1723
newProject:newProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1724
    |newNode|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1725
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1726
    newNode := self nodeFor:newProject.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1727
    projectTree add:newNode.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1728
    self projectTreeHolder root:projectTree.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1729
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1730
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1731
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1732
newSubProject
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1733
    |selectedNode subProjectsNode newNode parentProject newProject|
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
    selectedNode := self selectedTreeNode value.
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1736
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1737
    self hasProjectNodeSelected ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1738
        parentProject := selectedNode contents.
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1739
        subProjectsNode := selectedNode children detect:[:child | child contents == #subprojects].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1740
    ] ifFalse:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1741
        self hasSubProjectsNodeSelected ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1742
            subProjectsNode := selectedNode.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1743
            parentProject := selectedNode parent contents.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1744
        ].
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
self halt.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1747
    parentProject notNil ifTrue:[
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1748
        newProject := Project new.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1749
        newNode := self nodeFor:newProject.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1750
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1751
        parentProject addSubProject:newProject.
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1752
        subProjectsNode add:newNode.
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1753
        self projectTreeHolder root:projectTree.
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1754
        self projectTreeHolder selectNode:newNode.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1755
    ]    
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1756
!
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
openProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1759
    |fn newProject|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1760
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1761
    fn := Dialog 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1762
        requestFileName:'filename:' 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1763
        default:nil
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1764
        ifFail:nil
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1765
        pattern:'*.prj'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1766
        fromDirectory:(FileSelectionBox lastFileSelectionDirectory).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1767
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1768
    fn notNil ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1769
        newProject := Project new loadFromProjectFile:fn.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1770
        newProject notNil ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1771
            self newProject:newProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1772
        ]
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1773
    ]
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1774
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1775
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1776
removeProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1777
    |projectToRemove selectedNode subNode newNode parentNode parentProject newProject|
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1778
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1779
    self hasProjectNodeSelected ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1780
        selectedNode := self selectedTreeNode value.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1781
        projectToRemove := selectedNode contents.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1782
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1783
        (self confirm:'Really remove the project ?') ifTrue:[
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1784
            self projectTreeHolder removeSelection
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1785
        ]
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1786
    ]
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1787
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1788
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1789
renameProject
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1790
    |nm selectedNode selectedProject|
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1791
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1792
    self hasProjectNodeSelected ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1793
        selectedNode := self selectedTreeNode value.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1794
        selectedProject := selectedNode contents.
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1795
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1796
        nm := Dialog 
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1797
                request:'Rename to:'
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1798
                initialAnswer:selectedProject name.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1799
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1800
        nm size > 0 ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1801
            selectedProject name:nm.
1085
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1802
"/            selectedNode name:nm.
a35169ceb247 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1081
diff changeset
  1803
"/            selectedNode changed.
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1804
        ]
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1805
    ]
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1806
!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1807
1081
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1808
saveProject
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1809
    |d p|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1810
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1811
    p := self currentProject.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1812
    p directory isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1813
        d := (Dialog request:'Project Directory:').
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1814
        d size == 0 ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1815
            ^ self
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1816
        ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1817
        p directory:d
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1818
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1819
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1820
    p saveAsProjectFile.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1821
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1822
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1823
selectionChangeAllowed
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1824
    |answer|
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1825
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1826
    modifiedChannel value ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1827
        answer := Dialog confirmWithCancel:'Accept changes ?'.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1828
        answer isNil ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1829
            ^ false
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1830
        ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1831
        answer == true ifTrue:[
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1832
            self accept.
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1833
        ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1834
    ].
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1835
    ^ true
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1836
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1837
!
b8f1b9924f40 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1080
diff changeset
  1838
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1839
showClassListOf:anItem
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1840
    |projectItem project classInfo l|
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
    projectItem := anItem parent.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1843
    project := projectItem contents.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1844
1038
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1845
    classInfo := project classInfo asOrderedCollection.
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1846
    classInfo sort:[:a :b | a className < b className].
41da0e38af84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1847
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1848
    l := self classList.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1849
    l removeAll.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1850
    l addAll:classInfo.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1851
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1852
    self currentCanvasHolder value:(self class rightCanvasSpecForClassList).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1853
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1854
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1855
showCommentOf:anItem
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1856
    |projectItem project|
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1857
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1858
    anItem contents == #comment ifTrue:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1859
        projectItem := anItem parent
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1860
    ] ifFalse:[
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1861
        projectItem := anItem
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1862
    ].
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1863
    project := projectItem contents.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1864
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1865
    self currentCanvasHolder value:(self class rightCanvasSpecForEditableText).
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1866
    self rightCanvasTextHolder value:project comment.
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1867
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1868
!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1869
1037
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1870
showDocumentationFor:anItem
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1871
    |projectItem project|
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
    anItem contents == #documentation ifTrue:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1874
        projectItem := anItem parent
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1875
    ] ifFalse:[
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1876
        projectItem := anItem
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1877
    ].
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1878
    project := projectItem contents.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1879
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1880
    self currentCanvasHolder value:(self class rightCanvasSpecForHTMLText).
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1881
    self htmlDocumentURLHolder value:project documentationURL.
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1882
!
3a75844e668a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1026
diff changeset
  1883
1043
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1884
showPatchesListOf:anItem
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1885
    |projectItem project patches l|
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1886
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1887
    projectItem := anItem parent.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1888
    project := projectItem contents.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1889
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1890
    patches := project individualMethods.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1891
    patches := patches collect:[:m | m who].
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1892
    patches := patches sort:[:w1 :w2 |
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1893
                        w1 methodClass name < w2 methodClass name ifTrue:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1894
                            true
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1895
                        ] ifFalse:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1896
                            w1 methodClass name = w2 methodClass name ifFalse:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1897
                                false
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1898
                            ] ifTrue:[
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1899
                                w1 methodSelector < w2 methodSelector
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1900
                            ]
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1901
                        ]
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1902
                       ].
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1903
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1904
    l := self patchesList.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1905
    l removeAll.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1906
    l addAll:patches.
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1907
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1908
    self currentCanvasHolder value:(self class rightCanvasSpecForPatchesList).
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1909
!
8414736f8846 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1038
diff changeset
  1910
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1911
showReadOnlyText:someText
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1912
    self currentCanvasHolder value:(self class rightCanvasSpecForReadOnlyText).
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1913
    self rightCanvasTextHolder value:someText.
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1914
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1915
! !
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1916
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1917
!ProjectBrowser::ProjectTreeItem methodsFor:'accessing'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1918
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1919
action
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1920
    "return the value of the instance variable 'action' (automatically generated)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1921
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1922
    ^ action!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1923
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1924
action:something
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1925
    "set the value of the instance variable 'action' (automatically generated)"
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1926
1079
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1927
    action := something.!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1928
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1929
spec
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1930
    "return the value of the instance variable 'spec' (automatically generated)"
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1931
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1932
    ^ spec!
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1933
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1934
spec:something
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1935
    "set the value of the instance variable 'spec' (automatically generated)"
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1936
deda6cdfe287 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1052
diff changeset
  1937
    spec := something.! !
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1938
1026
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1939
!ProjectBrowser::ProjectTreeItem methodsFor:'queries'!
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
isProjectNode
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1942
    ^ false
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1943
! !
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1944
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1945
!ProjectBrowser::ProjectNode methodsFor:'queries'!
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1946
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1947
isProjectNode
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1948
    ^ true
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1949
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1950
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1951
! !
ee8a738cd35d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1025
diff changeset
  1952
1025
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1953
!ProjectBrowser class methodsFor:'documentation'!
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1954
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1955
version
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1956
    ^ '$Header$'
33c3db52cdc8 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1957
! !