Up
Authors
- Stefan Urbanek (
urbanek@host.sk
)
-
Date: Generated at 2024-07-10 08:38:24 +0000
Copyright: (C) 2002 Free Software Foundation
- Declared in:
- StepTalk/STEnvironment.h
Description forthcoming.
Instance Variables
Method summary
+ (
STEnvironment*)
environmentWithDefaultDescription;
Creates and initialises new scripting environment
using default description.
+ (id)
environmentWithDescription: (
STEnvironmentDescription*)aDescription;
Creates and initialises scripting environment using
environment description description.
+ (id)
sharedEnvironment;
Creating environment
Returns an instance of
the scripting environment that is shared in the scope
of actual application or process.
- (void)
addClassesWithNames: (
NSArray*)names;
Add classes specified by the names in the
names array. This method is used
internally to add classes provided by modules.
- (BOOL)
includeBundle: (
NSBundle*)aBundle;
Include scripting capabilities advertised by the
bundle aBundle. If the bundle is already
loaded, nothing happens.
- (BOOL)
includeFramework: (
NSString*)frameworkName;
Include scripting capabilities advertised by the
framework with name frameworkName. If
the framework is already loaded, nothing happens.
- (id)
initWithDefaultDescription;
This is a designated initialiser for the class.
Initialises scripting environment using default
description.
- (id)
initWithDescription: (bycopy
STEnvironmentDescription*)aDescription;
Initialises scripting environment using
scripting description aDescription.
- (void)
loadModule: (
NSString*)moduleName;
Modules
Load StepTalk module with the name
moduleName. Modules are stored in the
Library/StepTalk/Modules
directory.
- (void)
registerObjectFinder: (id)finder
name: (
NSString*)name;
Distributed objects
Register object
finder finder under the
name name
- (void)
registerObjectFinderNamed: (
NSString*)name;
Register object finder named name. This
method will try to find an object finder bundle in
Library/StepTalk/Finders
directories.
- (void)
removeObjectFinderWithName: (
NSString*)name;
Remove object finder with name
name
- (
NSString*)
translateSelector: (
NSString*)aString
forReceiver: (id)anObject;
Selector translation
Instance Variables for STEnvironment Class
@protected NSMutableDictionary* classes;
Description forthcoming.
@protected STEnvironmentDescription* description;
Description forthcoming.
@protected NSMutableDictionary* infoCache;
Description forthcoming.
@protected NSMutableArray* loadedBundles;
Description forthcoming.
@protected NSMutableDictionary* objectFinders;
Description forthcoming.
Up