liberate modelMap from TreeStore
When filling the TreeGrid with child items i need to use;
Code:
public void addChildItem(M pParentItem, M pItem)
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;
Code:
protected Map<String, TreeModel> getModelMap()
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.
I my opinion this TreeModel in TreeStore should also be protected and not private...