diff --git a/static/plugin_dbui/lib/appgridroweditor.js b/static/plugin_dbui/lib/appgridroweditor.js index 746bb4cef73b5f819e215bdaf1ba802d09117f48..3f0827a01e35237bfd1ca18c79c8173e378d50bd 100644 --- a/static/plugin_dbui/lib/appgridroweditor.js +++ b/static/plugin_dbui/lib/appgridroweditor.js @@ -29,6 +29,11 @@ App.grid.RowEditor = Ext.extend(Ext.Window, { */ formModel: null, + /** + * Private parameter identifying the type of plugin + */ + ptype: 'pgridroweditor', + /** * pre-defined properties for the window */ @@ -51,7 +56,7 @@ App.grid.RowEditor = Ext.extend(Ext.Window, { }, /** - * Plugin initialization function + * Plugin initialization * * @param {Object} grid GridPanel the grid instantiating the plugin */ diff --git a/static/plugin_dbui/lib/appgridroweditorcontextmenu.js b/static/plugin_dbui/lib/appgridroweditorcontextmenu.js index 4de609c3b9e861cd41f7ac773ff743cc8a1f6efb..7a07ffb9f3b170f5f66381e3e4824b6d02326ded 100644 --- a/static/plugin_dbui/lib/appgridroweditorcontextmenu.js +++ b/static/plugin_dbui/lib/appgridroweditorcontextmenu.js @@ -14,7 +14,16 @@ Ext.namespace('App.grid'); App.grid.RowEditorContextMenu = Ext.extend(Object, { - + + /** + * Private parameter identifying the type of plugin + */ + ptype: 'pGridRowEditorContextMenu', + + /** + * Plugin intialisation + * @param {Object} grid + */ init: function(grid){ var menu = new Ext.menu.Menu(); diff --git a/static/plugin_dbui/lib/appgridroweditortoolbar.js b/static/plugin_dbui/lib/appgridroweditortoolbar.js index 7060fde1848aef6e0505e97d14cb920ccc45ff05..5d964ebe96a48223916d682ccd34876811fdb59c 100644 --- a/static/plugin_dbui/lib/appgridroweditortoolbar.js +++ b/static/plugin_dbui/lib/appgridroweditortoolbar.js @@ -13,6 +13,15 @@ Ext.namespace('App.grid'); App.grid.RowEditorToolbar = Ext.extend(Object, { + /** + * Private parameter identifying the type of plugin + */ + ptype: 'pGridRowEditorToolbar', + + /** + * Plugin intiaisation + * @param {Object} grid + */ init: function(grid){ // create and initialize the underlying RowEditor