ide.services.menu.window.js Maven / Gradle / Ivy
/*
* Copyright (c) 2010-2019 SAP and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* SAP - initial API and implementation
*/
var extensions = require('core/v3/extensions');
exports.getMenu = function() {
var menu = {
"name":"Window",
"link":"#",
"order":"800",
"onClick":"alert('Window has been clicked')",
"items":[
{
"name":"Open Perspective",
"link":"#",
"order":"810",
"items":[]
},
{
"name":"Show View",
"link":"#",
"order":"820",
"items":[]
}
]
};
var perspectiveExtensions = extensions.getExtensions('ide-perspective');
for (var i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy