12345678910111213141516171819 |
- /*
- * Licensed Materials - Property of IBM
- *
- * IBM Cognos Products: Modeling UI
- *
- * Copyright IBM Corp. 2016
- *
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- define(['bi/glass/app/plugins/MenuActionInterface'], function(MenuActionInterface) {
-
- var Handler = MenuActionInterface.extend({
- isItemVisible: function(context) {
- return context.glassContext.currentAppView.currentContentView.context.rootStore.perspectiveStore.modellingTab === 'diagram';
- }
- });
-
- return Handler;
- });
|