Permalink
Browse files

Update to Architect 2.2.

  • Loading branch information...
1 parent 755d909 commit ce1117231c1e2ea6219edc5211b06ab5bb4310f9 @lojjic lojjic committed Jan 31, 2013
Showing with 535 additions and 592 deletions.
  1. BIN area-chart.xda
  2. +5 −1 area-chart/app.js
  3. +1 −1 area-chart/app/store/MyStore.js
  4. +16 −17 area-chart/app/view/MyWindow.js
  5. +2 −5 area-chart/app/view/Viewport.js
  6. +3 −3 area-chart/area-chart.xds
  7. +1 −2 area-chart/metadata/Application
  8. +0 −1 area-chart/metadata/resource/Library
  9. +30 −27 area-chart/metadata/store/MyStore
  10. +26 −31 area-chart/metadata/view/MyWindow
  11. BIN array-grid.xda
  12. +5 −1 array-grid/app.js
  13. +2 −2 array-grid/app/store/MyArrayStore.js
  14. +3 −6 array-grid/app/view/MyGridPanel.js
  15. +2 −5 array-grid/app/view/Viewport.js
  16. +3 −3 array-grid/array-grid.xds
  17. +1 −2 array-grid/metadata/Application
  18. +0 −1 array-grid/metadata/resource/Library
  19. +19 −20 array-grid/metadata/store/MyArrayStore
  20. +18 −19 array-grid/metadata/view/MyGridPanel
  21. BIN check-tree.xda
  22. +5 −1 check-tree/app.js
  23. +1 −1 check-tree/app/store/MyJsonTreeStore.js
  24. +2 −2 check-tree/app/view/CheckTreePanel.js
  25. +2 −5 check-tree/app/view/Viewport.js
  26. +6 −5 check-tree/check-tree.xds
  27. +1 −2 check-tree/metadata/Application
  28. +0 −1 check-tree/metadata/resource/Library
  29. +8 −9 check-tree/metadata/store/MyJsonTreeStore
  30. +6 −7 check-tree/metadata/view/CheckTreePanel
  31. BIN dynamic-form.xda
  32. +2 −2 dynamic-form/app.html
  33. +12 −3 dynamic-form/app.js
  34. +11 −12 dynamic-form/app/view/ComplexForm.js
  35. +3 −4 dynamic-form/app/view/ComplexLayoutForm.js
  36. +3 −3 dynamic-form/app/view/MyViewport.js
  37. +3 −4 dynamic-form/app/view/SimpleFieldsetsForm.js
  38. +3 −4 dynamic-form/app/view/SimpleForm.js
  39. +3 −4 dynamic-form/app/view/TabbedForm.js
  40. +4 −7 dynamic-form/app/view/Viewport.js
  41. +4 −4 dynamic-form/dynamic-form.xds
  42. +1 −2 dynamic-form/metadata/Application
  43. +0 −1 dynamic-form/metadata/resource/Library
  44. +43 −47 dynamic-form/metadata/view/ComplexForm
  45. +17 −22 dynamic-form/metadata/view/ComplexLayoutForm
  46. +6 −7 dynamic-form/metadata/view/MyViewport
  47. +18 −22 dynamic-form/metadata/view/SimpleFieldsetsForm
  48. +14 −17 dynamic-form/metadata/view/SimpleForm
  49. +22 −26 dynamic-form/metadata/view/TabbedForm
  50. BIN editablegrid.xda
  51. +1 −1 editablegrid/app.html
  52. +1 −1 editablegrid/app.js
  53. +2 −2 editablegrid/app/model/Plant.js
  54. +2 −2 editablegrid/app/store/Plants.js
  55. +3 −8 editablegrid/app/view/PlantsGridPanel.js
  56. +2 −5 editablegrid/app/view/Viewport.js
  57. +3 −3 editablegrid/editablegrid.xds
  58. +1 −2 editablegrid/metadata/Application
  59. +20 −21 editablegrid/metadata/model/Plant
  60. +0 −1 editablegrid/metadata/resource/Library
  61. +6 −7 editablegrid/metadata/store/Plants
  62. +27 −29 editablegrid/metadata/view/PlantsGridPanel
  63. BIN interactivity/controlleraction.xda
  64. +2 −2 interactivity/controlleraction/app.html
  65. +9 −5 interactivity/controlleraction/app.js
  66. +4 −4 interactivity/controlleraction/app/controller/MyController.js
  67. +3 −3 interactivity/controlleraction/app/view/MyPanel.js
  68. +4 −7 interactivity/controlleraction/app/view/Viewport.js
  69. +4 −4 interactivity/controlleraction/controlleraction.xds
  70. +3 −4 interactivity/controlleraction/metadata/Application
  71. +1 −2 interactivity/controlleraction/metadata/controller/MyController
  72. +0 −1 interactivity/controlleraction/metadata/resource/Library
  73. +5 −6 interactivity/controlleraction/metadata/view/MyPanel
  74. BIN interactivity/eventbinding.xda
  75. +2 −2 interactivity/eventbinding/app.html
  76. +7 −3 interactivity/eventbinding/app.js
  77. +4 −4 interactivity/eventbinding/app/view/MyPanel.js
  78. +4 −7 interactivity/eventbinding/app/view/Viewport.js
  79. +4 −4 interactivity/eventbinding/eventbinding.xds
  80. +1 −2 interactivity/eventbinding/metadata/Application
  81. +0 −1 interactivity/eventbinding/metadata/resource/Library
  82. +4 −5 interactivity/eventbinding/metadata/view/MyPanel
  83. BIN menu.xda
  84. +2 −2 menu/app.html
  85. +7 −3 menu/app.js
  86. +3 −3 menu/app/store/ComboStore.js
  87. +3 −3 menu/app/view/MyComboBox.js
  88. +3 −3 menu/app/view/MyPanel.js
  89. +4 −7 menu/app/view/Viewport.js
  90. +4 −4 menu/menu.xds
  91. +1 −2 menu/metadata/Application
  92. +0 −1 menu/metadata/resource/Library
  93. +6 −7 menu/metadata/store/ComboStore
  94. +2 −3 menu/metadata/view/MyComboBox
  95. +34 −35 menu/metadata/view/MyPanel
