diff --git a/.gitignore b/.gitignore index 378eac2..5778a84 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ build +.build \ No newline at end of file diff --git a/sling/gui/canvaswidget/build.ss b/sling/gui/canvaswidget/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/canvaswidget/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/canvaswidget/MainWidget.sling b/sling/gui/canvaswidget/src/app/MainWidget.sling similarity index 100% rename from sling/gui/canvaswidget/MainWidget.sling rename to sling/gui/canvaswidget/src/app/MainWidget.sling diff --git a/sling/gui/canvaswidget/src/project.slon b/sling/gui/canvaswidget/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/canvaswidget/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/checkboxwidget/build.ss b/sling/gui/checkboxwidget/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/checkboxwidget/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/checkboxwidget/MainWidget.sling b/sling/gui/checkboxwidget/src/app/MainWidget.sling similarity index 100% rename from sling/gui/checkboxwidget/MainWidget.sling rename to sling/gui/checkboxwidget/src/app/MainWidget.sling diff --git a/sling/gui/checkboxwidget/module.pling b/sling/gui/checkboxwidget/src/app/module.pling similarity index 100% rename from sling/gui/checkboxwidget/module.pling rename to sling/gui/checkboxwidget/src/app/module.pling diff --git a/sling/gui/checkboxwidget/src/fonts/unibook.otf b/sling/gui/checkboxwidget/src/fonts/unibook.otf new file mode 100644 index 0000000..94e1cd8 Binary files /dev/null and b/sling/gui/checkboxwidget/src/fonts/unibook.otf differ diff --git a/sling/gui/checkboxwidget/src/project.slon b/sling/gui/checkboxwidget/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/checkboxwidget/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/custom-rendering-widget/build.ss b/sling/gui/custom-rendering-widget/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/custom-rendering-widget/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/custom-rendering-widget/MainWidget.sling b/sling/gui/custom-rendering-widget/src/app/MainWidget.sling similarity index 97% rename from sling/gui/custom-rendering-widget/MainWidget.sling rename to sling/gui/custom-rendering-widget/src/app/MainWidget.sling index ad511c6..4949c9a 100644 --- a/sling/gui/custom-rendering-widget/MainWidget.sling +++ b/sling/gui/custom-rendering-widget/src/app/MainWidget.sling @@ -29,8 +29,8 @@ class #widget #main: class MyCustomWidget is RenderableWidget #widget { - prop widgetText as string - prop widgetImage as Image + pvar widgetText as string + pvar widgetImage as Image func render(ctx as RenderingContext) override { diff --git a/sling/gui/custom-rendering-widget/eqelalogo.png b/sling/gui/custom-rendering-widget/src/app/eqelalogo.png similarity index 100% rename from sling/gui/custom-rendering-widget/eqelalogo.png rename to sling/gui/custom-rendering-widget/src/app/eqelalogo.png diff --git a/sling/gui/custom-rendering-widget/module.pling b/sling/gui/custom-rendering-widget/src/app/module.pling similarity index 100% rename from sling/gui/custom-rendering-widget/module.pling rename to sling/gui/custom-rendering-widget/src/app/module.pling diff --git a/sling/gui/custom-rendering-widget/src/project.slon b/sling/gui/custom-rendering-widget/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/custom-rendering-widget/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/datagrid/build.ss b/sling/gui/datagrid/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/datagrid/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/datagrid/MainWidget.sling b/sling/gui/datagrid/src/app/MainWidget.sling similarity index 99% rename from sling/gui/datagrid/MainWidget.sling rename to sling/gui/datagrid/src/app/MainWidget.sling index f9bfa05..80239ea 100644 --- a/sling/gui/datagrid/MainWidget.sling +++ b/sling/gui/datagrid/src/app/MainWidget.sling @@ -41,7 +41,7 @@ ui LayerWidget ButtonWidget { text = "Click me" clickHandler = func { - PRINT "CLICKED!" + print "CLICKED!" } } } diff --git a/sling/gui/datagrid/src/project.slon b/sling/gui/datagrid/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/datagrid/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/hellogui/build.ss b/sling/gui/hellogui/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/hellogui/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/hellogui/MainWidget.sling b/sling/gui/hellogui/src/app/MainWidget.sling similarity index 100% rename from sling/gui/hellogui/MainWidget.sling rename to sling/gui/hellogui/src/app/MainWidget.sling diff --git a/sling/gui/hellogui/src/project.slon b/sling/gui/hellogui/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/hellogui/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/horizontalscrollersample/build.ss b/sling/gui/horizontalscrollersample/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/horizontalscrollersample/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/horizontalscrollersample/MainWidget.sling b/sling/gui/horizontalscrollersample/src/app/MainWidget.sling similarity index 100% rename from sling/gui/horizontalscrollersample/MainWidget.sling rename to sling/gui/horizontalscrollersample/src/app/MainWidget.sling diff --git a/sling/gui/horizontalscrollersample/src/project.slon b/sling/gui/horizontalscrollersample/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/horizontalscrollersample/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/hyperlinksample/build.ss b/sling/gui/hyperlinksample/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/hyperlinksample/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/hyperlinksample/MainWidget.sling b/sling/gui/hyperlinksample/src/app/MainWidget.sling similarity index 98% rename from sling/gui/hyperlinksample/MainWidget.sling rename to sling/gui/hyperlinksample/src/app/MainWidget.sling index 8371d02..bd37902 100644 --- a/sling/gui/hyperlinksample/MainWidget.sling +++ b/sling/gui/hyperlinksample/src/app/MainWidget.sling @@ -58,7 +58,7 @@ func initializeWidget override link.setWidgetFontSize(context.getHeightValue("3mm")) link.setWidgetTextColor(Color.forRGB(255, 0, 0)) link.setWidgetClickHandler(func { - PRINT "Hello World!" + print "Hello World!" }) hbox.addWidget(link) } diff --git a/sling/gui/hyperlinksample/src/project.slon b/sling/gui/hyperlinksample/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/hyperlinksample/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/menubar/build.ss b/sling/gui/menubar/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/menubar/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/menubar/MainWidget.sling b/sling/gui/menubar/src/app/MainWidget.sling similarity index 94% rename from sling/gui/menubar/MainWidget.sling rename to sling/gui/menubar/src/app/MainWidget.sling index 1c23cf8..e1a21c7 100644 --- a/sling/gui/menubar/MainWidget.sling +++ b/sling/gui/menubar/src/app/MainWidget.sling @@ -45,22 +45,22 @@ func initializeWidget override base.initializeWidget() var file = menu.addMenu("File") file.addEntry("Open", func { - PRINT "Open" + println "Open" }) file.addEntry("Save", func { - PRINT "Save" + println "Save" }) file.addEntry("Exit", func { - PRINT "Exit" + println "Exit" }) var edit = menu.addMenu("Edit") edit.addEntry("Cut", func { - PRINT "Cut" + println "Cut" }) edit.addEntry("Copy", func { - PRINT "Copy" + println "Copy" }) edit.addEntry("Paste", func { - PRINT "Paste" + println "Paste" }) } diff --git a/sling/gui/menubar/src/project.slon b/sling/gui/menubar/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/menubar/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/photoselector/build.ss b/sling/gui/photoselector/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/photoselector/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/photoselector/MainWidget.sling b/sling/gui/photoselector/src/app/MainWidget.sling similarity index 100% rename from sling/gui/photoselector/MainWidget.sling rename to sling/gui/photoselector/src/app/MainWidget.sling diff --git a/sling/gui/photoselector/src/project.slon b/sling/gui/photoselector/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/photoselector/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/popup/build.ss b/sling/gui/popup/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/popup/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/popup/MainWidget.sling b/sling/gui/popup/src/app/MainWidget.sling similarity index 100% rename from sling/gui/popup/MainWidget.sling rename to sling/gui/popup/src/app/MainWidget.sling diff --git a/sling/gui/popup/src/project.slon b/sling/gui/popup/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/popup/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/popupmenu/build.ss b/sling/gui/popupmenu/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/popupmenu/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/popupmenu/MainWidget.sling b/sling/gui/popupmenu/src/app/MainWidget.sling similarity index 100% rename from sling/gui/popupmenu/MainWidget.sling rename to sling/gui/popupmenu/src/app/MainWidget.sling diff --git a/sling/gui/popupmenu/src/project.slon b/sling/gui/popupmenu/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/popupmenu/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/radiobuttongroup/build.ss b/sling/gui/radiobuttongroup/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/radiobuttongroup/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/radiobuttongroup/MainWidget.sling b/sling/gui/radiobuttongroup/src/app/MainWidget.sling similarity index 100% rename from sling/gui/radiobuttongroup/MainWidget.sling rename to sling/gui/radiobuttongroup/src/app/MainWidget.sling diff --git a/sling/gui/radiobuttongroup/src/project.slon b/sling/gui/radiobuttongroup/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/radiobuttongroup/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/renderingcontextwithselectwidget/build.ss b/sling/gui/renderingcontextwithselectwidget/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/renderingcontextwithselectwidget/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/renderingcontextwithselectwidget/MainScreen.sling b/sling/gui/renderingcontextwithselectwidget/src/app/MainScreen.sling similarity index 100% rename from sling/gui/renderingcontextwithselectwidget/MainScreen.sling rename to sling/gui/renderingcontextwithselectwidget/src/app/MainScreen.sling diff --git a/sling/gui/renderingcontextwithselectwidget/src/project.slon b/sling/gui/renderingcontextwithselectwidget/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/renderingcontextwithselectwidget/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/testprogram/build.ss b/sling/gui/testprogram/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/testprogram/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/testprogram/TestProgram.sling b/sling/gui/testprogram/src/app/TestProgram.sling similarity index 99% rename from sling/gui/testprogram/TestProgram.sling rename to sling/gui/testprogram/src/app/TestProgram.sling index 5397320..8617583 100644 --- a/sling/gui/testprogram/TestProgram.sling +++ b/sling/gui/testprogram/src/app/TestProgram.sling @@ -100,7 +100,7 @@ func initialize override base.initialize() var navi = new NavigationWidget(context) var ff = FormWidget.forDeclaration(context, FormDeclaration.forDescription(context, TEXTFILE "myform.form")) - ff.setActionHandlers({ + ff.setActionHandlers(func { "onClickMe" : func { println JSONEncoder.encode(ff.getFormData()) }, diff --git a/sling/gui/testprogram/myform.form b/sling/gui/testprogram/src/app/myform.form similarity index 100% rename from sling/gui/testprogram/myform.form rename to sling/gui/testprogram/src/app/myform.form diff --git a/sling/gui/testprogram/src/project.slon b/sling/gui/testprogram/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/testprogram/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/textareasample/build.ss b/sling/gui/textareasample/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/textareasample/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/textareasample/MainWidget.sling b/sling/gui/textareasample/src/app/MainWidget.sling similarity index 100% rename from sling/gui/textareasample/MainWidget.sling rename to sling/gui/textareasample/src/app/MainWidget.sling diff --git a/sling/gui/textareasample/src/project.slon b/sling/gui/textareasample/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/textareasample/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +} diff --git a/sling/gui/textinputsample/build.ss b/sling/gui/textinputsample/build.ss new file mode 100644 index 0000000..95d7079 --- /dev/null +++ b/sling/gui/textinputsample/build.ss @@ -0,0 +1,11 @@ +#! eqela ss-0.21 +# +# This file is part of Eqela Samples +# Copyright (c) 2016-2018 Job and Esther Technologies Oy +# Copyright (c) 2018-2020 Eqela Oy +# All rights reserved. +# + +lib sling-tools:0.45.0 +import sling.tools.compiler +return SlingCompilerTool.forWeb5ApplicationDirectory("app").executeScript(args) diff --git a/sling/gui/textinputsample/MainWidget.sling b/sling/gui/textinputsample/src/app/MainWidget.sling similarity index 100% rename from sling/gui/textinputsample/MainWidget.sling rename to sling/gui/textinputsample/src/app/MainWidget.sling diff --git a/sling/gui/textinputsample/src/project.slon b/sling/gui/textinputsample/src/project.slon new file mode 100644 index 0000000..144518b --- /dev/null +++ b/sling/gui/textinputsample/src/project.slon @@ -0,0 +1,10 @@ +{ + vendorId "eqela" + projectId "todoapp" + title "Eqela Samples Todo App" + copyright "Copyright (c) 2018-2020 Eqela Oy" + license "All rights reserved." + libraries [ + "jk-app:0.26.0" + ] +}