author | Claus Gittinger <cg@exept.de> |
Wed, 04 Jun 2014 18:09:13 +0200 | |
changeset 14451 | 347554534520 |
parent 14157 | 4467fff63f8c |
child 15566 | 184cea584be5 |
child 16661 | 67944b10ce7e |
permissions | -rw-r--r-- |
9997 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
"{ Package: 'stx:libtool' }" |
|
8777 | 13 |
|
14 |
"{ NameSpace: Tools }" |
|
15 |
||
16 |
Object subclass:#Inspector2Tab |
|
11583
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
17 |
instanceVariableNames:'label view application priority viewHolder' |
8777 | 18 |
classVariableNames:'' |
19 |
poolDictionaries:'' |
|
10459 | 20 |
category:'Interface-Inspector2' |
8777 | 21 |
! |
22 |
||
9997 | 23 |
!Inspector2Tab class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! ! |
|
8777 | 38 |
|
39 |
!Inspector2Tab methodsFor:'accessing'! |
|
40 |
||
41 |
application |
|
42 |
^ application |
|
43 |
||
44 |
"Created: / 16-01-2008 / 16:51:05 / janfrog" |
|
45 |
! |
|
46 |
||
14157
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
47 |
application:anApplicationModelOrBlock |
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
48 |
application := anApplicationModelOrBlock. |
8777 | 49 |
|
50 |
"Created: / 16-01-2008 / 16:51:05 / janfrog" |
|
51 |
"Modified: / 17-02-2008 / 08:58:34 / janfrog" |
|
52 |
! |
|
53 |
||
54 |
label |
|
55 |
^ label |
|
56 |
||
57 |
"Created: / 16-01-2008 / 16:51:05 / janfrog" |
|
58 |
! |
|
59 |
||
60 |
label:aString |
|
61 |
label := aString. |
|
62 |
||
63 |
"Created: / 16-01-2008 / 16:51:05 / janfrog" |
|
64 |
"Modified: / 17-02-2008 / 08:58:41 / janfrog" |
|
65 |
! |
|
66 |
||
67 |
priority |
|
68 |
^ priority ? 25 |
|
69 |
||
70 |
"Created: / 17-02-2008 / 10:05:51 / janfrog" |
|
71 |
! |
|
72 |
||
73 |
priority:something |
|
74 |
priority := something. |
|
75 |
||
76 |
"Created: / 17-02-2008 / 10:05:51 / janfrog" |
|
77 |
! |
|
78 |
||
79 |
text:aStringOrValueModel |
|
80 |
||
81 |
self view:((HVScrollableView for:TextView) model: aStringOrValueModel; yourself) |
|
82 |
||
83 |
"Modified: / 17-02-2008 / 08:58:41 / janfrog" |
|
84 |
"Created: / 07-11-2008 / 08:40:35 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
85 |
! |
|
86 |
||
87 |
view |
|
10874 | 88 |
view isNil ifTrue:[ |
11583
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
89 |
viewHolder notNil ifTrue:[ |
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
90 |
view := viewHolder value |
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
91 |
] ifFalse:[ |
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
92 |
application notNil ifTrue:[ |
14157
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
93 |
view := ApplicationSubView new client: application value |
11583
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
94 |
] |
10874 | 95 |
] |
96 |
]. |
|
8777 | 97 |
^ view |
98 |
||
99 |
"Created: / 16-01-2008 / 16:51:05 / janfrog" |
|
100 |
"Modified: / 17-02-2008 / 10:38:59 / janfrog" |
|
11583
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
101 |
"Modified: / 13-06-2012 / 14:57:25 / cg" |
14157
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
102 |
"Modified: / 24-03-2014 / 18:25:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8777 | 103 |
! |
104 |
||
105 |
view:aView |
|
106 |
view := aView. |
|
107 |
||
108 |
"Created: / 16-01-2008 / 16:51:05 / janfrog" |
|
109 |
"Modified: / 17-02-2008 / 08:58:46 / janfrog" |
|
11583
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
110 |
! |
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
111 |
|
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
112 |
viewHolder:something |
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
113 |
viewHolder := something. |
14157
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
114 |
! |
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
115 |
|
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
116 |
viewOrNil |
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
117 |
^ view |
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
118 |
|
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
119 |
"Created: / 24-03-2014 / 18:23:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8777 | 120 |
! ! |
121 |
||
122 |
!Inspector2Tab class methodsFor:'documentation'! |
|
123 |
||
8802 | 124 |
version_CVS |
14157
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
125 |
^ '$Header: /cvs/stx/stx/libtool/Tools__Inspector2Tab.st,v 1.8 2014-03-24 22:38:21 vrany Exp $' |
8802 | 126 |
! |
127 |
||
8815 | 128 |
version_CVS_jvrany |
14157
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
129 |
^ '$Header: /cvs/stx/stx/libtool/Tools__Inspector2Tab.st,v 1.8 2014-03-24 22:38:21 vrany Exp $' |
9997 | 130 |
! |
131 |
||
132 |
version_SVN |
|
14157
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
133 |
^ '$Id: Tools__Inspector2Tab.st,v 1.8 2014-03-24 22:38:21 vrany Exp $' |
8777 | 134 |
! ! |
14157
4467fff63f8c
Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
11583
diff
changeset
|
135 |