CodeCompletionHelpMenuView.st
author Claus Gittinger <cg@exept.de>
Mon, 09 Sep 2013 13:21:37 +0200
changeset 13537 968b3d74a2b8
parent 13478 78279a57b313
child 13669 bb9278273984
permissions -rw-r--r--
class: CodeCompletionHelpMenuView added: #initStyle changed: #list:expandTabs:scanForNonStrings:includesNonStrings:redraw: #scrollTo:redraw:
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13478
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
     1
"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
     2
 COPYRIGHT (c) 2013 by Claus Gittinger
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
     3
              All Rights Reserved
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
     4
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
     5
 This software is furnished under a license and may be used
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
     6
 only in accordance with the terms of that license and with the
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
     8
 be provided or otherwise made available to, or used by, any
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
     9
 other person.  No title to or ownership of the software is
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    10
 hereby transferred.
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    11
"
13477
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
MenuView subclass:#CodeCompletionHelpMenuView
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	category:'Interface-Help'
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
13478
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    21
!CodeCompletionHelpMenuView class methodsFor:'documentation'!
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    22
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    23
copyright
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    24
"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    25
 COPYRIGHT (c) 2013 by Claus Gittinger
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    26
              All Rights Reserved
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    27
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    28
 This software is furnished under a license and may be used
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    29
 only in accordance with the terms of that license and with the
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    31
 be provided or otherwise made available to, or used by, any
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    32
 other person.  No title to or ownership of the software is
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    33
 hereby transferred.
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    34
"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    35
!
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    36
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    37
documentation
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    38
"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    39
    used with code completion suggestions
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    40
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    41
    [author:]
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    42
        Claus Gittinger
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    43
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    44
    [See also:]
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    45
        Workspace::CodeCompletionService
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    46
"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
    47
! !
13477
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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
968b3d74a2b8 class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents: 13478
diff changeset
    52
    super initStyle.
968b3d74a2b8 class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents: 13478
diff changeset
    53
    self viewBackground:Color orange lightened lightened.
968b3d74a2b8 class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents: 13478
diff changeset
    54
! !
968b3d74a2b8 class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents: 13478
diff changeset
    55
13477
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
!CodeCompletionHelpMenuView methodsFor:'queries'!
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
wantsFocusWithPointerEnter
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
    "DEFINITELY not, because if we do so,
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
     the editView looses focus on entry, and sends me to hell in its lost focus handling!!
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
     So I will be terminated by a motion"
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
    ^ false
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
! !
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
!CodeCompletionHelpMenuView class methodsFor:'documentation'!
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
version
13537
968b3d74a2b8 class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents: 13478
diff changeset
    69
    ^ '$Header: /cvs/stx/stx/libtool/CodeCompletionHelpMenuView.st,v 1.3 2013-09-09 11:21:37 cg Exp $'
13477
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
!
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
version_CVS
13537
968b3d74a2b8 class: CodeCompletionHelpMenuView
Claus Gittinger <cg@exept.de>
parents: 13478
diff changeset
    73
    ^ '$Header: /cvs/stx/stx/libtool/CodeCompletionHelpMenuView.st,v 1.3 2013-09-09 11:21:37 cg Exp $'
13477
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
! !
89fd61f3c821 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75