eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'PluginSupport':

Home

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

Class: PluginSupport


Inheritance:

   Object
   |
   +--PluginSupport

Package:
stx:libbasic
Category:
System-Support
Version:
rev: 1.17 date: 2022/03/08 22:46:11
user: cg
file: PluginSupport.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Provides support functions to run ST/X in an external (web-browser) window as a plugin.
(actually, it could be started from any other application just the same...)

copyright

COPYRIGHT (c) 2005 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

startup
o  embedView: aView inWindowWithID: windowID
embed a view in the external (web-browser-) window

o  showPluginWarning: message inWindowWithID: windowID

o  startClass: anApplicationClass inWindowWithID: windowID parameters: parameters
open up a new instance of an application- or view-class in the external browserWindow

o  startInBrowserWithWindowID: windowID parameters: parameters
take application-info from the browser-parameters,
and open up a new instance of it in the external browserWindow

Usage example(s):

     |v|

     v := StandardSystemView new.
     v openAndWaitUntilVisible.
     self startInBrowserWithWindowID:v id parameters:(Dictionary new).

support
o  getBrowserWindowHeight

o  getBrowserWindowWidth

o  setPluginWindowHandle: windowId


Private classes:

    StartParameterQuery


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 16:12:24 GMT