
template-extension-view.template.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
*/
exports.getTemplate = function() {
return {
"name": "Extension (View)",
"description": "Extension view for the IDE",
"sources": [{
"location": "/template-extension-view/views/view/index.html.template",
"action": "copy",
"rename": "views/{{fileName}}/index.html"
}, {
"location": "/template-extension-view/views/view/controller.js.template",
"action": "generate",
"rename": "views/{{fileName}}/controller.js"
}, {
"location": "/template-extension-view/views/view/view.js.template",
"action": "generate",
"rename": "views/{{fileName}}/view.js"
}, {
"location": "/template-extension-view/extensions/views/view.extension.template",
"action": "generate",
"rename": "extensions/views/{{fileName}}.extension"
}],
"parameters": [{
"name": "viewName",
"label": "Name"
}]
};
};
© 2015 - 2025 Weber Informatics LLC | Privacy Policy