BatchJobEditorComponent.js (644B)
1 Ext.define('PartKeepr.BatchJobEditorComponent', { 2 extend: 'PartKeepr.EditorComponent', 3 alias: 'widget.BatchJobEditorComponent', 4 navigationClass: 'PartKeepr.BatchJobGrid', 5 editorClass: 'PartKeepr.BatchJobEditor', 6 newItemText: i18n("New Batch Job"), 7 model: 'PartKeepr.BatchJobBundle.Entity.BatchJob', 8 initComponent: function () { 9 this.createStore({ 10 sorters: [{ 11 property: 'name', 12 direction:'ASC' 13 }] 14 }); 15 16 this.callParent(); 17 }, 18 statics: { 19 iconCls: 'fugue-icon task', 20 title: i18n('Batch Jobs'), 21 closable: true, 22 menuPath: [{text: i18n("Edit")}] 23 } 24 });