2375
|
1 |
"{ Package: 'stx:libbasic3' }"!
|
|
2 |
|
|
3 |
!UserPreferences methodsFor:'accessing - history manager'!
|
|
4 |
|
|
5 |
historyManagerModificationLimit
|
|
6 |
|
|
7 |
^self
|
|
8 |
at: #'history-manager.modification-limit'
|
|
9 |
ifAbsentPut: 3600 "/one hour"
|
|
10 |
|
|
11 |
"Created: / 04-10-2008 / 11:55:56 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
12 |
! !
|
|
13 |
|
|
14 |
!UserPreferences methodsFor:'accessing - history manager'!
|
|
15 |
|
|
16 |
historyManagerModificationLimit: sec
|
|
17 |
|
|
18 |
^self
|
|
19 |
at: #'history-manager.modification-limit'
|
|
20 |
put: sec
|
|
21 |
|
|
22 |
"Created: / 04-10-2008 / 11:56:23 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
23 |
! !
|
|
24 |
|
|
25 |
!UserPreferences methodsFor:'accessing - history manager'!
|
|
26 |
|
|
27 |
historyManagerSignature
|
|
28 |
|
|
29 |
^self historyManagerSignatures
|
|
30 |
at: (Array with: OperatingSystem getHostName with: OperatingSystem getLoginName)
|
|
31 |
ifAbsent:
|
|
32 |
[HistoryManager askForSignature]
|
|
33 |
|
|
34 |
"Created: / 04-10-2008 / 12:06:58 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
35 |
! !
|
|
36 |
|
|
37 |
!UserPreferences methodsFor:'accessing - history manager'!
|
|
38 |
|
|
39 |
historyManagerSignature: aString
|
|
40 |
|
|
41 |
^self historyManagerSignatures
|
|
42 |
at: (Array with: OperatingSystem getHostName with: OperatingSystem getLoginName)
|
|
43 |
put: aString
|
|
44 |
|
|
45 |
"Created: / 04-10-2008 / 11:54:53 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
46 |
! !
|
|
47 |
|
|
48 |
!UserPreferences methodsFor:'accessing - history manager'!
|
|
49 |
|
|
50 |
historyManagerSignatures
|
|
51 |
|
|
52 |
^self
|
|
53 |
at: #'history-manager.signatures'
|
|
54 |
ifAbsentPut: [Dictionary new]
|
|
55 |
|
|
56 |
"
|
|
57 |
UserPreferences current historyManagerSignatures
|
|
58 |
"
|
|
59 |
|
|
60 |
"Created: / 04-10-2008 / 11:52:40 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
61 |
"Modified: / 22-08-2009 / 11:00:12 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
62 |
! !
|
|
63 |
|
|
64 |
!UserPreferences methodsFor:'accessing - history manager'!
|
|
65 |
|
|
66 |
historyManagerSignatures: aDictionary
|
|
67 |
|
|
68 |
^self
|
|
69 |
at: #'history-manager.signatures'
|
|
70 |
ifAbsentPut: aDictionary
|
|
71 |
|
|
72 |
"Created: / 04-10-2008 / 11:52:58 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
73 |
! !
|
|
74 |
|
|
75 |
!stx_libbasic3 class methodsFor:'documentation'!
|
|
76 |
|
|
77 |
extensionsVersion_CVS
|
|
78 |
^ '$Header: /cvs/stx/stx/libbasic3/extensions.st,v 1.2 2011-06-28 21:00:59 vrany Exp $'
|
|
79 |
! ! |