34
|
1 |
"{ Package: 'cvut:stx/goodies/libsvn' }"
|
|
2 |
|
|
3 |
"{ NameSpace: SVN }"
|
|
4 |
|
|
5 |
Enum subclass:#Status
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'SVN-Status'
|
|
10 |
!
|
|
11 |
|
|
12 |
!Status class methodsFor:'documentation'!
|
|
13 |
|
|
14 |
version_SVN
|
|
15 |
^'$Id$'
|
|
16 |
! !
|
|
17 |
|
|
18 |
!Status class methodsFor:'instance creation'!
|
|
19 |
|
|
20 |
new
|
|
21 |
|
|
22 |
self error:'Status is a signleton class, use #instance instead'
|
|
23 |
|
|
24 |
"Created: / 18-08-2009 / 12:51:14 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
25 |
!
|
|
26 |
|
|
27 |
withId: aCharacter
|
|
28 |
|
|
29 |
self allSubclasses
|
|
30 |
do:[:cls|cls instance name = aCharacter ifTrue:[^cls instance]].
|
|
31 |
^self error: 'No status with id ', aCharacter.
|
|
32 |
|
|
33 |
"Created: / 18-08-2009 / 12:53:04 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
34 |
! !
|
|
35 |
|
|
36 |
!Status methodsFor:'accessing'!
|
|
37 |
|
|
38 |
icon
|
|
39 |
|
|
40 |
^self subclassResponsibility
|
|
41 |
|
|
42 |
"Created: / 11-04-2008 / 11:05:53 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
43 |
!
|
|
44 |
|
|
45 |
id
|
|
46 |
"Returns a one-char ID of status"
|
|
47 |
|
|
48 |
^ self subclassResponsibility
|
|
49 |
|
|
50 |
"Modified: / 18-08-2009 / 12:43:57 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
51 |
! !
|
|
52 |
|
|
53 |
!Status methodsFor:'printing'!
|
|
54 |
|
|
55 |
printOn: stream
|
|
56 |
self class name printOn: stream
|
|
57 |
|
|
58 |
"Created: / 16-03-2008 / 08:26:35 / janfrog"
|
|
59 |
! !
|
|
60 |
|
|
61 |
!Status methodsFor:'testing'!
|
|
62 |
|
|
63 |
isAdded
|
|
64 |
|
|
65 |
^false
|
|
66 |
|
|
67 |
"Created: / 19-03-2008 / 18:40:01 / janfrog"
|
|
68 |
!
|
|
69 |
|
|
70 |
isNormal
|
|
71 |
|
|
72 |
^false
|
|
73 |
|
|
74 |
"Created: / 11-04-2008 / 11:27:21 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
75 |
!
|
|
76 |
|
|
77 |
isUnversioned
|
|
78 |
|
|
79 |
^false
|
|
80 |
|
|
81 |
"Created: / 15-03-2008 / 22:29:10 / janfrog"
|
|
82 |
! !
|
|
83 |
|
|
84 |
!Status class methodsFor:'documentation'!
|
|
85 |
|
|
86 |
version
|
|
87 |
^ '$Header$'
|
|
88 |
! !
|