Closed shakerin closed 5 years ago
a new class is extended from TemplateLibrary to separate general
frame files from command frame files
general frame files are the file that are addressed as "frame file"
through the projects
command frame files are the files that are going to be used for
executing python commands
While generating text from objects created in TemplateLibrary
user has to call the 'getGeneratedCode' method from the TemplateInfo
class
In case of CommandLibrary, user has to call 'runGeneratedCode' instead
By including CommandLibrary as a separate class, confusion will be
avoided between frame file and command frame file
frame file is addressed as 'frame file', command frame file is
addressed as 'command file' throughout the project
this file can contain multiple frame object along with other texts
it can also contain basic coding commands such as for loop/ if loop
Example: (Probable Structure)
This is a frameObj(ÖbjectName1). This can be done with
frameObj(ObjectName2).
frameObj(ObjectName3)
cmdframeObj(ObjectName4)
decide if frame files are enough to contain scripts/functional codes or another type of file is required to enable script running from code tasks