749
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
|
|
3 |
SWING Research Group, Czech Technical University in Prague
|
|
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 |
"
|
2207
|
26 |
NameSpace name:#JavaPackage!
|
749
|
27 |
|
|
28 |
!JavaPackage class methodsFor:'documentation'!
|
|
29 |
|
|
30 |
copyright
|
|
31 |
"
|
|
32 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
|
|
33 |
SWING Research Group, Czech Technical University in Prague
|
|
34 |
|
|
35 |
Permission is hereby granted, free of charge, to any person
|
|
36 |
obtaining a copy of this software and associated documentation
|
|
37 |
files (the 'Software'), to deal in the Software without
|
|
38 |
restriction, including without limitation the rights to use,
|
|
39 |
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
40 |
copies of the Software, and to permit persons to whom the
|
|
41 |
Software is furnished to do so, subject to the following
|
|
42 |
conditions:
|
|
43 |
|
|
44 |
The above copyright notice and this permission notice shall be
|
|
45 |
included in all copies or substantial portions of the Software.
|
|
46 |
|
|
47 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
48 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
49 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
50 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
51 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
52 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
53 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
54 |
OTHER DEALINGS IN THE SOFTWARE.
|
|
55 |
"
|
|
56 |
! !
|
|
57 |
|
|
58 |
!JavaPackage class methodsFor:'queries'!
|
|
59 |
|
|
60 |
isNameSpace
|
|
61 |
"return true, if the receiver is a nameSpace.
|
|
62 |
Unconditionally true here for subclasses - my subclasses are namespaces"
|
|
63 |
|
|
64 |
^ self ~~ JavaPackage .
|
|
65 |
!
|
|
66 |
|
|
67 |
isRealNameSpace
|
|
68 |
"return true, if the receiver is a nameSpace, but not Smalltalk (which is also a class).
|
|
69 |
Unconditionally true here for subclasses - my subclasses are namespaces"
|
|
70 |
|
|
71 |
^ self ~~ JavaPackage .
|
|
72 |
! !
|
|
73 |
|
|
74 |
!JavaPackage class methodsFor:'documentation'!
|
|
75 |
|
2207
|
76 |
version_CVS
|
|
77 |
^ '$Header: /cvs/stx/stx/libjava/JavaPackage.st,v 1.2 2011-11-24 11:14:35 cg Exp $'
|
|
78 |
!
|
|
79 |
|
749
|
80 |
version_SVN
|
2207
|
81 |
^ '§Id: JavaPackage.st,v 1.1 2011/08/18 19:06:53 vrany Exp §'
|
2152
|
82 |
! !
|