Class DataStoreLayerTreeModel
- java.lang.Object
-
- com.vividsolutions.jump.workbench.ui.plugin.datastore.DataStoreLayerTreeModel
-
-
Constructor Summary
Constructors Constructor Description DataStoreLayerTreeModel(LinkedHashMap<String,ArrayList<DataStoreLayer>> root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTreeModelListener(TreeModelListener l)
Object
getChild(Object parent, int index)
int
getChildCount(Object parent)
int
getIndexOfChild(Object parent, Object child)
Object
getRoot()
boolean
isLeaf(Object node)
void
removeTreeModelListener(TreeModelListener l)
void
setData(LinkedHashMap<String,ArrayList<DataStoreLayer>> root)
Refreshes the treeModelDatavoid
valueForPathChanged(TreePath path, Object newValue)
-
-
-
Constructor Detail
-
DataStoreLayerTreeModel
public DataStoreLayerTreeModel(LinkedHashMap<String,ArrayList<DataStoreLayer>> root)
-
-
Method Detail
-
setData
public void setData(LinkedHashMap<String,ArrayList<DataStoreLayer>> root)
Refreshes the treeModelData
-
addTreeModelListener
public void addTreeModelListener(TreeModelListener l)
- Specified by:
addTreeModelListener
in interfaceTreeModel
-
getChildCount
public int getChildCount(Object parent)
- Specified by:
getChildCount
in interfaceTreeModel
-
getIndexOfChild
public int getIndexOfChild(Object parent, Object child)
- Specified by:
getIndexOfChild
in interfaceTreeModel
-
removeTreeModelListener
public void removeTreeModelListener(TreeModelListener l)
- Specified by:
removeTreeModelListener
in interfaceTreeModel
-
valueForPathChanged
public void valueForPathChanged(TreePath path, Object newValue)
- Specified by:
valueForPathChanged
in interfaceTreeModel
-
-