author | Claus Gittinger <cg@exept.de> |
Tue, 16 Jan 2018 22:26:58 +0100 | |
changeset 1183 | 8af078552bae |
parent 1018 | 663624878790 |
permissions | -rw-r--r-- |
700 | 1 |
" |
2 |
Copyright (c) 2007-2010 Jan Vrany |
|
3 |
Copyright (c) 2009-2010 eXept Software AG |
|
4 |
||
5 |
Permission is hereby granted, free of charge, to any person |
|
6 |
obtaining a copy of this software and associated documentation |
|
7 |
files (the 'Software'), to deal in the Software without |
|
8 |
restriction, including without limitation the rights to use, |
|
9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
10 |
copies of the Software, and to permit persons to whom the |
|
11 |
Software is furnished to do so, subject to the following |
|
12 |
conditions: |
|
13 |
||
14 |
The above copyright notice and this permission notice shall be |
|
15 |
included in all copies or substantial portions of the Software. |
|
16 |
||
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
24 |
OTHER DEALINGS IN THE SOFTWARE. |
|
25 |
" |
|
474 | 26 |
"{ Package: 'stx:libsvn' }" |
34 | 27 |
|
28 |
"{ NameSpace: SVN }" |
|
29 |
||
30 |
Enum subclass:#Status |
|
31 |
instanceVariableNames:'' |
|
32 |
classVariableNames:'' |
|
33 |
poolDictionaries:'' |
|
34 |
category:'SVN-Status' |
|
35 |
! |
|
36 |
||
700 | 37 |
!Status class methodsFor:'documentation'! |
38 |
||
39 |
copyright |
|
40 |
" |
|
41 |
Copyright (c) 2007-2010 Jan Vrany |
|
42 |
Copyright (c) 2009-2010 eXept Software AG |
|
43 |
||
44 |
Permission is hereby granted, free of charge, to any person |
|
45 |
obtaining a copy of this software and associated documentation |
|
46 |
files (the 'Software'), to deal in the Software without |
|
47 |
restriction, including without limitation the rights to use, |
|
48 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
49 |
copies of the Software, and to permit persons to whom the |
|
50 |
Software is furnished to do so, subject to the following |
|
51 |
conditions: |
|
52 |
||
53 |
The above copyright notice and this permission notice shall be |
|
54 |
included in all copies or substantial portions of the Software. |
|
55 |
||
56 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
57 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
58 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
59 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
60 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
61 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
62 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
63 |
OTHER DEALINGS IN THE SOFTWARE. |
|
64 |
||
65 |
" |
|
66 |
! ! |
|
34 | 67 |
|
68 |
!Status class methodsFor:'instance creation'! |
|
69 |
||
70 |
new |
|
71 |
||
72 |
self error:'Status is a signleton class, use #instance instead' |
|
73 |
||
74 |
"Created: / 18-08-2009 / 12:51:14 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
75 |
! |
|
76 |
||
77 |
withId: aCharacter |
|
78 |
||
79 |
self allSubclasses |
|
80 |
do:[:cls|cls instance name = aCharacter ifTrue:[^cls instance]]. |
|
81 |
^self error: 'No status with id ', aCharacter. |
|
82 |
||
83 |
"Created: / 18-08-2009 / 12:53:04 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
84 |
! ! |
|
85 |
||
700 | 86 |
!Status class methodsFor:'others'! |
87 |
||
88 |
version_CVS |
|
855
baa47d779410
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
700
diff
changeset
|
89 |
^ '$Header$' |
700 | 90 |
! ! |
91 |
||
34 | 92 |
!Status methodsFor:'accessing'! |
93 |
||
94 |
icon |
|
95 |
||
96 |
^self subclassResponsibility |
|
97 |
||
98 |
"Created: / 11-04-2008 / 11:05:53 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
99 |
! |
|
100 |
||
101 |
id |
|
102 |
"Returns a one-char ID of status" |
|
103 |
||
104 |
^ self subclassResponsibility |
|
105 |
||
106 |
"Modified: / 18-08-2009 / 12:43:57 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
107 |
! ! |
|
108 |
||
109 |
!Status methodsFor:'printing'! |
|
110 |
||
111 |
printOn: stream |
|
112 |
self class name printOn: stream |
|
113 |
||
114 |
"Created: / 16-03-2008 / 08:26:35 / janfrog" |
|
115 |
! ! |
|
116 |
||
117 |
!Status methodsFor:'testing'! |
|
118 |
||
119 |
isAdded |
|
120 |
||
121 |
^false |
|
122 |
||
123 |
"Created: / 19-03-2008 / 18:40:01 / janfrog" |
|
124 |
! |
|
125 |
||
700 | 126 |
isExternal |
127 |
||
128 |
^false |
|
129 |
||
130 |
"Created: / 09-04-2010 / 14:18:29 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
131 |
! |
|
132 |
||
997 | 133 |
isMissing |
134 |
||
135 |
^false |
|
136 |
||
137 |
"Created: / 15-03-2008 / 22:29:10 / janfrog" |
|
138 |
"Created: / 07-02-2012 / 22:53:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
139 |
! |
|
140 |
||
1018
663624878790
improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1000
diff
changeset
|
141 |
isModified |
663624878790
improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1000
diff
changeset
|
142 |
|
663624878790
improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1000
diff
changeset
|
143 |
^false |
663624878790
improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1000
diff
changeset
|
144 |
|
663624878790
improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1000
diff
changeset
|
145 |
"Created: / 15-03-2008 / 22:29:10 / janfrog" |
663624878790
improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1000
diff
changeset
|
146 |
"Created: / 09-02-2012 / 14:41:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
663624878790
improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1000
diff
changeset
|
147 |
! |
663624878790
improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1000
diff
changeset
|
148 |
|
34 | 149 |
isNormal |
150 |
||
151 |
^false |
|
152 |
||
153 |
"Created: / 11-04-2008 / 11:27:21 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
154 |
! |
|
155 |
||
156 |
isUnversioned |
|
157 |
||
158 |
^false |
|
159 |
||
160 |
"Created: / 15-03-2008 / 22:29:10 / janfrog" |
|
1000
3b5946069ea1
Improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
997
diff
changeset
|
161 |
! |
3b5946069ea1
Improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
997
diff
changeset
|
162 |
|
3b5946069ea1
Improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
997
diff
changeset
|
163 |
isUnversionedOrIgnoredOrMissing |
3b5946069ea1
Improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
997
diff
changeset
|
164 |
|
3b5946069ea1
Improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
997
diff
changeset
|
165 |
^false |
3b5946069ea1
Improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
997
diff
changeset
|
166 |
|
3b5946069ea1
Improvements for CommitDialog2
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
997
diff
changeset
|
167 |
"Created: / 08-02-2012 / 18:38:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
34 | 168 |
! ! |
169 |
||
170 |
!Status class methodsFor:'documentation'! |
|
171 |
||
172 |
version |
|
855
baa47d779410
checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
700
diff
changeset
|
173 |
^ '$Header$' |
133 | 174 |
! |
175 |
||
176 |
version_SVN |
|
942 | 177 |
^ '§Id: SVN__Status.st 384 2011-10-12 11:01:11Z vranyj1 §' |
34 | 178 |
! ! |