|
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' }" |
|
13 |
|
14 "{ NameSpace: Tools }" |
|
15 |
|
16 ApplicationModel subclass:#Browslet |
|
17 instanceVariableNames:'' |
|
18 classVariableNames:'' |
|
19 poolDictionaries:'' |
|
20 category:'Interface-Browsers-Browslets' |
|
21 ! |
|
22 |
|
23 !Browslet 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 ! ! |
|
38 |
|
39 !Browslet class methodsFor:'accessing'! |
|
40 |
|
41 all |
|
42 |
|
43 ^self allSubclasses reject:[:cls|cls isAbstract] |
|
44 |
|
45 " |
|
46 Browslet all |
|
47 " |
|
48 |
|
49 "Created: / 04-10-2010 / 22:58:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
50 ! |
|
51 |
|
52 description |
|
53 |
|
54 "Returns a description of given browslet" |
|
55 |
|
56 self subclassResponsibility |
|
57 |
|
58 "Created: / 04-10-2010 / 21:05:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
59 ! |
|
60 |
|
61 label |
|
62 |
|
63 "Answers a human readable label of an browslet such as |
|
64 'Test runner' or 'Senders'" |
|
65 |
|
66 self subclassResponsibility |
|
67 |
|
68 "Created: / 04-10-2010 / 21:03:29 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
69 ! ! |
|
70 |
|
71 !Browslet class methodsFor:'interface specs'! |
|
72 |
|
73 windowSpec |
|
74 "This resource specification was automatically generated |
|
75 by the UIPainter of ST/X." |
|
76 |
|
77 "Do not manually edit this!! If it is corrupted, |
|
78 the UIPainter may not be able to read the specification." |
|
79 |
|
80 " |
|
81 UIPainter new openOnClass:Browslet andSelector:#windowSpec |
|
82 Browslet new openInterface:#windowSpec |
|
83 Browslet open |
|
84 " |
|
85 |
|
86 <resource: #canvas> |
|
87 |
|
88 ^ |
|
89 #(FullSpec |
|
90 name: windowSpec |
|
91 window: |
|
92 (WindowSpec |
|
93 label: 'Browslet' |
|
94 name: 'Browslet' |
|
95 min: (Point 10 10) |
|
96 bounds: (Rectangle 0 0 300 300) |
|
97 ) |
|
98 component: |
|
99 (SpecCollection |
|
100 collection: ( |
|
101 (LabelSpec |
|
102 label: 'No content specified...' |
|
103 name: 'Label' |
|
104 layout: (LayoutFrame 0 0 -25 0.5 0 1 0 0.5) |
|
105 translateLabel: true |
|
106 ) |
|
107 ) |
|
108 |
|
109 ) |
|
110 ) |
|
111 ! ! |
|
112 |
|
113 !Browslet class methodsFor:'testing'! |
|
114 |
|
115 isAbstract |
|
116 |
|
117 ^self == Browslet |
|
118 |
|
119 "Created: / 04-10-2010 / 22:22:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
120 ! ! |
|
121 |
|
122 !Browslet class methodsFor:'documentation'! |
|
123 |
|
124 version_CVS |
|
125 ^ '$Header: /cvs/stx/stx/libtool/Tools__Browslet.st,v 1.1 2011-07-01 13:11:03 cg Exp $' |
|
126 ! |
|
127 |
|
128 version_SVN |
|
129 ^ '§Id: Tools__Browslet.st 7637 2010-10-04 21:44:44Z vranyj1 §' |
|
130 ! ! |