libs-steptalk/Documentation/Reference/STContext.html
Stefan Urbanek f8d68f9d0f New files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@21707 72102866-910b-0410-8b05-ffd578937521
2005-09-05 21:16:28 +00:00

232 lines
8.4 KiB
HTML

<html>
<head>
<title>STEnvironment class reference</title>
</head>
<body>
<font face="serif">
<a href="StepTalk.html">Up</a>
<br />
<h1><a name="title$STContext">STEnvironment class reference</a></h1>
<h3>Authors</h3>
<dl>
<dt>Stefan Urbanek</dt>
<dd>
</dd>
</dl>
<p><b>Copyright:</b> (C) 2002 Free Software Foundation</p>
<div>
</div>
<h1><a name="001000000000">
Software documentation for the STContext class
</a></h1>
<h2><a name="class$STContext">STContext</a> : NSObject</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>StepTalk/STContext.h</dd>
</dl>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<hr width="50%" align="left" />
<a href="#_STContext_ivars">Instance Variables</a>
<br/><br/>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="STContext.html#method$STContext-addNamedObjectsFromDictionary:">-addNamedObjectsFromDictionary:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-createsUnknownObjects">-createsUnknownObjects</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-fullScriptingEnabled">-fullScriptingEnabled</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-knownObjectNames">-knownObjectNames</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-objectDictionary">-objectDictionary</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-objectReferenceForObjectWithName:">-objectReferenceForObjectWithName:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-objectWithName:">-objectWithName:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-parentContext">-parentContext</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-removeObjectWithName:">-removeObjectWithName:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-setCreatesUnknownObjects:">-setCreatesUnknownObjects:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-setFullScriptingEnabled:">-setFullScriptingEnabled:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-setObject:forName:">-setObject:forName:</a></li>
<li><a rel="gsdoc" href="STContext.html#method$STContext-setParentContext:">-setParentContext:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$STContext-addNamedObjectsFromDictionary:">addNamedObjectsFromDictionary:&nbsp;</a></h3>
- (void) <b>addNamedObjectsFromDictionary:</b> (NSDictionary*)dict;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-createsUnknownObjects">createsUnknownObjects&nbsp;</a></h3>
- (BOOL) <b>createsUnknownObjects</b>;<br />
<p>
Returns <code>YES</code> if unknown objects are
being created.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-fullScriptingEnabled">fullScriptingEnabled&nbsp;</a></h3>
- (BOOL) <b>fullScriptingEnabled</b>;<br />
<p>
Returns <code>YES</code> if full scripting is
enabled.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-knownObjectNames">knownObjectNames&nbsp;</a></h3>
- (NSArray*) <b>knownObjectNames</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-objectDictionary">objectDictionary&nbsp;</a></h3>
- (NSMutableDictionary*) <b>objectDictionary</b>;<br />
<p>
Returns a dictionary of all named objects in the
environment.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-objectReferenceForObjectWithName:">objectReferenceForObjectWithName:&nbsp;</a></h3>
- (<a rel="gsdoc" href="STObjectReference.html#class$STObjectReference">STObjectReference</a>*) <b>objectReferenceForObjectWithName:</b> (NSString*)name;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-objectWithName:">objectWithName:&nbsp;</a></h3>
- (id) <b>objectWithName:</b> (NSString*)objName;<br />
<p>
Return object with name <var>objName</var>. 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, <var><code>nil</code></var> is returned.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-parentContext">parentContext&nbsp;</a></h3>
- (<a rel="gsdoc" href="#class$STContext">STContext</a>*) <b>parentContext</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-removeObjectWithName:">removeObjectWithName:&nbsp;</a></h3>
- (void) <b>removeObjectWithName:</b> (NSString*)objName;<br />
<p>
Remove object named <var>objName</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-setCreatesUnknownObjects:">setCreatesUnknownObjects:&nbsp;</a></h3>
- (void) <b>setCreatesUnknownObjects:</b> (BOOL)flag;<br />
<p>
</p>
<p>
Enable or disable creation of unknown objects.
Normally you get <code>nil</code> if you request
for non-existant object. If <var>flag</var> is
<code>YES</code> then by requesting non-existant
object, name for that object is created and it is
set no STNil.
</p>
<p>
</p>
<p>
Note: This method will be probably removed (moved
to Smalltalk language bundle).
</p>
<p>
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-setFullScriptingEnabled:">setFullScriptingEnabled:&nbsp;</a></h3>
- (void) <b>setFullScriptingEnabled:</b> (BOOL)flag;<br />
<p>
Full scripting <br /> Enable or disable full
scripting. When full scripting is enabled, you
may send any message to any object.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-setObject:forName:">setObject:&nbsp;forName:&nbsp;</a></h3>
- (void) <b>setObject:</b> (id)anObject<b> forName:</b> (NSString*)objName;<br />
<p>
Register object <var>anObject</var> with name
<var>objName</var>.
</p>
<hr width="25%" align="left" />
<h3><a name="method$STContext-setParentContext:">setParentContext:&nbsp;</a></h3>
- (void) <b>setParentContext:</b> (<a rel="gsdoc" href="#class$STContext">STContext</a>*)context;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<a name="_STContext_ivars"/> <br/><hr width="50%" align="left" />
<h2>Instance Variables for STContext Class</h2>
<h3><a name="ivariable$STContext*createsUnknownObjects">createsUnknownObjects</a></h3>
@protected BOOL <b>createsUnknownObjects</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STContext*fullScripting">fullScripting</a></h3>
@protected BOOL <b>fullScripting</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STContext*objectDictionary">objectDictionary</a></h3>
@protected NSMutableDictionary* <b>objectDictionary</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="ivariable$STContext*parentContext">parentContext</a></h3>
@protected STContext* <b>parentContext</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<br/><hr width="50%" align="left" /><br/>
<br />
<a href="StepTalk.html">Up</a>
</font>
</body>
</html>