eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'CodeCompletionHelpView':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: CodeCompletionHelpView


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--View
               |
               +--CodeCompletionHelpView

Package:
stx:libtool
Category:
Interface-Help
Version:
rev: 1.14 date: 2019/02/14 14:48:37
user: cg
file: CodeCompletionHelpView.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
Claus Gittinger

Description:


used with code completion suggestions


Related information:

    ActiveHelp
    Workspace::CodeCompletionService

Class protocol:

instance creation
o  with: aView
create a talking-view wrapping some other view

usage example(s):

     (ActiveHelpView with:(TextView new)) realize
     (ActiveHelpView with:(TextView new)) open
     (ActiveHelpView with:(Button label:'ok')) open


Instance protocol:

accessing
o  editView: aView

o  withView: aView
set the component view

event handling
o  delayedClose

o  delayedDestroy

o  delayedUnmap

o  focusOut
(comment from inherited method)
lost keyboard focus (via the window manager).
Nothing done here

o  handlesButtonMotion: state inView: aView

o  handlesButtonPress: state inView: aView

o  handlesButtonRelease: state inView: aView

o  handlesKeyPress: key inView: aView

o  handlesKeyRelease: key inView: aView

o  handlesPointerEnter: state inView: aView

o  handlesPointerLeave: state inView: aView

o  installDelayedClose

o  keyPress: key x: x y: y view: aView
(subViews notNil and:[aView == (subViews firstIfEmpty:nil)]) ifTrue:[

o  pointerEnter: state x: x y: y view: view

o  pointerLeave: state view: view

initialization
o  checkForClosedEditor

o  initStyle
setup viewStyle specifics

o  realize
self computeShape.

o  release

private
o  resizeToFit
resize myself to make the component view fit

queries
o  isPopUpView
return true - I am a popUp type of view (no decoration, pop-to-top)

o  wantsFocusWithButtonPress
DEFINITELY not, because if we do so,
the editView looses focus on click, and sends me to hell in its lost focus handling!
So I will be terminated by a buttonPress, before I get a chance to handle the buttonRelease
(in which I fire my action)

o  wantsFocusWithPointerEnter
DEFINITELY not, because if we do so,
the editView looses focus on entry, and sends me to hell in its lost focus handling!
So I will be terminated by a motion



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 29 Mar 2024 00:44:58 GMT