author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 29 Aug 2013 12:20:29 +0100 | |
branch | jv |
changeset 13468 | 444ac2aa4fd6 |
parent 12431 | 9f0c59c742d5 |
child 15566 | 184cea584be5 |
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 |
||
47 |
application:anApplicationModel |
|
48 |
application := anApplicationModel. |
|
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:[ |
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
93 |
view := ApplicationSubView new client: application |
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" |
8777 | 102 |
! |
103 |
||
104 |
view:aView |
|
105 |
view := aView. |
|
106 |
||
107 |
"Created: / 16-01-2008 / 16:51:05 / janfrog" |
|
108 |
"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
|
109 |
! |
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 |
viewHolder:something |
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
112 |
viewHolder := something. |
8777 | 113 |
! ! |
114 |
||
115 |
!Inspector2Tab class methodsFor:'documentation'! |
|
116 |
||
8802 | 117 |
version_CVS |
11583
8775311ee2f9
lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents:
10874
diff
changeset
|
118 |
^ '$Header: /cvs/stx/stx/libtool/Tools__Inspector2Tab.st,v 1.7 2012-06-13 12:59:31 cg Exp $' |
8802 | 119 |
! |
120 |
||
8815 | 121 |
version_CVS_jvrany |
9997 | 122 |
^ '§Header: /opt/data/cvs/stx/goodies/libtool3/Inspector2Tab.st,v 1.3 2008-02-17 10:12:10 vranyj1 Exp §' |
123 |
! |
|
124 |
||
12431
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12401
diff
changeset
|
125 |
version_HG |
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12401
diff
changeset
|
126 |
|
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12401
diff
changeset
|
127 |
^ '$Changeset: <not expanded> $' |
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12401
diff
changeset
|
128 |
! |
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12401
diff
changeset
|
129 |
|
9997 | 130 |
version_SVN |
131 |
^ '§Id: Tools__Inspector2Tab.st 7486 2009-10-26 22:06:24Z vranyj1 §' |
|
8777 | 132 |
! ! |
12401
4714b9640528
Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
133 |