eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FileApplicationNoteBook::XViewApplication':

Home

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

Class: XViewApplication (private in FileApplicationNoteBook

This class is only visible from within FileApplicationNoteBook.

Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--AbstractFileApplicationNoteBookComponent
            |
            +--FileApplicationNoteBook::XViewApplication

Package:
stx:libtool
Category:
Interface-Tools-File
Owner:
FileApplicationNoteBook

Class protocol:

defaults
o  maxNumberOfVNCRestarts

o  mimeTypeUnixApplicationMapping
here insert the application and mime type pairs to open by XviewApplication

o  tabStringFor: aApplicationType
the formatString shown in a tab (language translated)

o  unixVNCCommand

o  wantNewApplicationAnyway
does the subapp want separate new app tabs,
or reuse any already open isntance of it?

interface specs
o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

Usage example(s):

     UIPainter new openOnClass:FileApplicationNoteBook::XViewApplication andSelector:#windowSpec
     FileApplicationNoteBook::XViewApplication new openInterface:#windowSpec
     FileApplicationNoteBook::XViewApplication open

menu specs
o  menu
This resource specification was automatically generated
by the MenuEditor of ST/X.

Usage example(s):

     MenuEditor new openOnClass:FileApplicationNoteBook::XViewApplication andSelector:#menu
     (Menu new fromLiteralArrayEncoding:(FileApplicationNoteBook::XViewApplication menu)) startUp

queries
o  canOpenItem: anItem
Dialog warn:'Cannot start a viewer for ' , anItem fileName baseName.


Instance protocol:

accessing
o  xView
return the value of the instance variable 'imageView' (automatically generated)

o  xView: something
set the value of the instance variable 'imageView' (automatically generated)

actions
o  changeInformation

o  setupXView
if the mainView is a FileBrowser, take the y extent because size of notebook can be changed

actions VNC
o  setupView

o  startVNCserver
this block must return a pid

o  stopVNCServer

o  vncConnect

o  vncServerTerminated
Transcript showCR:'vnc server has terminated'.

o  waitForTerminationOfServer

actions viewer
o  startViewer

o  startViewer: viewerCommand
this block must return a pid

o  startXterm

o  stopViewer

o  viewerTerminated
Transcript showCR:'viewer has terminated'.

initialization & release
o  postBuildXView: aWidget

o  postOpenWith: aBuilder
only invoked if the application not started from a master

o  release
Transcript showCR:'release'.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:54:58 GMT