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 |
!Inspector2Tab class methodsFor:'documentation'!
|
|
13 |
|
|
14 |
version_SVN
|
|
15 |
^ '$Header: /cvs/stx/stx/libtool/Tools__Inspector2Tab.st,v 1.1 2009-09-23 17:01:50 fm Exp $'
|
|
16 |
! !
|
|
17 |
|
|
18 |
!Inspector2Tab methodsFor:'accessing'!
|
|
19 |
|
|
20 |
application
|
|
21 |
^ application
|
|
22 |
|
|
23 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
24 |
!
|
|
25 |
|
|
26 |
application:anApplicationModel
|
|
27 |
application := anApplicationModel.
|
|
28 |
|
|
29 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
30 |
"Modified: / 17-02-2008 / 08:58:34 / janfrog"
|
|
31 |
!
|
|
32 |
|
|
33 |
label
|
|
34 |
^ label
|
|
35 |
|
|
36 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
37 |
!
|
|
38 |
|
|
39 |
label:aString
|
|
40 |
label := aString.
|
|
41 |
|
|
42 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
43 |
"Modified: / 17-02-2008 / 08:58:41 / janfrog"
|
|
44 |
!
|
|
45 |
|
|
46 |
priority
|
|
47 |
^ priority ? 25
|
|
48 |
|
|
49 |
"Created: / 17-02-2008 / 10:05:51 / janfrog"
|
|
50 |
!
|
|
51 |
|
|
52 |
priority:something
|
|
53 |
priority := something.
|
|
54 |
|
|
55 |
"Created: / 17-02-2008 / 10:05:51 / janfrog"
|
|
56 |
!
|
|
57 |
|
|
58 |
text:aStringOrValueModel
|
|
59 |
|
|
60 |
self view:((HVScrollableView for:TextView) model: aStringOrValueModel; yourself)
|
|
61 |
|
|
62 |
"Modified: / 17-02-2008 / 08:58:41 / janfrog"
|
|
63 |
"Created: / 07-11-2008 / 08:40:35 / Jan Vrany <vranyj1@fel.cvut.cz>"
|
|
64 |
!
|
|
65 |
|
|
66 |
view
|
|
67 |
view ifNil:
|
|
68 |
[application ifNotNil:
|
|
69 |
[view := ApplicationSubView new client: application]].
|
|
70 |
^ view
|
|
71 |
|
|
72 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
73 |
"Modified: / 17-02-2008 / 10:38:59 / janfrog"
|
|
74 |
!
|
|
75 |
|
|
76 |
view:aView
|
|
77 |
view := aView.
|
|
78 |
|
|
79 |
"Created: / 16-01-2008 / 16:51:05 / janfrog"
|
|
80 |
"Modified: / 17-02-2008 / 08:58:46 / janfrog"
|
|
81 |
! !
|
|
82 |
|
|
83 |
!Inspector2Tab class methodsFor:'documentation'!
|
|
84 |
|
|
85 |
version
|
|
86 |
^ '$Header: /cvs/stx/stx/libtool/Tools__Inspector2Tab.st,v 1.1 2009-09-23 17:01:50 fm Exp $'
|
|
87 |
! !
|