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.6 date: 2014/03/24 09:02:41
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

initialization
o  initStyle
setup viewStyle specifics

o  realize
self computeShape.

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.1.0.0; WebServer 1.663 at exept.de:8081; Sat, 21 Jul 2018 07:25:14 GMT