Class AlternativeMeasuringPointContentProvider
- java.lang.Object
-
- org.palladiosimulator.measurementsui.wizard.handlers.contentprovider.AlternativeMeasuringPointContentProvider
-
- All Implemented Interfaces:
IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
public class AlternativeMeasuringPointContentProvider extends Object implements ITreeContentProvider
An alternative content provider for a hierarchical view of the measuringpoints
-
-
Constructor Summary
Constructors Constructor Description AlternativeMeasuringPointContentProvider(MeasuringPointSelectionWizardModel measuringPointWizardModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getChildren(Object parentElement)
evaluates which model is the parent and retrieves all childrenObject[]
getElements(Object inputElement)
Object
getParent(Object element)
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 Detail
-
AlternativeMeasuringPointContentProvider
public AlternativeMeasuringPointContentProvider(MeasuringPointSelectionWizardModel measuringPointWizardModel)
-
-
Method Detail
-
getElements
public Object[] getElements(Object inputElement)
- Specified by:
getElements
in interfaceIStructuredContentProvider
- Specified by:
getElements
in interfaceITreeContentProvider
-
getChildren
public Object[] getChildren(Object parentElement)
evaluates which model is the parent and retrieves all children- Specified by:
getChildren
in interfaceITreeContentProvider
-
getParent
public Object getParent(Object element)
- Specified by:
getParent
in interfaceITreeContentProvider
-
hasChildren
public boolean hasChildren(Object element)
- Specified by:
hasChildren
in interfaceITreeContentProvider
-
-