author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 29 Aug 2013 21:55:45 +0100 | |
branch | jv |
changeset 13469 | 544e7ced18a0 |
parent 12431 | 9f0c59c742d5 |
child 13605 | 30dc368db413 |
permissions | -rw-r--r-- |
10263 | 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 |
XEmbedContainerView subclass:#XTermView |
|
15 |
instanceVariableNames:'pid wid wd' |
|
16 |
classVariableNames:'XTermType XTermExecutable' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'Interface-Tools-Terminal' |
|
19 |
! |
|
20 |
||
21 |
!XTermView class methodsFor:'documentation'! |
|
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! ! |
|
36 |
||
37 |
!XTermView class methodsFor:'class initialization'! |
|
38 |
||
39 |
initialize |
|
40 |
||
41 |
XTermType := #unavailable. |
|
11831 | 42 |
#(urxvt rxvt xterm) do:[:eachXtermCommandSymbol| |
43 |
(XTermExecutable := OperatingSystem pathOfCommand:eachXtermCommandSymbol) notNil ifTrue:[ |
|
44 |
XTermType := eachXtermCommandSymbol. |
|
45 |
^ self |
|
46 |
]. |
|
10263 | 47 |
]. |
48 |
||
49 |
" |
|
50 |
XTermView initialize |
|
51 |
" |
|
52 |
||
53 |
"Created: / 09-12-2010 / 23:15:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
54 |
! ! |
|
55 |
||
56 |
!XTermView class methodsFor:'defaults'! |
|
57 |
||
58 |
defaultFont |
|
59 |
||
60 |
DefaultFont ifNotNil:[^CodeView defaultFont]. |
|
61 |
^super defaultFont. |
|
62 |
||
63 |
"Created: / 25-11-2010 / 12:50:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
64 |
! |
|
65 |
||
66 |
updateStyleCache |
|
67 |
||
68 |
super updateStyleCache. |
|
69 |
"/DefaultViewBackgroundColor := Color black. |
|
70 |
||
71 |
"Created: / 25-11-2010 / 12:21:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
72 |
! ! |
|
73 |
||
74 |
!XTermView class methodsFor:'queries'! |
|
75 |
||
76 |
isAvailable |
|
77 |
||
78 |
^XTermType ~= #unavailable |
|
79 |
||
80 |
"Created: / 09-12-2010 / 23:21:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
81 |
! ! |
|
82 |
||
83 |
!XTermView methodsFor:'accessing'! |
|
84 |
||
85 |
workingDirectory: aStringOrFilename |
|
86 |
||
87 |
aStringOrFilename ifNotNil: |
|
88 |
[wd := aStringOrFilename asString]. |
|
89 |
||
90 |
"Created: / 25-11-2010 / 12:32:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
91 |
! ! |
|
92 |
||
93 |
!XTermView methodsFor:'event handling'! |
|
94 |
||
95 |
clientUnplugged: clientInitiated |
|
96 |
||
97 |
| app | |
|
98 |
||
99 |
super clientUnplugged: clientInitiated. |
|
100 |
||
101 |
clientInitiated ifFalse:[^self]. |
|
102 |
||
103 |
"But hackish..." |
|
104 |
app := self application. |
|
105 |
app ifNil:[^self]. |
|
12224 | 106 |
(app class == FileApplicationNoteBook::Terminal) ifTrue:[ |
107 |
app doClose. |
|
108 |
^self. |
|
109 |
]. |
|
10263 | 110 |
#(removeWorkspace "WorkspaceApplication" |
111 |
bufferMenuRemoveCurrentBuffer "NewSystemBrowser" |
|
112 |
) do:[:closeSelector| |
|
12224 | 113 |
(app topApplication respondsTo: closeSelector) ifTrue: [ |
114 |
app topApplication perform: closeSelector. |
|
115 |
^self |
|
116 |
] |
|
117 |
]. |
|
10263 | 118 |
|
119 |
"Created: / 06-06-2011 / 10:04:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
120 |
! ! |
|
121 |
||
122 |
!XTermView methodsFor:'initialization & release'! |
|
123 |
||
124 |
destroy |
|
125 |
||
126 |
super destroy. |
|
127 |
pid ifNotNil: |
|
128 |
[OperatingSystem terminateProcess: pid]. |
|
129 |
||
130 |
"Created: / 25-11-2010 / 10:48:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
131 |
"Modified: / 01-06-2011 / 13:13:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
132 |
! |
|
133 |
||
134 |
initStyle |
|
135 |
||
136 |
"Created: / 25-11-2010 / 12:14:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
137 |
! |
|
138 |
||
139 |
initialize |
|
140 |
||
141 |
super initialize. |
|
142 |
wd := Filename defaultDirectory asString |
|
143 |
||
144 |
"Created: / 25-11-2010 / 12:34:55 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
145 |
! ! |
|
146 |
||
12216
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
147 |
!XTermView methodsFor:'menu'! |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
148 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
149 |
doClear |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
150 |
"reset the scroll-range etc, clear the text buffer" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
151 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
152 |
"/ rangeStartLine := 1. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
153 |
"/ rangeEndLine := numberOfLines. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
154 |
"/ |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
155 |
"/ self normal. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
156 |
"/ self clear. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
157 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
158 |
"Created: / 03-04-2007 / 08:58:59 / cg" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
159 |
"Modified: / 03-04-2012 / 10:34:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
160 |
! |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
161 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
162 |
doReset |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
163 |
"reset the scroll-range; |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
164 |
may have to reset more in the future (current font-set; color; etc)" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
165 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
166 |
"/ rangeStartLine := 1. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
167 |
"/ rangeEndLine := numberOfLines. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
168 |
"/ |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
169 |
"/ self normal. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
170 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
171 |
"Modified: / 03-04-2012 / 10:34:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
172 |
! |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
173 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
174 |
doSendInterrupt |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
175 |
"send an INT-signal to the shell (UNIX only)" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
176 |
pid notNil ifTrue:[ |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
177 |
OperatingSystem sendSignal:(OperatingSystem sigINT) to:pid negated. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
178 |
]. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
179 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
180 |
"Modified: / 10-06-1998 / 17:49:49 / cg" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
181 |
"Modified: / 03-04-2012 / 10:34:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
182 |
! |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
183 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
184 |
doSendKillSignal |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
185 |
"send a KILL-signal to the shell (UNIX only)" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
186 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
187 |
pid notNil ifTrue:[ |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
188 |
OperatingSystem sendSignal:(OperatingSystem sigKILL) to:pid negated. |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
189 |
] |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
190 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
191 |
"Modified: / 03-04-2012 / 10:34:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
192 |
! ! |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
193 |
|
10263 | 194 |
!XTermView methodsFor:'mimicry'! |
195 |
||
12237 | 196 |
defaultFileNameForFileDialog |
197 |
||
198 |
^nil |
|
199 |
||
200 |
"Created: / 03-05-2012 / 12:29:04 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
201 |
! |
|
202 |
||
203 |
lineLimit:aSmallInteger |
|
204 |
||
205 |
"Nothing" |
|
206 |
||
207 |
"Created: / 03-04-2012 / 10:42:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
208 |
! |
|
209 |
||
12260 | 210 |
list |
211 |
^nil |
|
212 |
||
213 |
"Created: / 17-07-2012 / 21:11:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
214 |
! |
|
215 |
||
12237 | 216 |
modified |
217 |
||
218 |
^false |
|
219 |
||
220 |
"Created: / 03-05-2012 / 11:42:36 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
221 |
! |
|
222 |
||
223 |
save |
|
224 |
||
225 |
Dialog warn: 'Not yet implemented for XTermView' |
|
226 |
||
227 |
"Created: / 03-04-2012 / 10:43:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
228 |
! |
|
229 |
||
12216
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
230 |
selectionAsString |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
231 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
232 |
^ (device getSelectionOwnerOf: #PRIMARY) = drawableId ifTrue:[ |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
233 |
device getClipboardText:#selection for:drawableId |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
234 |
] ifFalse:[ |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
235 |
nil |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
236 |
] |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
237 |
|
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
238 |
"Created: / 03-04-2012 / 10:30:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
239 |
! |
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
240 |
|
12237 | 241 |
sendLine:aString |
242 |
self halt:'please define sendLine: here'. |
|
243 |
||
244 |
"Created: / 03-04-2012 / 10:33:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
245 |
! |
|
246 |
||
10263 | 247 |
shellTerminateAction: aBlock |
248 |
||
249 |
"Nothing to do" |
|
250 |
||
251 |
"Created: / 25-11-2010 / 12:37:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
252 |
! |
|
253 |
||
254 |
startShellIn:aUnixFilename |
|
255 |
||
256 |
"Nothing to do. just to be compatible with TerminalView" |
|
257 |
||
258 |
"Created: / 25-11-2010 / 12:38:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
259 |
! ! |
|
260 |
||
261 |
!XTermView methodsFor:'private'! |
|
262 |
||
263 |
xcolorNameFor: aColor |
|
264 |
||
265 |
^'rgb:%1/%2/%3' |
|
266 |
bindWith: (aColor redByte printStringRadix: 16) |
|
267 |
with: (aColor greenByte printStringRadix: 16) |
|
268 |
with: (aColor blueByte printStringRadix: 16) |
|
269 |
||
270 |
"Created: / 25-11-2010 / 12:25:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
271 |
! |
|
272 |
||
273 |
xtermArgs |
|
274 |
||
275 |
| args | |
|
276 |
||
277 |
args := OrderedCollection new. |
|
278 |
args |
|
279 |
add: self xtermExecutable; |
|
280 |
add: (XTermType == #rxvt ifTrue:['-embed'] ifFalse:['-into']); add: drawableId address printString; |
|
281 |
add: '-j'; |
|
282 |
add: '-font'; add: (device fullFontNameOf: (font fontId)); |
|
283 |
add: '-fg'; add: 'white'"(self xcolorNameFor: foreground)"; |
|
284 |
add: '-bg'; add: 'black'"(self xcolorNameFor: viewBackground)". |
|
285 |
||
286 |
XTermType == #rxvt ifTrue:[ |
|
287 |
args |
|
288 |
add: '-tn'; add: 'xterm' |
|
289 |
]. |
|
290 |
||
291 |
^args asArray |
|
292 |
||
293 |
"Modified: / 10-06-2011 / 19:51:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
294 |
! |
|
295 |
||
296 |
xtermExecutable |
|
297 |
||
298 |
^ XTermExecutable |
|
299 |
||
300 |
"Modified: / 09-12-2010 / 23:16:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
301 |
! ! |
|
302 |
||
303 |
!XTermView methodsFor:'queries'! |
|
304 |
||
305 |
preferredExtent |
|
306 |
"return my preferred extent - this is the minimum size I would like to have. |
|
307 |
If the preferredExtent has been set, that one is returned. |
|
308 |
Otherwise, if there are any components, a rectangle enclosing them |
|
309 |
is returned. Otherwise, the actual extent is returned." |
|
310 |
||
311 |
"/ If I have an explicit preferredExtent.. |
|
312 |
explicitExtent notNil ifTrue:[ |
|
313 |
^ explicitExtent |
|
314 |
]. |
|
315 |
||
316 |
"/ If I have a cached preferredExtent value.. |
|
317 |
preferredExtent notNil ifTrue:[ |
|
318 |
^ preferredExtent |
|
319 |
]. |
|
320 |
||
321 |
^(font width * 80) @ (font height * 25) |
|
322 |
||
323 |
"Modified: / 19-07-1996 / 20:43:32 / cg" |
|
324 |
"Created: / 25-11-2010 / 12:51:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
325 |
! ! |
|
326 |
||
327 |
!XTermView methodsFor:'realization'! |
|
328 |
||
329 |
postRealize |
|
330 |
||
331 |
super postRealize. |
|
332 |
XTermType ~= #rxvt ifTrue:[self sizeChanged: nil] |
|
333 |
||
334 |
"Created: / 25-11-2010 / 11:08:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
335 |
"Modified: / 13-12-2010 / 22:08:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
336 |
! |
|
337 |
||
338 |
preRealize |
|
339 |
super preRealize. |
|
340 |
clientViewId isNil ifTrue:[ |
|
341 |
pid := OperatingSystem |
|
342 |
exec:self xtermExecutable |
|
343 |
withArguments:self xtermArgs |
|
344 |
fork:true |
|
345 |
inDirectory: wd. |
|
346 |
] |
|
347 |
||
348 |
"Created: / 25-11-2010 / 10:51:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
349 |
"Modified: / 02-06-2011 / 23:27:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
350 |
! ! |
|
351 |
||
10704
015027d5c1a2
added: #isTextView (sent by recent WorkspaceApplication)
vrany
parents:
10263
diff
changeset
|
352 |
!XTermView methodsFor:'testing'! |
015027d5c1a2
added: #isTextView (sent by recent WorkspaceApplication)
vrany
parents:
10263
diff
changeset
|
353 |
|
015027d5c1a2
added: #isTextView (sent by recent WorkspaceApplication)
vrany
parents:
10263
diff
changeset
|
354 |
isTextView |
015027d5c1a2
added: #isTextView (sent by recent WorkspaceApplication)
vrany
parents:
10263
diff
changeset
|
355 |
|
12216
5698c277f043
- Improvements in FileBrowserV2/V3
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12128
diff
changeset
|
356 |
^true |
10704
015027d5c1a2
added: #isTextView (sent by recent WorkspaceApplication)
vrany
parents:
10263
diff
changeset
|
357 |
|
015027d5c1a2
added: #isTextView (sent by recent WorkspaceApplication)
vrany
parents:
10263
diff
changeset
|
358 |
"Created: / 13-09-2011 / 11:22:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
015027d5c1a2
added: #isTextView (sent by recent WorkspaceApplication)
vrany
parents:
10263
diff
changeset
|
359 |
! ! |
015027d5c1a2
added: #isTextView (sent by recent WorkspaceApplication)
vrany
parents:
10263
diff
changeset
|
360 |
|
10263 | 361 |
!XTermView class methodsFor:'documentation'! |
362 |
||
363 |
version_CVS |
|
11831 | 364 |
^ '$Header: /cvs/stx/stx/libtool/XTermView.st,v 1.3 2012-10-01 10:46:37 stefan Exp $' |
10263 | 365 |
! |
366 |
||
12431
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12401
diff
changeset
|
367 |
version_HG |
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12401
diff
changeset
|
368 |
|
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12401
diff
changeset
|
369 |
^ '$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
|
370 |
! |
9f0c59c742d5
Added LintRuleSettingsApplication and LintRuleEditDialog to define user-defined rule sets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
12401
diff
changeset
|
371 |
|
10263 | 372 |
version_SVN |
373 |
^ '§Id: XTermView.st 7802 2011-07-05 18:33:36Z vranyj1 §' |
|
374 |
! ! |
|
375 |
||
12401
4714b9640528
Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
376 |
|
10263 | 377 |
XTermView initialize! |