working on code generation

This commit is contained in:
paul
2024-09-26 18:53:21 +05:30
parent 8c45f896f0
commit 7bba819c38
8 changed files with 194 additions and 6 deletions

View File

@@ -171,6 +171,9 @@ class Widget extends React.Component {
this.generateCode = this.generateCode.bind(this)
this.getImports = this.getImports.bind(this)
this.getRequirements = this.getRequirements.bind(this)
// this.openRenaming = this.openRenaming.bind(this)
this.isSelected = this.isSelected.bind(this)
@@ -334,11 +337,11 @@ class Widget extends React.Component {
return this.constructor.widgetType
}
getRequirements = () => {
getRequirements(){
return this.constructor.requirements
}
getImports = () => {
getImports(){
return this.constructor.requiredImports
}