urbanek@host.sk
)Copyright: (C) 2002 Free Software Foundation
- Declared in:
- StepTalk/STEnvironment.h
Description forthcoming.
Method summaryCreates and initialises new scripting environment using default description.
Creates and initialises scripting environment using environment description description.
Creating environment
Returns an instance of
the scripting environment that is shared in the scope
of actual application or process.
Add classes specified by the names in the names array. This method is used internally to add classes provided by modules.
Description forthcoming.
Returns YES
if unknown objects are
being created.
Returns YES
if full scripting is
enabled.
Include scripting capabilities advertised by the bundle
Include scripting capabilities advertised by the framework with name
Initialises scripting environment using default description.
Initialises scripting environment using scripting description aDescription.
Description forthcoming.
Modules
Load StepTalk module with the name
moduleName. Modules are stored in the
Library/StepTalk/Modules
directory.
Named objects and object references
Returns a
dictionary of all named objects in the
environment.
Description forthcoming.
Return object with name objName. If
object is not found int the object dictionary, then
object finders are used to try to find the object.
If object is found by an object finder, then it is put
into the object dicitonary. If there is no object with
given name, nil
is returned.
Distributed objects
Register object
finder finder under the
name name
Register object finder named name. This method will try to find an object finder bundle in Library/StepTalk/Finders directories.
Remove object finder with name name
Remove object named objName.
Enable or disable creation of unknown objects.
Normally you get nil
if you request
for non-existant object. If flag is
YES
then by requesting non-existant
object, name for that object is created and it is
set no STNil.
Note: This method will be probably removed (moved to Smalltalk language bundle).
Full scripting
Enable or disable full
scripting. When full scripting is enabled, you
may send any message to any object.
Register object anObject with name objName.
Selector translation