Tools__ChangeSetBrowser2.st
branchjv
changeset 12405 76f9a872362b
parent 12328 2d47a394e0cf
parent 12088 5ae808a3d675
child 12406 1fbd331e4489
equal deleted inserted replaced
12388:3efd83b86c07 12405:76f9a872362b
    78 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    78 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    79 OTHER DEALINGS IN THE SOFTWARE.
    79 OTHER DEALINGS IN THE SOFTWARE.
    80 "
    80 "
    81 ! !
    81 ! !
    82 
    82 
       
    83 
    83 !ChangeSetBrowser2 class methodsFor:'instance creation'!
    84 !ChangeSetBrowser2 class methodsFor:'instance creation'!
    84 
    85 
    85 on: aStringOrChangeSet
    86 on: aStringOrChangeSet
    86     "Opens a browser on given changeset. If the argument is
    87     "Opens a browser on given changeset. If the argument is
    87     string, then loads the changeset from given file - for
    88     string, then loads the changeset from given file - for
   125     ^browser
   126     ^browser
   126 
   127 
   127     "Created: / 17-05-2012 / 23:36:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   128     "Created: / 17-05-2012 / 23:36:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   128 ! !
   129 ! !
   129 
   130 
       
   131 
   130 !ChangeSetBrowser2 class methodsFor:'accessing'!
   132 !ChangeSetBrowser2 class methodsFor:'accessing'!
   131 
   133 
   132 showRemoved
   134 showRemoved
   133 
   135 
   134     ^ShowRemoved == true
   136     ^ShowRemoved == true
   136 
   138 
   137 showRemoved: aBoolean
   139 showRemoved: aBoolean
   138 
   140 
   139     ShowRemoved := aBoolean
   141     ShowRemoved := aBoolean
   140 ! !
   142 ! !
       
   143 
   141 
   144 
   142 !ChangeSetBrowser2 class methodsFor:'help specs'!
   145 !ChangeSetBrowser2 class methodsFor:'help specs'!
   143 
   146 
   144 flyByHelpSpec
   147 flyByHelpSpec
   145     "This resource specification was automatically generated
   148     "This resource specification was automatically generated
   359 
   362 
   360 )
   363 )
   361 
   364 
   362     "Modified: / 01-08-2012 / 18:40:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   365     "Modified: / 01-08-2012 / 18:40:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   363 ! !
   366 ! !
       
   367 
   364 
   368 
   365 !ChangeSetBrowser2 class methodsFor:'image specs'!
   369 !ChangeSetBrowser2 class methodsFor:'image specs'!
   366 
   370 
   367 applyFromLastSnapshotIcon
   371 applyFromLastSnapshotIcon
   368     ^ self applyFromLastSnapshotIcon2
   372     ^ self applyFromLastSnapshotIcon2
   629 	constantNamed:#'NewChangesBrowser class findPreviousSnapshotIcon'
   633 	constantNamed:#'NewChangesBrowser class findPreviousSnapshotIcon'
   630 	ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
   634 	ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
   631 @EUUUW@A@F***(@@@F***(@@@F***(@@@F***(@@@F***(@@@F***(@@@F***(@A@F***(@M@F***(@H@F***(@@@F***(@@@F***(@I@L@@@@@@@@@@@@@A
   635 @EUUUW@A@F***(@@@F***(@@@F***(@@@F***(@@@F***(@@@F***(@@@F***(@A@F***(@M@F***(@H@F***(@@@F***(@@@F***(@I@L@@@@@@@@@@@@@A
   632 @P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 170 170 170]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C??@C??@C??@C??@C??@C??@C??@C??@C??@C??@C??@C??@C??@C??B@@@B@C@B@G B@O0@@_8@@G @@G @@G @') ; yourself); yourself]
   636 @P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 170 170 170]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C??@C??@C??@C??@C??@C??@C??@C??@C??@C??@C??@C??@C??@C??B@@@B@C@B@G B@O0@@_8@@G @@G @@G @') ; yourself); yourself]
   633 ! !
   637 ! !
       
   638 
   634 
   639 
   635 !ChangeSetBrowser2 class methodsFor:'interface opening'!
   640 !ChangeSetBrowser2 class methodsFor:'interface opening'!
   636 
   641 
   637 confirmChanges: aChangeSet
   642 confirmChanges: aChangeSet
   638 
   643 
   707     "Created: / 25-01-2012 / 17:16:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   712     "Created: / 25-01-2012 / 17:16:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   708     "Modified: / 27-07-2012 / 21:24:19 / cg"
   713     "Modified: / 27-07-2012 / 21:24:19 / cg"
   709 !
   714 !
   710 
   715 
   711 openOn: aChangeSet
   716 openOn: aChangeSet
   712     ^(self on: aChangeSet)
   717     ^(self on: aChangeSet) 
   713 	open;
   718         open;
   714 	yourself.
   719         yourself
   715 
   720 
   716     "
   721     "
   717 	self openOn: ChangeSet current
   722         self openOn: ChangeSet current
   718     "
   723     "
   719 
   724 
   720     "Modified: / 30-01-2012 / 15:59:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   725     "Modified (comment): / 24-01-2012 / 20:01:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   726     "Modified: / 26-07-2012 / 13:19:18 / cg"
   721 !
   727 !
   722 
   728 
   723 openOn: aChangeSet label: aString
   729 openOn: aChangeSet label: aString
   724 
   730 
   725     ^self openOn: aChangeSet label: aString setupWith: [:browser]
   731     ^self openOn: aChangeSet label: aString setupWith: [:browser]
   732     ^(self on: aChangeSet label: aString setupWith: aBlock) open; yourself
   738     ^(self on: aChangeSet label: aString setupWith: aBlock) open; yourself
   733 
   739 
   734     "Created: / 26-10-2010 / 23:07:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   740     "Created: / 26-10-2010 / 23:07:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   735     "Modified: / 26-07-2012 / 13:19:30 / cg"
   741     "Modified: / 26-07-2012 / 13:19:30 / cg"
   736 ! !
   742 ! !
       
   743 
   737 
   744 
   738 !ChangeSetBrowser2 class methodsFor:'interface specs'!
   745 !ChangeSetBrowser2 class methodsFor:'interface specs'!
   739 
   746 
   740 hierarchicalNavigatorSpec
   747 hierarchicalNavigatorSpec
   741     "This resource specification was automatically generated
   748     "This resource specification was automatically generated
  1217       )
  1224       )
  1218 
  1225 
  1219     "Modified: / 03-12-2011 / 10:36:40 / cg"
  1226     "Modified: / 03-12-2011 / 10:36:40 / cg"
  1220     "Modified: / 16-03-2012 / 13:09:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1227     "Modified: / 16-03-2012 / 13:09:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1221 ! !
  1228 ! !
       
  1229 
  1222 
  1230 
  1223 !ChangeSetBrowser2 class methodsFor:'menu specs'!
  1231 !ChangeSetBrowser2 class methodsFor:'menu specs'!
  1224 
  1232 
  1225 changeMenu
  1233 changeMenu
  1226     "This resource specification was automatically generated
  1234     "This resource specification was automatically generated
  1728 	nil
  1736 	nil
  1729 	nil
  1737 	nil
  1730       )
  1738       )
  1731 ! !
  1739 ! !
  1732 
  1740 
       
  1741 
  1733 !ChangeSetBrowser2 class methodsFor:'plugIn spec'!
  1742 !ChangeSetBrowser2 class methodsFor:'plugIn spec'!
  1734 
  1743 
  1735 aspectSelectors
  1744 aspectSelectors
  1736     "This resource specification was automatically generated
  1745     "This resource specification was automatically generated
  1737      by the UIPainter of ST/X."
  1746      by the UIPainter of ST/X."
  1746     ^ #(
  1755     ^ #(
  1747 	#changesetHolder
  1756 	#changesetHolder
  1748       ).
  1757       ).
  1749 
  1758 
  1750 ! !
  1759 ! !
       
  1760 
  1751 
  1761 
  1752 !ChangeSetBrowser2 methodsFor:'accessing'!
  1762 !ChangeSetBrowser2 methodsFor:'accessing'!
  1753 
  1763 
  1754 allowAccept: aBoolean
  1764 allowAccept: aBoolean
  1755 
  1765 
  1849     self titleHolder value: aString
  1859     self titleHolder value: aString
  1850 
  1860 
  1851     "Created: / 26-10-2010 / 23:01:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1861     "Created: / 26-10-2010 / 23:01:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1852 ! !
  1862 ! !
  1853 
  1863 
       
  1864 
  1854 !ChangeSetBrowser2 methodsFor:'accessing - defaults'!
  1865 !ChangeSetBrowser2 methodsFor:'accessing - defaults'!
  1855 
  1866 
  1856 defaultTitle
  1867 defaultTitle
  1857     ^ 'No changeset'
  1868     ^ 'No changeset'
  1858 
  1869 
  1859     "Modified: / 08-04-2011 / 10:10:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1870     "Modified: / 08-04-2011 / 10:10:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1860 ! !
  1871 ! !
       
  1872 
  1861 
  1873 
  1862 !ChangeSetBrowser2 methodsFor:'accessing - menus'!
  1874 !ChangeSetBrowser2 methodsFor:'accessing - menus'!
  1863 
  1875 
  1864 list1MenuHolder
  1876 list1MenuHolder
  1865     ^ [
  1877     ^ [
  1884     ]
  1896     ]
  1885 
  1897 
  1886     "Created: / 04-08-2011 / 18:13:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1898     "Created: / 04-08-2011 / 18:13:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1887     "Modified (format): / 05-09-2011 / 16:07:34 / cg"
  1899     "Modified (format): / 05-09-2011 / 16:07:34 / cg"
  1888 ! !
  1900 ! !
       
  1901 
  1889 
  1902 
  1890 !ChangeSetBrowser2 methodsFor:'actions'!
  1903 !ChangeSetBrowser2 methodsFor:'actions'!
  1891 
  1904 
  1892 accept: source
  1905 accept: source
  1893 
  1906 
  1905 
  1918 
  1906     sourceView := aView.
  1919     sourceView := aView.
  1907 
  1920 
  1908     "Modified: / 19-07-2011 / 19:08:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1921     "Modified: / 19-07-2011 / 19:08:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1909 ! !
  1922 ! !
       
  1923 
  1910 
  1924 
  1911 !ChangeSetBrowser2 methodsFor:'aspects'!
  1925 !ChangeSetBrowser2 methodsFor:'aspects'!
  1912 
  1926 
  1913 allowAcceptHolder
  1927 allowAcceptHolder
  1914     "return/create the 'selectionHolder' value holder (automatically generated)"
  1928     "return/create the 'selectionHolder' value holder (automatically generated)"
  2335     ].
  2349     ].
  2336     ^ updateChangeFileHolder
  2350     ^ updateChangeFileHolder
  2337 
  2351 
  2338     "Created: / 07-09-2011 / 15:54:03 / cg"
  2352     "Created: / 07-09-2011 / 15:54:03 / cg"
  2339     "Created: / 11-02-2012 / 22:40:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2353     "Created: / 11-02-2012 / 22:40:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2340 ! !
  2354 !
       
  2355 
       
  2356  !
       
  2357 
  2341 
  2358 
  2342 !ChangeSetBrowser2 methodsFor:'aspects-queries'!
  2359 !ChangeSetBrowser2 methodsFor:'aspects-queries'!
  2343 
  2360 
  2344 hasSelectionHolder
  2361 hasSelectionHolder
  2345 
  2362 
  2375     ^isWorkingNotHolder
  2392     ^isWorkingNotHolder
  2376 
  2393 
  2377     "Created: / 17-05-2012 / 20:45:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2394     "Created: / 17-05-2012 / 20:45:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2378 ! !
  2395 ! !
  2379 
  2396 
       
  2397 
  2380 !ChangeSetBrowser2 methodsFor:'change & update'!
  2398 !ChangeSetBrowser2 methodsFor:'change & update'!
  2381 
  2399 
  2382 changesetChanged
  2400 changesetChanged
  2383 
  2401 
  2384     self titleHolder value: (self changeset name ifNil:[self defaultTitle]).
  2402     self titleHolder value: (self changeset name ifNil:[self defaultTitle]).
  2448     super update: aspect with: param from: sender
  2466     super update: aspect with: param from: sender
  2449 
  2467 
  2450     "Created: / 24-10-2009 / 19:29:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2468     "Created: / 24-10-2009 / 19:29:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2451 ! !
  2469 ! !
  2452 
  2470 
       
  2471 
  2453 !ChangeSetBrowser2 methodsFor:'initialization'!
  2472 !ChangeSetBrowser2 methodsFor:'initialization'!
  2454 
  2473 
  2455 list1View: aSubApplicationView
  2474 list1View: aSubApplicationView
  2456     aSubApplicationView application applyAction:[:change | self changeMenuApplyChange:change].
  2475     aSubApplicationView application applyAction:[:change | self changeMenuApplyChange:change].
  2457     list1 := aSubApplicationView application
  2476     list1 := aSubApplicationView application
  2465     list2 := aSubApplicationView application
  2484     list2 := aSubApplicationView application
  2466 
  2485 
  2467     "Created: / 04-08-2011 / 17:57:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2486     "Created: / 04-08-2011 / 17:57:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2468     "Modified: / 10-09-2012 / 14:22:50 / cg"
  2487     "Modified: / 10-09-2012 / 14:22:50 / cg"
  2469 ! !
  2488 ! !
       
  2489 
  2470 
  2490 
  2471 !ChangeSetBrowser2 methodsFor:'menu actions'!
  2491 !ChangeSetBrowser2 methodsFor:'menu actions'!
  2472 
  2492 
  2473 doApply
  2493 doApply
  2474     "Applies currently selected change"
  2494     "Applies currently selected change"
  2588 
  2608 
  2589     "Created: / 05-12-2009 / 13:43:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2609     "Created: / 05-12-2009 / 13:43:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  2590     "Modified: / 27-07-2012 / 21:21:24 / cg"
  2610     "Modified: / 27-07-2012 / 21:21:24 / cg"
  2591 !
  2611 !
  2592 
  2612 
  2593 doOpenCurrent
  2613 
  2594 
       
  2595     self doOpenFile: ObjectMemory nameForChanges.
       
  2596     self showFilter: true.
       
  2597 
       
  2598     "Created: / 05-12-2009 / 13:44:05 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
  2599 !
       
  2600 
  2614 
  2601 doOpenCurrentChangeFile
  2615 doOpenCurrentChangeFile
  2602     self withWaitCursorDo:[
  2616     self withWaitCursorDo:[
  2603 	self class openOn: (ChangeSet fromFile: ObjectMemory nameForChanges)
  2617 	self class openOn: (ChangeSet fromFile: ObjectMemory nameForChanges)
  2604     ].
  2618     ].
  2829     targetPackage := "lastPackage := "package.
  2843     targetPackage := "lastPackage := "package.
  2830     "/ self targetPackageHolder value:('Target-Package: ',targetPackage).
  2844     "/ self targetPackageHolder value:('Target-Package: ',targetPackage).
  2831 
  2845 
  2832     "Created: / 07-09-2011 / 12:47:15 / cg"
  2846     "Created: / 07-09-2011 / 12:47:15 / cg"
  2833 ! !
  2847 ! !
       
  2848 
  2834 
  2849 
  2835 !ChangeSetBrowser2 methodsFor:'menu actions - changes'!
  2850 !ChangeSetBrowser2 methodsFor:'menu actions - changes'!
  2836 
  2851 
  2837 changeMenuApply: changeList
  2852 changeMenuApply: changeList
  2838     | changesToApply |
  2853     | changesToApply |
  3244     ^ changes collect:[:eachListEntry | eachListEntry change].
  3259     ^ changes collect:[:eachListEntry | eachListEntry change].
  3245 
  3260 
  3246     "Created: / 23-07-2012 / 13:13:11 / cg"
  3261     "Created: / 23-07-2012 / 13:13:11 / cg"
  3247 ! !
  3262 ! !
  3248 
  3263 
       
  3264 
  3249 !ChangeSetBrowser2 methodsFor:'menu actions - changes - helpers'!
  3265 !ChangeSetBrowser2 methodsFor:'menu actions - changes - helpers'!
  3250 
  3266 
  3251 changeMenuApplyChange: aChange
  3267 changeMenuApplyChange: aChange
  3252 
  3268 
  3253 "/    aChange isClassDefinitionChange ifTrue:
  3269 "/    aChange isClassDefinitionChange ifTrue:
  3331 
  3347 
  3332     "Created: / 04-08-2011 / 17:29:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3348     "Created: / 04-08-2011 / 17:29:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3333     "Modified: / 21-01-2013 / 17:12:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3349     "Modified: / 21-01-2013 / 17:12:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3334 ! !
  3350 ! !
  3335 
  3351 
       
  3352 
  3336 !ChangeSetBrowser2 methodsFor:'private'!
  3353 !ChangeSetBrowser2 methodsFor:'private'!
  3337 
  3354 
  3338 changesDo:aBlock
  3355 changesDo:aBlock
  3339     self changeset do:aBlock.
  3356     self changeset do:aBlock.
  3340 
  3357 
  3385     applyBlock := [:e|aBlock value: e change].
  3402     applyBlock := [:e|aBlock value: e change].
  3386 
  3403 
  3387 "/    selectionHolder value isEmptyOrNil ifTrue:[
  3404 "/    selectionHolder value isEmptyOrNil ifTrue:[
  3388 "/        (self navigatorChangesetHolder value ? #()) do: aBlock
  3405 "/        (self navigatorChangesetHolder value ? #()) do: aBlock
  3389 "/    ] ifFalse:[
  3406 "/    ] ifFalse:[
  3390 	selection2Holder value isEmptyOrNil not
  3407         selection2Holder value isEmptyOrNil not
  3391 	    ifTrue:[selection2Holder value do: [:e|e notNil ifTrue:[applyBlock value:e]]]
  3408             ifTrue:[selection2Holder value do: [:e|e notNil ifTrue:[applyBlock value:e]]]
  3392 	    ifFalse:[selection1Holder value do: [:e|e notNil ifTrue:[applyBlock value:e]]].
  3409             ifFalse:[selection1Holder value do: [:e|e notNil ifTrue:[applyBlock value:e]]].
  3393 "/    ].
  3410 "/    ].
  3394     self redrawChangeListViews
  3411     self redrawChangeListViews
  3395 
  3412 
  3396     "Created: / 29-10-2010 / 13:47:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3413     "Created: / 29-10-2010 / 13:47:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3397     "Modified: / 20-03-2012 / 17:16:40 / cg"
  3414     "Modified: / 20-03-2012 / 17:16:40 / cg"
  3439     ^ targetPackage ? PackageId noProjectID
  3456     ^ targetPackage ? PackageId noProjectID
  3440 
  3457 
  3441     "Created: / 07-09-2011 / 20:12:04 / cg"
  3458     "Created: / 07-09-2011 / 20:12:04 / cg"
  3442 ! !
  3459 ! !
  3443 
  3460 
       
  3461 
  3444 !ChangeSetBrowser2 methodsFor:'queries'!
  3462 !ChangeSetBrowser2 methodsFor:'queries'!
  3445 
  3463 
  3446 canApplyChanges
  3464 canApplyChanges
  3447 
  3465 
  3448     ^true
  3466     ^true
  3477     ^true
  3495     ^true
  3478 
  3496 
  3479     "Created: / 04-08-2011 / 18:25:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3497     "Created: / 04-08-2011 / 18:25:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3480 ! !
  3498 ! !
  3481 
  3499 
       
  3500 
  3482 !ChangeSetBrowser2 methodsFor:'testing'!
  3501 !ChangeSetBrowser2 methodsFor:'testing'!
  3483 
  3502 
  3484 isHierarchical
  3503 isHierarchical
  3485 
  3504 
  3486     ^self navigatorSpecHolder == #hierarchicalNavigatorSpec
  3505     ^self navigatorSpecHolder == #hierarchicalNavigatorSpec
  3502     ^self navigatorSpecHolder == #twoColumnNavigatorSpec
  3521     ^self navigatorSpecHolder == #twoColumnNavigatorSpec
  3503 
  3522 
  3504     "Modified: / 14-10-2010 / 15:51:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3523     "Modified: / 14-10-2010 / 15:51:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3505     "Created: / 30-03-2012 / 11:59:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3524     "Created: / 30-03-2012 / 11:59:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3506 ! !
  3525 ! !
       
  3526 
  3507 
  3527 
  3508 !ChangeSetBrowser2::ChangeEditor class methodsFor:'documentation'!
  3528 !ChangeSetBrowser2::ChangeEditor class methodsFor:'documentation'!
  3509 
  3529 
  3510 documentation
  3530 documentation
  3511 "
  3531 "
  3538     ... add code fragment for
  3558     ... add code fragment for
  3539     ... executable example here ...
  3559     ... executable example here ...
  3540 								[exEnd]
  3560 								[exEnd]
  3541 "
  3561 "
  3542 ! !
  3562 ! !
       
  3563 
  3543 
  3564 
  3544 !ChangeSetBrowser2::ChangeEditor class methodsFor:'interface specs'!
  3565 !ChangeSetBrowser2::ChangeEditor class methodsFor:'interface specs'!
  3545 
  3566 
  3546 windowSpec
  3567 windowSpec
  3547     "This resource specification was automatically generated
  3568     "This resource specification was automatically generated
  3622       )
  3643       )
  3623 
  3644 
  3624     "Modified: / 16-03-2012 / 13:08:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3645     "Modified: / 16-03-2012 / 13:08:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3625 ! !
  3646 ! !
  3626 
  3647 
       
  3648 
  3627 !ChangeSetBrowser2::ChangeEditor methodsFor:'accessing'!
  3649 !ChangeSetBrowser2::ChangeEditor methodsFor:'accessing'!
  3628 
  3650 
  3629 sourceChangeHolder
  3651 sourceChangeHolder
  3630     ^ sourceChangeHolder
  3652     ^ sourceChangeHolder
  3631 !
  3653 !
  3639 !
  3661 !
  3640 
  3662 
  3641 sourceImageHolder:something
  3663 sourceImageHolder:something
  3642     sourceImageHolder := something.
  3664     sourceImageHolder := something.
  3643 ! !
  3665 ! !
       
  3666 
  3644 
  3667 
  3645 !ChangeSetBrowser2::ChangeEditor methodsFor:'aspects'!
  3668 !ChangeSetBrowser2::ChangeEditor methodsFor:'aspects'!
  3646 
  3669 
  3647 changeHolder
  3670 changeHolder
  3648     "return/create the 'changeHolder' value holder (automatically generated)"
  3671     "return/create the 'changeHolder' value holder (automatically generated)"
  3750     "set the 'showdiffHolder' value holder (automatically generated)"
  3773     "set the 'showdiffHolder' value holder (automatically generated)"
  3751 
  3774 
  3752     showdiffHolder := something.
  3775     showdiffHolder := something.
  3753 ! !
  3776 ! !
  3754 
  3777 
       
  3778 
  3755 !ChangeSetBrowser2::ChangeEditor methodsFor:'change & update'!
  3779 !ChangeSetBrowser2::ChangeEditor methodsFor:'change & update'!
  3756 
  3780 
  3757 changeChanged
  3781 changeChanged
  3758     "changeHolder has changed, update sources etc..."
  3782     "changeHolder has changed, update sources etc..."
  3759 
  3783 
  3779     super update:something with:aParameter from:changedObject
  3803     super update:something with:aParameter from:changedObject
  3780 
  3804 
  3781     "Modified: / 29-11-2011 / 11:15:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3805     "Modified: / 29-11-2011 / 11:15:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  3782 ! !
  3806 ! !
  3783 
  3807 
       
  3808 
  3784 !ChangeSetBrowser2 class methodsFor:'documentation'!
  3809 !ChangeSetBrowser2 class methodsFor:'documentation'!
  3785 
  3810 
  3786 version
  3811 version
  3787     ^ '$Header: /cvs/stx/stx/libtool/Tools__ChangeSetBrowser2.st,v 1.43 2012/12/14 09:09:51 stefan Exp $'
  3812     ^ '$Header: /cvs/stx/stx/libtool/Tools__ChangeSetBrowser2.st,v 1.43 2012-12-14 09:09:51 stefan Exp $'
  3788 !
  3813 !
  3789 
  3814 
  3790 version_CVS
  3815 version_CVS
  3791     ^ '§Header: /cvs/stx/stx/libtool/Tools__ChangeSetBrowser2.st,v 1.43 2012/12/14 09:09:51 stefan Exp §'
  3816     ^ '$Header: /cvs/stx/stx/libtool/Tools__ChangeSetBrowser2.st,v 1.43 2012-12-14 09:09:51 stefan Exp $'
  3792 !
  3817 !
  3793 
  3818 
  3794 version_HG
  3819 version_HG
  3795 
  3820 
  3796     ^ '$Changeset: <not expanded> $'
  3821     ^ '$Changeset: <not expanded> $'
  3797 !
  3822 !
  3798 
  3823 
  3799 version_SVN
  3824 version_SVN
  3800     ^ '§Id: Tools__ChangeSetBrowser2.st 8083 2013-01-14 11:48:37Z vranyj1 §'
  3825     ^ '§Id: Tools__ChangeSetBrowser.st 7486 2009-10-26 22:06:24Z vranyj1 §'
  3801 ! !
  3826 ! !
  3802 
  3827