View
Binary file not shown.
View
@@ -1,7 +1,7 @@
/*
* File: app.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -18,6 +18,10 @@ Ext.Loader.setConfig({
});
Ext.application({
+
+ requires: [
+ 'MyApp.view.MyWindow'
+ ],
stores: [
'MyStore'
],
@@ -1,7 +1,7 @@
/*
* File: app/store/MyStore.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -1,7 +1,7 @@
/*
* File: app/view/MyWindow.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -20,7 +20,6 @@ Ext.define('MyApp.view.MyWindow', {
autoShow: true,
height: 600,
width: 800,
- shadow: false,
layout: {
type: 'fit'
},
@@ -73,15 +72,6 @@ Ext.define('MyApp.view.MyWindow', {
axes: [
{
type: 'Numeric',
- fields: [
- 'data1',
- 'data2',
- 'data3',
- 'data4',
- 'data5',
- 'data6',
- 'data7'
- ],
grid: {
odd: {
opacity: 1,
@@ -92,21 +82,30 @@ Ext.define('MyApp.view.MyWindow', {
},
position: 'left',
title: 'Numeric Axis',
+ fields: [
+ 'data1',
+ 'data2',
+ 'data3',
+ 'data4',
+ 'data5',
+ 'data6',
+ 'data7'
+ ],
minimum: 0
},
{
type: 'Category',
+ grid: true,
+ title: 'Month of the Year',
fields: [
'name'
],
- grid: true,
label: {
rotate: {
degrees: 315
}
},
- position: 'bottom',
- title: 'Month of the Year'
+ position: 'bottom'
}
],
series: [
@@ -137,16 +136,16 @@ Ext.define('MyApp.view.MyWindow', {
me.callParent(arguments);
},
- onButtonClick: function(button, e, options) {
+ onButtonClick: function(button, e, eOpts) {
this.refreshData();
},
- onButtonToggle: function(button, pressed, options) {
+ onButtonToggle: function(button, pressed, eOpts) {
var chart = this.child('chart');
chart.animate = pressed ? {easing: 'ease', duration: 500} : false;
},
- onWindowAfterRender: function(abstractcomponent, options) {
+ onWindowAfterRender: function(component, eOpts) {
this.refreshData();
},
@@ -1,7 +1,7 @@
/*
* File: app/view/Viewport.js
*
- * This file was generated by Sencha Architect version 2.1.0.
+ * This file was generated by Sencha Architect version 2.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
@@ -15,8 +15,5 @@
Ext.define('MyApp.view.Viewport', {
extend: 'MyApp.view.MyWindow',
- renderTo: Ext.getBody(),
- requires: [
- 'MyApp.view.MyWindow'
- ]
+ renderTo: Ext.getBody()
});
@@ -16,10 +16,10 @@
"appName": "MyApp",
"cssPath": ""
},
- "xdsVersion": "2.1.0",
- "xdsBuild": 670,
+ "xdsVersion": "2.2.0",
+ "xdsBuild": 840,
"schemaVersion": 1,
- "upgradeVersion": 210000000498,
+ "upgradeVersion": 210000000499,
"framework": "ext40",
"topInstanceFileMap": {
"2f0a83e9-cc8c-4aeb-b6d7-6f685decfa16": {
@@ -1,5 +1,5 @@
{
- "type": "application",
+ "type": "Ext.app.Application",
"reference": {
"name": "items",
"type": "array"
@@ -15,6 +15,5 @@
"autoCreateViewport": true,
"name": "MyApp"
},
- "id": "ExtBox1-ext-gen78246",
"designerId": "application"
}
@@ -5,6 +5,5 @@
"type": "array"
},
"codeClass": null,
- "id": "ExtBox1-ext-gen1834",
"designerId": "464e301b-dd9d-4c4b-b030-b6874e6ff0be"
}
@@ -1,119 +1,122 @@
{
- "type": "store",
+ "type": "Ext.data.Store",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
+ "storeId": "MyStore",
"designer|userClassName": "MyStore",
- "storeId": "MyStore"
+ "data": "[{\"name\":\"January\",\"data1\":27,\"data2\":65,\"data3\":79,\"data4\":99,\"data5\":20,\"data6\":52,\"data7\":23,\"data8\":20,\"data9\":67},{\"name\":\"February\",\"data1\":28,\"data2\":45,\"data3\":21,\"data4\":21,\"data5\":99,\"data6\":77,\"data7\":80,\"data8\":75,\"data9\":92},{\"name\":\"March\",\"data1\":33,\"data2\":20,\"data3\":20,\"data4\":20,\"data5\":31,\"data6\":96,\"data7\":96,\"data8\":31,\"data9\":90},{\"name\":\"April\",\"data1\":97,\"data2\":20,\"data3\":46,\"data4\":60,\"data5\":20,\"data6\":87,\"data7\":88,\"data8\":90,\"data9\":89},{\"name\":\"May\",\"data1\":20,\"data2\":42,\"data3\":99,\"data4\":79,\"data5\":67,\"data6\":26,\"data7\":85,\"data8\":72,\"data9\":54},{\"name\":\"June\",\"data1\":20,\"data2\":94,\"data3\":79,\"data4\":20,\"data5\":28,\"data6\":49,\"data7\":20,\"data8\":67,\"data9\":60},{\"name\":\"July\",\"data1\":99,\"data2\":66,\"data3\":70,\"data4\":32,\"data5\":51,\"data6\":30,\"data7\":56,\"data8\":96,\"data9\":75},{\"name\":\"August\",\"data1\":42,\"data2\":59,\"data3\":23,\"data4\":54,\"data5\":29,\"data6\":68,\"data7\":20,\"data8\":67,\"data9\":48},{\"name\":\"September\",\"data1\":76,\"data2\":20,\"data3\":67,\"data4\":53,\"data5\":94,\"data6\":39,\"data7\":54,\"data8\":88,\"data9\":20},{\"name\":\"October\",\"data1\":58,\"data2\":23,\"data3\":23,\"data4\":59,\"data5\":63,\"data6\":29,\"data7\":20,\"data8\":20,\"data9\":25},{\"name\":\"November\",\"data1\":20,\"data2\":73,\"data3\":91,\"data4\":53,\"data5\":25,\"data6\":64,\"data7\":70,\"data8\":20,\"data9\":36},{\"name\":\"December\",\"data1\":20,\"data2\":57,\"data3\":20,\"data4\":28,\"data5\":50,\"data6\":20,\"data7\":59,\"data8\":51,\"data9\":47}]"
},
- "id": "ExtBox1-ext-gen14033",
+ "mockCfgs": [
+ "data"
+ ],
"designerId": "613a5e61-a5b9-4423-8837-9f746de96e01",
"cn": [
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField",
- "name": "name"
+ "name": "name",
+ "designer|userClassName": "MyField"
},
"designerId": "7529d9c3-45f9-4d19-bd31-165078cd5b28"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField1",
"name": "data1",
- "type": null
+ "type": null,
+ "designer|userClassName": "MyField1"
},
"designerId": "81af2745-9543-4c5e-9f12-5d2716aaff52"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField2",
- "name": "data2"
+ "name": "data2",
+ "designer|userClassName": "MyField2"
},
"designerId": "a8061a74-8ef6-463c-a588-0b5a3ee5eb61"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField3",
- "name": "data3"
+ "name": "data3",
+ "designer|userClassName": "MyField3"
},
"designerId": "77d026ef-a561-41bc-843d-327a1c0344d0"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField4",
- "name": "data4"
+ "name": "data4",
+ "designer|userClassName": "MyField4"
},
"designerId": "61fda478-94c8-4b24-9e85-942f6a99dd6f"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField5",
- "name": "data5"
+ "name": "data5",
+ "designer|userClassName": "MyField5"
},
"designerId": "b1af54dc-5c3a-4dad-81c9-647f48dfaa52"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField6",
- "name": "data6"
+ "name": "data6",
+ "designer|userClassName": "MyField6"
},
"designerId": "081f5d91-2173-4628-8963-859ab01639c3"
},
{
- "type": "datafield",
+ "type": "Ext.data.Field",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
- "designer|userClassName": "MyField7",
- "name": "data7"
+ "name": "data7",
+ "designer|userClassName": "MyField7"
},
"designerId": "d94cf916-436b-46f9-b994-b579e61e78f2"
}
Oops, something went wrong.

0 comments on commit ce11172

Please sign in to comment.