eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::Toolbox':

Home

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

Class: Toolbox (in Tools)


Inheritance:

   Object
   |
   +--Tools::Toolbox
      |
      +--Tools::GenericToolbox

Package:
stx:libtool
Category:
Interface-Tools
Version:
rev: 1.3 date: 2014/02/25 10:41:16
user: vrany
file: Tools__Toolbox.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
Jan Vrany <jan.vrany@fit.cvut.cz>

Description:


Concrete subclasses provide lenguage-specfici services for other tools
like list of classes/globals used in a method, list of messages sent by 
this method, senders/implementors of a selector and so on.

NOTE: Lot of code used to be directly in tools, namely NewSystemBrowser.
The code should be moved to toolbox classes to allow reuse and to allow
for multiple languages (Smalltalk / Java / JavaScript / Ruby).


[instance variables:]

[class variables:]


Related information:



Class protocol:

instance creation
o  new
return an initialized instance


Instance protocol:

accessing
o  browser

o  browser: aNewSystemBrowser

o  environment

o  environment: env

accessing-methods
o  globalsReferencedByMethods: methods
Returns a list of globals (classes) referenced by given methods

** This method raises an error - it must be redefined in concrete classes **

initialization
o  initialize
Invoked when a new instance is created.

usage example(s):

super initialize.   -- commented since inherited method does nothing

menu-methods
o  messagesMenuFor: actionSelector withMethods: methods withMethodSelectors: withMethodSelectors withSentSelectors: withSentSelectors withSelfSelectorsOnly: withSelfSelectorsOnly

** This method raises an error - it must be redefined in concrete classes **

private
o  ensureBrowser



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 09:32:22 GMT