wxGUI datacatalog: merge LocationMapTree and DataCatalogTree #740
Labels
enhancement
New feature or request
gsoc
Reserved for Google Summer of Code student(s)
GUI
wxGUI related
Projects
Currently DataCatalogTree inherits from LocationMapTree. This was done to reuse LocationMapTree in addon wx.metadata, however at this point it's not used there, there is an old copy of LocationMapTree. Since the distinction between the 2 classes seems little arbitrary, I suggest to merge them into DataCatalogTree. If this class is to be reused one day in wx.metadata, then it could be configured to turn on/off some functionality, but let's not use inheritance.
The change should be pretty simple, just merge constructors and remove all the functions with NotImplementedError.
The text was updated successfully, but these errors were encountered: