hide options in process right click menu, because there still having issues

This commit is contained in:
Fernando Ontiveros
2011-02-24 04:58:29 +00:00
parent 8a3e60b4a4
commit cad74c9cf4
2 changed files with 15 additions and 8 deletions

View File

@@ -150,17 +150,18 @@ ProcessMapContext.prototype.editProcess= function()
ProcessMapContext.prototype.exportProcess= function()
{
var exportProcessForm = new Ext.FormPanel({
labelWidth : 160, // label settings here cascade unless overridden
labelWidth : 160,
frame : false,
bodyStyle :'padding:10px 10px 10px 10px;',
width : 420,
height : 280,
height : 200,
defaultType : 'textfield',
defaults : {width: 180},
buttonAlign : 'center',
items: [
{
xtype : 'fieldset',
bodyStyle :'padding:10px 10px 10px 10px;',
title : 'Process Info',
width : 370,
collapsible: false,
autoHeight : true,
buttonAlign: 'center',
@@ -173,10 +174,12 @@ ProcessMapContext.prototype.exportProcess= function()
xtype : 'displayfield',
fieldLabel : _('ID_DESCRIPTION'),
name : 'PRO_DESCRIPTION'
/*
},{
xtype : 'displayfield',
fieldLabel : _('ID_SIZE_IN_BYTES'),
name : 'SIZE'
*/
},{
xtype : 'displayfield',
fieldLabel : _('ID_PM_FILENAME'),
@@ -220,8 +223,8 @@ ProcessMapContext.prototype.exportProcess= function()
collapsible: false,
maximizable: false,
sizeable : false,
width : 500,
height : 250,
width : 400,
height : 210,
resizable : false,
layout : 'fit',
plain : true,

View File

@@ -692,7 +692,9 @@ Ext.onReady ( function() {
text: 'Delete All Lines',
handler: ProcessMapObj.delLines,
scope: this
}, */{
}, */
/*
{
text: 'Process Permission',
iconCls: 'button_menu_ext ss_sprite ss_application_key',
handler: ProcessMapObj.processPermission,
@@ -759,7 +761,9 @@ Ext.onReady ( function() {
}
]
}
}]
}
*/
]
});
canvas.on('contextmenu', function(e) {