Skip to content

Commit

Permalink
-Upgrage to Sencha Architect 2.1.0 build 676
Browse files Browse the repository at this point in the history
-rename Localizer.js to Ext.ux.Localizer.js
  • Loading branch information
chris committed Nov 23, 2012
1 parent d615c14 commit 4b116e8
Show file tree
Hide file tree
Showing 14 changed files with 164 additions and 215 deletions.
6 changes: 3 additions & 3 deletions app.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test1</title>
<link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.1.0-gpl/resources/css/ext-all.css"/>
<script type="text/javascript" src="http://cdn.sencha.io/ext-4.1.0-gpl/ext-all-debug.js"></script>
<script src="//extjs.cachefly.net/ext-4.1.1-gpl/ext-all-debug.js"></script>
<link rel="stylesheet" href="//extjs.cachefly.net/ext-4.1.1-gpl/resources/css/ext-all.css">
<script src="app/lib/Ext.ux.Localizer.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="app/lib/Localizer.js"></script>
</head>
<body></body>
</html>
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: app.js
*
* This file was generated by Sencha Architect version 2.0.0.
* This file was generated by Sencha Architect version 2.1.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
Expand Down
5 changes: 2 additions & 3 deletions app/controller/MyToolbar.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: app/controller/MyToolbar.js
*
* This file was generated by Sencha Architect version 2.0.0.
* This file was generated by Sencha Architect version 2.1.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
Expand Down Expand Up @@ -32,13 +32,12 @@ Ext.define('MyApp.controller.MyToolbar', {

},

init: function() {
init: function(application) {
this.control({
"toolbar cycle#language": {
change: this.onCyclebuttonChange
}
});

}

});
5 changes: 0 additions & 5 deletions app/lib/Localizer.js → app/lib/Ext.ux.Localizer.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
Ext.define("Ext.ux.Localizer", {
/***** WORK IN PROGRESS *****/

singleton : true,
baseLocale : "en",
currLocale : "en",

/**
* @private (Ext.util.HashMap) locales
*/

/**
* @private (Object) localizableProps
* Localizable properties for each xtype.
Expand Down
2 changes: 1 addition & 1 deletion app/store/MyStore.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: app/store/MyStore.js
*
* This file was generated by Sencha Architect version 2.0.0.
* This file was generated by Sencha Architect version 2.1.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
Expand Down
5 changes: 2 additions & 3 deletions app/view/MyViewport.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: app/view/MyViewport.js
*
* This file was generated by Sencha Architect version 2.0.0.
* This file was generated by Sencha Architect version 2.1.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
Expand All @@ -16,7 +16,6 @@
Ext.define('MyApp.view.MyViewport', {
extend: 'Ext.container.Viewport',


initComponent: function() {
var me = this;

Expand Down Expand Up @@ -104,9 +103,9 @@ Ext.define('MyApp.view.MyViewport', {
dockedItems: [
{
xtype: 'pagingtoolbar',
dock: 'bottom',
displayInfo: true,
store: 'MyStore',
dock: 'bottom',
items: [
{
xtype: 'button',
Expand Down
2 changes: 1 addition & 1 deletion app/view/Viewport.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: app/view/Viewport.js
*
* This file was generated by Sencha Architect version 2.0.0.
* This file was generated by Sencha Architect version 2.1.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.0.x library, under independent license.
Expand Down
8 changes: 2 additions & 6 deletions metadata/Application
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"id": "ExtBox1-ext-gen5342",
"type": "application",
"reference": {
"name": "items",
Expand All @@ -19,9 +18,6 @@
"MyToolbar"
]
},
"customConfigs": [],
"designerId": "application",
"$viewOrder": 0,
"iconCls": "icon-application",
"expanded": true
"id": "ExtBox1-ext-gen5342",
"designerId": "application"
}
21 changes: 7 additions & 14 deletions metadata/controller/MyToolbar
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"id": "ExtBox1-ext-gen5358",
"type": "controller",
"reference": {
"name": "items",
Expand All @@ -9,20 +8,18 @@
"userConfig": {
"designer|userClassName": "MyToolbar"
},
"customConfigs": [],
"id": "ExtBox1-ext-gen5358",
"designerId": "d9d6a458-4f33-469d-baa9-f5113b4947f9",
"$viewOrder": 0,
"expanded": true,
"cn": [
{
"id": "ExtBox1-ext-gen5615",
"type": "controlleraction",
"reference": {
"name": "listeners",
"type": "array"
},
"codeClass": null,
"userConfig": {
"designer|userClassName": "onCyclebuttonChange",
"fn": "onCyclebuttonChange",
"implHandler": [
"console.log('new language:', item.itemId);\r",
Expand All @@ -35,27 +32,23 @@
"name": "change",
"scope": "me",
"designer|targetType": "Ext.button.Cycle",
"designer|controlQuery": "toolbar cycle#language",
"designer|userClassName": "onCyclebuttonChange"
"designer|controlQuery": "toolbar cycle#language"
},
"customConfigs": [],
"expanded": true
"designerId": "bacc4dba-06f5-4a32-a476-6dd710ad8456"
},
{
"id": "ExtBox1-ext-gen2785",
"type": "controllerref",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
"designer|userClassName": "vp",
"ref": "vp",
"selector": "viewport",
"designer|userClassName": "vp"
"selector": "viewport"
},
"customConfigs": [],
"expanded": true
"designerId": "880cada9-782b-4d6c-b7b6-7b5ab0d84e5a"
}
]
}
14 changes: 14 additions & 0 deletions metadata/resource/Library
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"type": "libraryresource",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
"basePath": "//extjs.cachefly.net/ext-4.1.1-gpl/",
"debug": true
},
"id": "ExtBox1-ext-gen1887",
"designerId": "5b75ce16-616e-48c3-b3c1-b6091f74ed80"
}
9 changes: 3 additions & 6 deletions metadata/resource/js
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"id": "ExtBox1-ext-gen44406",
"type": "jsresource",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
"url": "app/lib/Localizer.js"
"url": "app/lib/Ext.ux.Localizer.js"
},
"customConfigs": [],
"designerId": "351c4f9d-c643-4eb0-af84-f169f5dc058e",
"$viewOrder": 0,
"expanded": true
"id": "ExtBox1-ext-gen44406",
"designerId": "351c4f9d-c643-4eb0-af84-f169f5dc058e"
}
17 changes: 6 additions & 11 deletions metadata/store/MyStore
Original file line number Diff line number Diff line change
@@ -1,34 +1,29 @@
{
"id": "ExtBox1-ext-gen30446",
"type": "store",
"reference": {
"name": "items",
"type": "array"
},
"codeClass": null,
"userConfig": {
"storeId": "MyStore",
"designer|userClassName": "MyStore"
"designer|userClassName": "MyStore",
"storeId": "MyStore"
},
"customConfigs": [],
"id": "ExtBox1-ext-gen30446",
"designerId": "3db9a366-a908-4806-86eb-3559d485f2a5",
"$viewOrder": 0,
"expanded": true,
"cn": [
{
"id": "ExtBox1-ext-gen30604",
"type": "datafield",
"reference": {
"name": "fields",
"type": "array"
},
"codeClass": null,
"userConfig": {
"name": "dummy",
"designer|userClassName": "MyField"
"designer|userClassName": "MyField",
"name": "dummy"
},
"customConfigs": [],
"expanded": true
"designerId": "df5e9e31-81d4-4d0e-b078-caba1a90f502"
}
]
}
Loading

0 comments on commit 4b116e8

Please sign in to comment.