function init(basePath) {
    var action = new RGuiAction(qsTranslate("InfoDistanceEP", "Distance &Entity to Point"), RMainWindowQt.getMainWindow());
    action.setRequiresDocument(true);
    action.setScriptFile(basePath + "/InfoDistanceEP.js");
    action.setDefaultShortcut(new QKeySequence("i,e"));
    action.setDefaultCommands([ "infodistep", "ie" ]);
    action.setGroupSortOrder(16200);
    action.setSortOrder(200);
    action.setWidgetNames(["InformationMenu", "InformationToolBar", "InformationToolsPanel", "InformationMatrixPanel"]);
}
