| Modifier and Type | Field and Description |
|---|---|
protected List<TreeModelListener> |
listeners |
protected SpaceSystem |
root |
protected List<SequenceContainer> |
visibleContainers |
protected Map<SequenceContainer,List<ParameterEntry>> |
visibleEntries |
protected XtceDb |
xtcedb |
| Constructor and Description |
|---|
XtceDbTreeModel(XtceDb db) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTreeModelListener(TreeModelListener l) |
protected void |
createCache()
Creates the cache where we map the modelled hierarchy to the Xtce
instances.
|
Object |
getChild(Object parent,
int index) |
int |
getChildCount(Object parent) |
int |
getIndexOfChild(Object parent,
Object child) |
protected List<ParameterEntry> |
getParameterEntries(Object container) |
Object |
getRoot() |
boolean |
isLeaf(Object node) |
void |
removeTreeModelListener(TreeModelListener l) |
void |
valueForPathChanged(TreePath path,
Object newValue) |
protected XtceDb xtcedb
protected SpaceSystem root
protected List<TreeModelListener> listeners
protected List<SequenceContainer> visibleContainers
protected Map<SequenceContainer,List<ParameterEntry>> visibleEntries
public XtceDbTreeModel(XtceDb db)
protected void createCache()
protected List<ParameterEntry> getParameterEntries(Object container)
public void addTreeModelListener(TreeModelListener l)
addTreeModelListener in interface TreeModelpublic void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener in interface TreeModelpublic int getChildCount(Object parent)
getChildCount in interface TreeModelpublic int getIndexOfChild(Object parent, Object child)
getIndexOfChild in interface TreeModelpublic void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged in interface TreeModelCopyright © 2017 Space Applications Services. All rights reserved.