The same webpage can be seen at here[1] [1] - https://wso2-incubator.github.io/js-tooling-framework/sequence-editor/index.html
Thanks Susinda On Tue, Aug 30, 2016 at 11:34 AM, Susinda Perera <[email protected]> wrote: > Hi All > > I have started implementing $subject. Figure[1] below is the screenshot of > the current implementation. > The implementation pf Tool palette is devided to following models and > views (considering extendability) and the js code[2] describes the > connectivity of the modules. > > ToolPalette / ToolPaletteView > --ToolGroupWraper / ToolGroupWraperView > --ToolGroup / ToolgroupView > --Tool / ToolView > > TODO > - Implement the drag and drop support > - Implement the collapse of tool palette > - Externalize the templates for toolView, toolgroupWrapperView and > toolPaletteView > > Please give your inputs > > > > [2] -js code > //create tools > var calcTool = new Tools.Models.Tool({ > toolId: "tool1", > toolImage:"images/icon1.png" > }); > > var calcTool2 = new Tools.Models.Tool({ > toolId: "tool2", > toolImage:"images/icon1.png" > }); > > //create tool group > var group = new Tools.Models.ToolGroup(); > group.add(calcTool); > group.add(calcTool2); > > //create tool palette > var toolPalette = new Tools.Models.ToolPalatte(); > var toolGroupWrapper = new Tools.Models.ToolGroupWrapper({toolGroupName: > "LifeLines", toolGroup:group}); > toolPalette.add(toolGroupWrapper); > > //render the palate View > var paletteView = new Tools.Views.ToolPalatteView({ > collection:toolPalatte}); > paletteView.render(); > > [1] - screenshot > > > > > > -- > *Susinda Perera* > Software Engineer > B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL) > Mobile:(+94)716049075 > Blog: susinda.blogspot.com > WSO2 Inc. http://wso2.com/ > Tel : 94 11 214 5345 Fax :94 11 2145300 > > -- *Susinda Perera* Software Engineer B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL) Mobile:(+94)716049075 Blog: susinda.blogspot.com WSO2 Inc. http://wso2.com/ Tel : 94 11 214 5345 Fax :94 11 2145300
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
