PD: harmonize API of view provider classes

* add virtual method featureName() to ViewProviderTransformed
* add featureIcon() to ViewProviderTransformed and ViewProviderDressUp
This commit is contained in:
wmayer
2023-04-24 12:25:04 +02:00
parent 217f3c22f2
commit fa8bdfd550
16 changed files with 65 additions and 13 deletions

View File

@@ -58,6 +58,11 @@ const std::string & ViewProviderDressUp::featureName() const {
return name;
}
std::string ViewProviderDressUp::featureIcon() const
{
return std::string("PartDesign_") + featureName();
}
bool ViewProviderDressUp::setEdit(int ModNum) {
if (ModNum == ViewProvider::Default ) {