function init(basePath) {
    var action = new RGuiAction(qsTranslate("DeselectLayer", "&Deselect Layer Entities"), RMainWindowQt.getMainWindow());
    action.setRequiresDocument(true);
    action.setScriptFile(basePath + "/DeselectLayer.js");
    action.setIcon(basePath + "/DeselectLayer.svg");
    action.setDefaultShortcut(new QKeySequence("y,d"));
    action.setDefaultCommands(["layerdeselect", "deselectlayer", "y-", "yd"]);
    action.setGroupSortOrder(14400);
    action.setSortOrder(200);
    action.setWidgetNames(["LayerMenu", "LayerToolBar", "LayerToolsPanel", "LayerMatrixPanel"]);
}
