(#339) Added RicAddScriptPathFeature and RicDeleteScriptPathFeature

Did some additional refactoring - added code common to script related
features to RicScriptFeatureImpl.
This commit is contained in:
Pål Hagen
2015-08-20 11:59:07 +02:00
parent 35a37a5e07
commit 4d1f98c138
15 changed files with 346 additions and 70 deletions

View File

@@ -661,6 +661,11 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
commandIds << "Separator";
commandIds << "RicExecuteScriptFeature";
}
else if (dynamic_cast<RimScriptCollection*>(uiItem))
{
commandIds << "RicAddScriptPathFeature";
commandIds << "RicDeleteScriptPathFeature";
}
}
if (RicToggleItemsFeatureImpl::isToggleCommandsAvailable())