8777
|
1 |
"{ Package: 'cvut:stx/goodies/libtool3' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Tools }"
|
|
4 |
|
|
5 |
Object subclass:#Inspector2Tab
|
|
6 |
instanceVariableNames:'label view application priority'
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'Interface-Inspector 2'
|
|
10 |
!
|
|
11 |
|
|
12 |
|
|
13 |
!Inspector2Tab methodsFor:'accessing'!
|
|
14 |
|
|
15 |
application
|
|
16 |
^ application
|
|
17 |
|
|
18 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
19 |
!
|
|
20 |
|
|
21 |
application:anApplicationModel
|
|
22 |
application := anApplicationModel.
|
|
23 |
|
|
24 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
25 |
"Modified: / 17-02-2008 / 08:58:34 / janfrog"
|
|
26 |
!
|
|
27 |
|
|
28 |
label
|
|
29 |
^ label
|
|
30 |
|
|
31 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
32 |
!
|
|
33 |
|
|
34 |
label:aString
|
|
35 |
label := aString.
|
|
36 |
|
|
37 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
38 |
"Modified: / 17-02-2008 / 08:58:41 / janfrog"
|
|
39 |
!
|
|
40 |
|
|
41 |
priority
|
|
42 |
^ priority ? 25
|
|
43 |
|
|
44 |
"Created: / 17-02-2008 / 10:05:51 / janfrog"
|
|
45 |
!
|
|
46 |
|
|
47 |
priority:something
|
|
48 |
priority := something.
|
|
49 |
|
|
50 |
"Created: / 17-02-2008 / 10:05:51 / janfrog"
|
|
51 |
!
|
|
52 |
|
|
53 |
text:aStringOrValueModel
|
|
54 |
|
|
55 |
self view:((HVScrollableView for:TextView) model: aStringOrValueModel; yourself)
|
|
56 |
|
|
57 |
"Modified: / 17-02-2008 / 08:58:41 / janfrog"
|
|
58 |
"Created: / 07-11-2008 / 08:40:35 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
59 |
!
|
|
60 |
|
|
61 |
view
|
|
62 |
view ifNil:
|
|
63 |
[application ifNotNil:
|
|
64 |
[view := ApplicationSubView new client: application]].
|
|
65 |
^ view
|
|
66 |
|
|
67 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
68 |
"Modified: / 17-02-2008 / 10:38:59 / janfrog"
|
|
69 |
!
|
|
70 |
|
|
71 |
view:aView
|
|
72 |
view := aView.
|
|
73 |
|
|
74 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
75 |
"Modified: / 17-02-2008 / 08:58:46 / janfrog"
|
|
76 |
! !
|
|
77 |
|
|
78 |
!Inspector2Tab class methodsFor:'documentation'!
|
|
79 |
|
|
80 |
version
|
8815
|
81 |
^ '$Header: /cvs/stx/stx/libtool/Tools__Inspector2Tab.st,v 1.3 2009-09-30 12:08:57 fm Exp $'
|
8802
|
82 |
!
|
|
83 |
|
|
84 |
version_CVS
|
8815
|
85 |
^ '$Header: /cvs/stx/stx/libtool/Tools__Inspector2Tab.st,v 1.3 2009-09-30 12:08:57 fm Exp $'
|
8802
|
86 |
!
|
|
87 |
|
8815
|
88 |
version_CVS_jvrany
|
8802
|
89 |
^ 'Header: /opt/data/cvs/stx/goodies/libtool3/Inspector2Tab.st,v 1.3 2008-02-17 10:12:10 vranyj1 Exp '
|
8777
|
90 |
! !
|