liberate modelMap from TreeStore
When filling the TreeGrid with child items i need to use;
This pParentItem is already in the Tree and i don't want to make a new expensive version just to specify a parent. Instead i want to lookup the current available pParentItem by its key. TreeStore contains method;
public void addChildItem(M pParentItem, M pItem)
After extending TreeStore with my own version i could use this method to get the modelMap which gives acces to the pParentItem model (modelMap.get(key)). But there's a inconsistency in this source code; while getModelMap() is protected it's return type TreeModel is private preventing acces to this modelMap.
protected Map<String, TreeModel> getModelMap()
I my opinion this TreeModel in TreeStore should also be protected and not private...