MercurialSourceCodeManagementSettingsAppl.st
branchjv
changeset 12431 9f0c59c742d5
parent 12401 4714b9640528
child 13289 cc75e3cd0362
equal deleted inserted replaced
12430:4579351ee2cb 12431:9f0c59c742d5
    47 
    47 
    48     Extracted for pluggability from SourceCodeManagerSettings in the AbstractSettingsApplication.
    48     Extracted for pluggability from SourceCodeManagerSettings in the AbstractSettingsApplication.
    49 "
    49 "
    50 ! !
    50 ! !
    51 
    51 
    52 
       
    53 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'defaults'!
    52 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'defaults'!
    54 
    53 
    55 defaultRepositoryName
    54 defaultRepositoryName
    56 
    55 
    57     ^ './hgRepository'
    56     ^ './hgRepository'
    58 
    57 
    59     "Created: / 19-04-2011 / 11:00:11 / cg"
    58     "Created: / 19-04-2011 / 11:00:11 / cg"
    60 ! !
    59 ! !
    61 
       
    62 
    60 
    63 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'help specs'!
    61 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'help specs'!
    64 
    62 
    65 helpSpec
    63 helpSpec
    66     "This resource specification was automatically generated
    64     "This resource specification was automatically generated
   190 
   188 
   191 )
   189 )
   192 
   190 
   193     "Modified: / 09-08-2012 / 09:41:11 / cg"
   191     "Modified: / 09-08-2012 / 09:41:11 / cg"
   194 ! !
   192 ! !
   195 
       
   196 
   193 
   197 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'image specs'!
   194 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'image specs'!
   198 
   195 
   199 defaultIcon
   196 defaultIcon
   200     ^ self defaultIcon3
   197     ^ self defaultIcon3
   280 @@@SF!!<_@@$HB@ HB@0FH@L@@BDI@AH:N#\7HP@O@BHIB@ HB@LFH0H@@@@ABS\:N#(:M0@!!A@@DB@ HCA0OI@8@@@@@M#(:@A\@@C\@@@XDB@ HBP8%I D@
   277 @@@SF!!<_@@$HB@ HB@0FH@L@@BDI@AH:N#\7HP@O@BHIB@ HB@LFH0H@@@@ABS\:N#(:M0@!!A@@DB@ HCA0OI@8@@@@@M#(:@A\@@C\@@@XDB@ HBP8%I D@
   281 @@@@M3 7A@$D@P@@@@8IB@ LC P''C0@@@C\7N#$:N0 HOA0@@@8LA@XA@Q<Y@0@@@@@7NS(7B@ <OC0@@@PCB" JC2T[@@@@@@@@M4@LBC0?O38<@@P)JB$I
   278 @@@@M3 7A@$D@P@@@@8IB@ LC P''C0@@@C\7N#$:N0 HOA0@@@8LA@XA@Q<Y@0@@@@@7NS(7B@ <OC0@@@PCB" JC2T[@@@@@@@@M4@LBC0?O38<@@P)JB$I
   282 J!!HA@@@@@@@@@B,LOC0=OC0<A XACQP-F0L@@@@@@@@<@@(RK"T<O@@@BA,/LCD@L @@@@@@@@@@OC0<OC0<MP@@@QTTC@ 3@@@@@@@@@@@@@C4<OC05@@@@
   279 J!!HA@@@@@@@@@B,LOC0=OC0<A XACQP-F0L@@@@@@@@<@@(RK"T<O@@@BA,/LCD@L @@@@@@@@@@OC0<OC0<MP@@@QTTC@ 3@@@@@@@@@@@@@C4<OC05@@@@
   283 @CP\L0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[174 169 169 255 255 255 233 233 230 216 216 216 213 209 209 214 209 209 232 229 229 229 223 223 191 187 181 197 197 197 255 255 255 233 230 230 194 189 194 247 244 245 251 250 250 177 177 177 255 255 255 194 189 194 155 149 149 175 175 169 157 157 157 136 128 128 251 251 251 255 255 255 117 108 108 118 118 118 97 89 98 139 139 147 240 240 242 255 255 255 137 128 118 98 98 98 79 79 79 255 255 255 156 149 156 38 30 30 39 39 30 97 89 79 79 69 69 58 49 49 255 255 255 255 255 255 77 59 59 229 226 223 137 137 128 79 79 69 77 69 69 59 59 59 59 49 59 154 140 147 199 199 204 251 251 251 255 255 255 0 0 0 0 64 0 32 96 32 96 192 128 32 128 64 32 160 64 32 128 32 64 64 64 96 96 96 128 128 128 32 32 32 32 64 32]; mask:((Depth1Image new) width: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@G>@@O? @_?0@??8@??8@??<@??<O??>__?>_O?>_??>O=?>GR_>G<_<_>_<O>_8G?_8C??0K<? G<?@C8\@@@@@') ; yourself); yourself]
   280 @CP\L0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[174 169 169 255 255 255 233 233 230 216 216 216 213 209 209 214 209 209 232 229 229 229 223 223 191 187 181 197 197 197 255 255 255 233 230 230 194 189 194 247 244 245 251 250 250 177 177 177 255 255 255 194 189 194 155 149 149 175 175 169 157 157 157 136 128 128 251 251 251 255 255 255 117 108 108 118 118 118 97 89 98 139 139 147 240 240 242 255 255 255 137 128 118 98 98 98 79 79 79 255 255 255 156 149 156 38 30 30 39 39 30 97 89 79 79 69 69 58 49 49 255 255 255 255 255 255 77 59 59 229 226 223 137 137 128 79 79 69 77 69 69 59 59 59 59 49 59 154 140 147 199 199 204 251 251 251 255 255 255 0 0 0 0 64 0 32 96 32 96 192 128 32 128 64 32 160 64 32 128 32 64 64 64 96 96 96 128 128 128 32 32 32 32 64 32]; mask:((Depth1Image new) width: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@G>@@O? @_?0@??8@??8@??<@??<O??>__?>_O?>_??>O=?>GR_>G<_<_>_<O>_8G?_8C??0K<? G<?@C8\@@@@@') ; yourself); yourself]
   284 ! !
   281 ! !
   285 
       
   286 
   282 
   287 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'interface specs'!
   283 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'interface specs'!
   288 
   284 
   289 windowSpec
   285 windowSpec
   290     "This resource specification was automatically generated
   286     "This resource specification was automatically generated
   805          
   801          
   806         )
   802         )
   807       )
   803       )
   808 ! !
   804 ! !
   809 
   805 
   810 
       
   811 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'queries'!
   806 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'queries'!
   812 
   807 
   813 managerClass
   808 managerClass
   814     "backlink to my manager class (needed by the settings app)"
   809     "backlink to my manager class (needed by the settings app)"
   815 
   810 
   816     ^ MercurialSourceCodeManager
   811     ^ MercurialSourceCodeManager
   817 
   812 
   818     "Created: / 19-04-2011 / 12:46:52 / cg"
   813     "Created: / 19-04-2011 / 12:46:52 / cg"
   819 ! !
   814 ! !
   820 
       
   821 
   815 
   822 !MercurialSourceCodeManagementSettingsAppl methodsFor:'actions'!
   816 !MercurialSourceCodeManagementSettingsAppl methodsFor:'actions'!
   823 
   817 
   824 addModule:module withData:data
   818 addModule:module withData:data
   825     (self listOfModules includes:module) ifFalse:[
   819     (self listOfModules includes:module) ifFalse:[
   920     self updateModifiedChannel.
   914     self updateModifiedChannel.
   921 
   915 
   922     "Modified: / 26-01-2012 / 13:50:08 / cg"
   916     "Modified: / 26-01-2012 / 13:50:08 / cg"
   923 ! !
   917 ! !
   924 
   918 
   925 
       
   926 !MercurialSourceCodeManagementSettingsAppl methodsFor:'actions - mercurial'!
   919 !MercurialSourceCodeManagementSettingsAppl methodsFor:'actions - mercurial'!
   927 
   920 
   928 addPerModuleRoot
   921 addPerModuleRoot
   929     |module hgRepository|
   922     |module hgRepository|
   930 
   923 
   979     self halt:'unimplemented feature'
   972     self halt:'unimplemented feature'
   980 
   973 
   981     "Created: / 17-01-2012 / 17:42:27 / cg"
   974     "Created: / 17-01-2012 / 17:42:27 / cg"
   982 ! !
   975 ! !
   983 
   976 
   984 
       
   985 !MercurialSourceCodeManagementSettingsAppl methodsFor:'aspects'!
   977 !MercurialSourceCodeManagementSettingsAppl methodsFor:'aspects'!
   986 
   978 
   987 hgCommandTimeoutHolder
   979 hgCommandTimeoutHolder
   988     hgCommandTimeoutHolder isNil ifTrue:[
   980     hgCommandTimeoutHolder isNil ifTrue:[
   989         hgCommandTimeoutHolder := ValueHolder new.
   981         hgCommandTimeoutHolder := ValueHolder new.
  1128     ].
  1120     ].
  1129     ^ workDirectoryHolder.
  1121     ^ workDirectoryHolder.
  1130 
  1122 
  1131     "Created: / 03-03-2012 / 10:34:19 / cg"
  1123     "Created: / 03-03-2012 / 10:34:19 / cg"
  1132 ! !
  1124 ! !
  1133 
       
  1134 
  1125 
  1135 !MercurialSourceCodeManagementSettingsAppl methodsFor:'change & update'!
  1126 !MercurialSourceCodeManagementSettingsAppl methodsFor:'change & update'!
  1136 
  1127 
  1137 selectedPerModuleRepositoryChanged
  1128 selectedPerModuleRepositoryChanged
  1138     |repository entry|
  1129     |repository entry|
  1180     super update:something with:aParameter from:changedObject
  1171     super update:something with:aParameter from:changedObject
  1181 
  1172 
  1182     "Modified: / 14-01-2012 / 20:26:51 / cg"
  1173     "Modified: / 14-01-2012 / 20:26:51 / cg"
  1183 ! !
  1174 ! !
  1184 
  1175 
  1185 
       
  1186 !MercurialSourceCodeManagementSettingsAppl methodsFor:'help'!
  1176 !MercurialSourceCodeManagementSettingsAppl methodsFor:'help'!
  1187 
  1177 
  1188 helpFilename
  1178 helpFilename
  1189     ^ 'Launcher/mercurialSetup.html'
  1179     ^ 'Launcher/mercurialSetup.html'
  1190 
  1180 
  1191     "Modified: / 14-01-2012 / 20:27:00 / cg"
  1181     "Modified: / 14-01-2012 / 20:27:00 / cg"
  1192 ! !
  1182 ! !
  1193 
       
  1194 
  1183 
  1195 !MercurialSourceCodeManagementSettingsAppl methodsFor:'initialization & release'!
  1184 !MercurialSourceCodeManagementSettingsAppl methodsFor:'initialization & release'!
  1196 
  1185 
  1197 initialize
  1186 initialize
  1198     (AbstractSourceCodeManager notNil) ifTrue:[ AbstractSourceCodeManager autoload ].
  1187     (AbstractSourceCodeManager notNil) ifTrue:[ AbstractSourceCodeManager autoload ].
  1212 
  1201 
  1213     super initialize.
  1202     super initialize.
  1214 
  1203 
  1215     "Modified: / 17-01-2012 / 17:39:13 / cg"
  1204     "Modified: / 17-01-2012 / 17:39:13 / cg"
  1216 ! !
  1205 ! !
  1217 
       
  1218 
  1206 
  1219 !MercurialSourceCodeManagementSettingsAppl methodsFor:'queries'!
  1207 !MercurialSourceCodeManagementSettingsAppl methodsFor:'queries'!
  1220 
  1208 
  1221 hasUnsavedChanges
  1209 hasUnsavedChanges
  1222     |modules|
  1210     |modules|
  1252     ^ false
  1240     ^ false
  1253 
  1241 
  1254     "Modified: / 14-01-2012 / 23:41:33 / cg"
  1242     "Modified: / 14-01-2012 / 23:41:33 / cg"
  1255 ! !
  1243 ! !
  1256 
  1244 
  1257 
       
  1258 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
  1245 !MercurialSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
  1259 
  1246 
  1260 version
  1247 version
  1261     ^ '$Header: /cvs/stx/stx/libtool/MercurialSourceCodeManagementSettingsAppl.st,v 1.19 2012-08-09 08:59:22 cg Exp $'
  1248     ^ '$Header: /cvs/stx/stx/libtool/MercurialSourceCodeManagementSettingsAppl.st,v 1.19 2012-08-09 08:59:22 cg Exp $'
  1262 !
  1249 !
  1263 
  1250 
  1264 version_CVS
  1251 version_CVS
  1265     ^ '$Header: /cvs/stx/stx/libtool/MercurialSourceCodeManagementSettingsAppl.st,v 1.19 2012-08-09 08:59:22 cg Exp $'
  1252     ^ '$Header: /cvs/stx/stx/libtool/MercurialSourceCodeManagementSettingsAppl.st,v 1.19 2012-08-09 08:59:22 cg Exp $'
  1266 !
  1253 !
  1267 
  1254 
       
  1255 version_HG
       
  1256 
       
  1257     ^ '$Changeset: <not expanded> $'
       
  1258 !
       
  1259 
  1268 version_SVN
  1260 version_SVN
  1269     ^ '$Id: MercurialSourceCodeManagementSettingsAppl.st 8048 2012-09-07 17:28:09Z vranyj1 $'
  1261     ^ '$Id: MercurialSourceCodeManagementSettingsAppl.st 8048 2012-09-07 17:28:09Z vranyj1 $'
  1270 ! !
  1262 ! !
  1271 
  1263