Package org.yamcs.studio.core.ui
Class XtceTreeContentProvider<T>
java.lang.Object
org.yamcs.studio.core.ui.XtceTreeContentProvider<T>
- All Implemented Interfaces:
IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
- Direct Known Subclasses:
CommandTreeContentProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addElement
(String qualifiedName, T data) Fits the XTCE element in the current modelprotected abstract XtceTreeNode<T>
createXtceTreeNode
(XtceTreeNode<T> parent, String name, T data) Object[]
getChildren
(Object parentElement) Object[]
getElements
(Object inputElement) boolean
hasChildren
(Object element) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jface.viewers.IContentProvider
dispose, inputChanged
-
Constructor Details
-
XtceTreeContentProvider
public XtceTreeContentProvider()
-
-
Method Details
-
getElements
- Specified by:
getElements
in interfaceIStructuredContentProvider
- Specified by:
getElements
in interfaceITreeContentProvider
-
getChildren
- Specified by:
getChildren
in interfaceITreeContentProvider
-
getParent
- Specified by:
getParent
in interfaceITreeContentProvider
-
hasChildren
- Specified by:
hasChildren
in interfaceITreeContentProvider
-
createXtceTreeNode
-
addElement
Fits the XTCE element in the current model
-