@doc hierarchy="GMLDOM">
Must be implemented by classes that support Dynamic Expressions
(c) SAP AG 2003-2006. All rights reserved.
///////////////////////////////////////////////////////////////////////
// CLASS HEADER
Prototype IDESupport;
// Private property for performence capabilities:
virtual readonly property dynExpContext = ^DynExpContext;
///////////////////////////////////////////////////////////////////////
// METHODS
<@doc>
Gets the class' dynamic expressions context
A collection of parameters
abstract method getDynExpContext(params);
<@doc>
Get the DE dependencies and return in an array :
[
{infoset:'infid', field:'fid'}
{infoset:'infid', field:'fid'}
...
]
A collection of parameters
A property ID
method getDEDependencies(propertyID)
var dynExpCtxt = this.getDynExpContext(propertyID);
// Check the control 'value' property:
var dynexpEngine = $ENV.dynexp; // Gettin the DynExp engine
if(null == dynexpEngine)
{
WRITE('Fatal error. Cannot use DE engine. ');
return null;
}
dynexpEngine.setDynExpContext(dynExpCtxt);
dynexpEngine.setParsingByID(true);
dynexpEngine.parse(this[propertyID]);
// Get the dependencies:
return dynexpEngine.getDependenciesColl();
end