hide options in process right click menu, because there still having issues
This commit is contained in:
@@ -150,17 +150,18 @@ ProcessMapContext.prototype.editProcess= function()
|
|||||||
ProcessMapContext.prototype.exportProcess= function()
|
ProcessMapContext.prototype.exportProcess= function()
|
||||||
{
|
{
|
||||||
var exportProcessForm = new Ext.FormPanel({
|
var exportProcessForm = new Ext.FormPanel({
|
||||||
labelWidth : 160, // label settings here cascade unless overridden
|
labelWidth : 160,
|
||||||
frame : false,
|
frame : false,
|
||||||
bodyStyle :'padding:10px 10px 10px 10px;',
|
height : 200,
|
||||||
width : 420,
|
|
||||||
height : 280,
|
|
||||||
defaultType : 'textfield',
|
defaultType : 'textfield',
|
||||||
|
defaults : {width: 180},
|
||||||
buttonAlign : 'center',
|
buttonAlign : 'center',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
xtype : 'fieldset',
|
xtype : 'fieldset',
|
||||||
|
bodyStyle :'padding:10px 10px 10px 10px;',
|
||||||
title : 'Process Info',
|
title : 'Process Info',
|
||||||
|
width : 370,
|
||||||
collapsible: false,
|
collapsible: false,
|
||||||
autoHeight : true,
|
autoHeight : true,
|
||||||
buttonAlign: 'center',
|
buttonAlign: 'center',
|
||||||
@@ -173,10 +174,12 @@ ProcessMapContext.prototype.exportProcess= function()
|
|||||||
xtype : 'displayfield',
|
xtype : 'displayfield',
|
||||||
fieldLabel : _('ID_DESCRIPTION'),
|
fieldLabel : _('ID_DESCRIPTION'),
|
||||||
name : 'PRO_DESCRIPTION'
|
name : 'PRO_DESCRIPTION'
|
||||||
|
/*
|
||||||
},{
|
},{
|
||||||
xtype : 'displayfield',
|
xtype : 'displayfield',
|
||||||
fieldLabel : _('ID_SIZE_IN_BYTES'),
|
fieldLabel : _('ID_SIZE_IN_BYTES'),
|
||||||
name : 'SIZE'
|
name : 'SIZE'
|
||||||
|
*/
|
||||||
},{
|
},{
|
||||||
xtype : 'displayfield',
|
xtype : 'displayfield',
|
||||||
fieldLabel : _('ID_PM_FILENAME'),
|
fieldLabel : _('ID_PM_FILENAME'),
|
||||||
@@ -220,8 +223,8 @@ ProcessMapContext.prototype.exportProcess= function()
|
|||||||
collapsible: false,
|
collapsible: false,
|
||||||
maximizable: false,
|
maximizable: false,
|
||||||
sizeable : false,
|
sizeable : false,
|
||||||
width : 500,
|
width : 400,
|
||||||
height : 250,
|
height : 210,
|
||||||
resizable : false,
|
resizable : false,
|
||||||
layout : 'fit',
|
layout : 'fit',
|
||||||
plain : true,
|
plain : true,
|
||||||
|
|||||||
@@ -692,7 +692,9 @@ Ext.onReady ( function() {
|
|||||||
text: 'Delete All Lines',
|
text: 'Delete All Lines',
|
||||||
handler: ProcessMapObj.delLines,
|
handler: ProcessMapObj.delLines,
|
||||||
scope: this
|
scope: this
|
||||||
}, */{
|
}, */
|
||||||
|
/*
|
||||||
|
{
|
||||||
text: 'Process Permission',
|
text: 'Process Permission',
|
||||||
iconCls: 'button_menu_ext ss_sprite ss_application_key',
|
iconCls: 'button_menu_ext ss_sprite ss_application_key',
|
||||||
handler: ProcessMapObj.processPermission,
|
handler: ProcessMapObj.processPermission,
|
||||||
@@ -759,7 +761,9 @@ Ext.onReady ( function() {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}]
|
}
|
||||||
|
*/
|
||||||
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
canvas.on('contextmenu', function(e) {
|
canvas.on('contextmenu', function(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user