author | Claus Gittinger <cg@exept.de> |
Tue, 24 Feb 2015 12:48:49 +0100 | |
changeset 15393 | 118cb3a35f14 |
parent 13669 | bb9278273984 |
child 16051 | 65b2ad2b4723 |
permissions | -rw-r--r-- |
13478 | 1 |
" |
2 |
COPYRIGHT (c) 2013 by Claus Gittinger |
|
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 |
" |
|
13477 | 12 |
"{ Package: 'stx:libtool' }" |
13 |
||
14 |
MenuView subclass:#CodeCompletionHelpMenuView |
|
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'Interface-Help' |
|
19 |
! |
|
20 |
||
13478 | 21 |
!CodeCompletionHelpMenuView class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2013 by Claus Gittinger |
|
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 |
documentation |
|
38 |
" |
|
39 |
used with code completion suggestions |
|
40 |
||
41 |
[author:] |
|
42 |
Claus Gittinger |
|
43 |
||
44 |
[See also:] |
|
45 |
Workspace::CodeCompletionService |
|
46 |
" |
|
47 |
! ! |
|
13477 | 48 |
|
13537
968b3d74a2b8
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13478
diff
changeset
|
49 |
!CodeCompletionHelpMenuView methodsFor:'initialization'! |
968b3d74a2b8
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13478
diff
changeset
|
50 |
|
968b3d74a2b8
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13478
diff
changeset
|
51 |
initStyle |
13669
bb9278273984
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13537
diff
changeset
|
52 |
|defaultFont| |
bb9278273984
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13537
diff
changeset
|
53 |
|
13537
968b3d74a2b8
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13478
diff
changeset
|
54 |
super initStyle. |
13669
bb9278273984
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13537
diff
changeset
|
55 |
defaultFont := StyleSheet fontAt:#'activeHelp.font' default:nil. |
bb9278273984
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13537
diff
changeset
|
56 |
defaultFont notNil ifTrue:[ |
bb9278273984
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13537
diff
changeset
|
57 |
self font:defaultFont |
bb9278273984
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13537
diff
changeset
|
58 |
]. |
13537
968b3d74a2b8
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13478
diff
changeset
|
59 |
self viewBackground:Color orange lightened lightened. |
968b3d74a2b8
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13478
diff
changeset
|
60 |
! ! |
968b3d74a2b8
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13478
diff
changeset
|
61 |
|
13477 | 62 |
!CodeCompletionHelpMenuView methodsFor:'queries'! |
63 |
||
64 |
wantsFocusWithPointerEnter |
|
65 |
"DEFINITELY not, because if we do so, |
|
66 |
the editView looses focus on entry, and sends me to hell in its lost focus handling!! |
|
67 |
So I will be terminated by a motion" |
|
68 |
||
69 |
^ false |
|
70 |
! ! |
|
71 |
||
72 |
!CodeCompletionHelpMenuView class methodsFor:'documentation'! |
|
73 |
||
74 |
version |
|
13669
bb9278273984
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13537
diff
changeset
|
75 |
^ '$Header: /cvs/stx/stx/libtool/CodeCompletionHelpMenuView.st,v 1.4 2013-11-08 11:48:51 cg Exp $' |
13477 | 76 |
! |
77 |
||
78 |
version_CVS |
|
13669
bb9278273984
class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents:
13537
diff
changeset
|
79 |
^ '$Header: /cvs/stx/stx/libtool/CodeCompletionHelpMenuView.st,v 1.4 2013-11-08 11:48:51 cg Exp $' |
13477 | 80 |
! ! |
81 |