Models in Pharo should not display class prefixes
In VisualWorks, there are namespaces, which allows one to create classes with generic names such as Agent, Model, etc. In Pharo, we need to prefix classes to avoid collision: CMAgent, CMECECModel, etc.
However, those prefixes should not be displayed in Cormas UI. Here are three examples:
- It should display
Unrestrainedinstead ofECECUnrestrained

- It should display
VegetationUnitorVegetation Unitinstead ofECECVegetationUnit

- It should display
Unrestrained,Restrained,Forager,VegetationUnit(orVegetation Unit) instead ofCMECECUnrestrained,CMECECRestrained,CMECECForager, andCMECECVegetationUnit

One solution would be to introduce the name method for CMEntity that would try to detect a prefix and remove it, and in case of failure, display the full class name.
Specific subclasses could then override the name method to provide more meaningful names.
For example, a class name could be CMECECVegetationUnit, the default CMEntity >> name would return VegetationUnit, and the user could choose to override it as Vegetation unit.
I can see that there is a method CMEntity >> povClassName.
Perhaps, it acts like name in this case