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

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:NoteBookApplication::ImageViewApplication andSelector:#menu
     (Menu new fromLiteralArrayEncoding:(NoteBookApplication::ImageViewApplication 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
Transcript showCR:'server has terminated really - try with next port'.

o  stopVNCServer

o  vncConnect

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

o  waitForTerminationOfServer

actions viewer
o  startViewer

o  startViewer: viewerCommand

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 20 Apr 2024 11:54:04 GMT