Grasews.UI.Web/Content/js/cytoscape/grasews-cytoscape.js
//Context menu for Model Reference and Schema Mapping, but already with lowering schema mapping annotations
Context menu for Model Reference and Schema Mapping, but already with lowering schema mapping annotations
Context menu for Model Reference and Schema Mapping but already with lowering schema mapping annotations
function createContextMenuForModelReferenceAndSchemaMappingWithLoweringSchemaMappingAnnotated(cy) {
    cy.cxtmenu({
        selector: '.node-model-reference-and-schema-mapping-with-lowering-annotated',
        commands: [
            {
                content: 'Add Model Reference',
                select: function (ele) {
                    cytoscapeContextMenuAddModelReference(ele);
                }
            },
            {
                content: 'Add Lifting Schema Mapping',
                select: function (ele) {
                    cytoscapeContextMenuAddLiftingSchemaMapping(ele);
                }
            },
            {
                content: 'Add Lowering Schema Mapping',
                disabled: true
            },
            {
                content: 'Remove Lowering Schema Mapping',
                select: function (ele) {
                    cytoscapeContextMenuRemoveLoweringSchemaMapping(ele);
                }
            },
            {
                content: 'Remove Lifting Schema Mapping',
                disabled: true
            },
            {
                content: 'Remove Model Reference',
                disabled: true
            }
        ]
    });
    return cy;
}
function createContextMenuForModelReferenceAndSchemaMappingWithLoweringSchemaMappingAnnotated ( cy ) { cy . cxtmenu ( { selector : '.node-model-reference-and-schema-mapping-with-lowering-annotated' , commands : [ { content : 'Add Model Reference' , select : function ( ele ) { cytoscapeContextMenuAddModelReference ( ele ) ; } } , { content : 'Add Lifting Schema Mapping' , select : function ( ele ) { cytoscapeContextMenuAddLiftingSchemaMapping ( ele ) ; } } , { content : 'Add Lowering Schema Mapping' , disabled : true } , { content : 'Remove Lowering Schema Mapping' , select : function ( ele ) { cytoscapeContextMenuRemoveLoweringSchemaMapping ( ele ) ; } } , { content : 'Remove Lifting Schema Mapping' , disabled : true } , { content : 'Remove Model Reference' , disabled : true } ] } ) ; return cy ; }
Context menu for Model Reference and Schema Mapping, but already with lowering schema mapping annotations
Context menu for Model Reference and Schema Mapping but already with lowering schema mapping annotations