Package emptymeasuringpoints
Class CustomContentProvider
java.lang.Object
org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider
org.eclipse.emf.parsley.edit.ui.provider.ViewerContentProvider
emptymeasuringpoints.CustomContentProvider
- All Implemented Interfaces:
INotifyChangedListener
,IContentProvider
,IStructuredContentProvider
,ITreeContentProvider
,IPropertySourceProvider
public class CustomContentProvider
extends org.eclipse.emf.parsley.edit.ui.provider.ViewerContentProvider
This class is a custom version of the Content provider for a parsley view.
In this customization only the measuring Points who are not assigened to a monitor
are shown in the view.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.parsley.edit.ui.provider.ViewerContentProvider
org.eclipse.emf.parsley.edit.ui.provider.ViewerContentProvider.ViewerContentProviderViewerRefresh
Nested classes/interfaces inherited from class org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider
AdapterFactoryContentProvider.ViewerRefresh
-
Field Summary
Fields inherited from class org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider
adapterFactory, viewer, viewerRefresh
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.emf.parsley.edit.ui.provider.ViewerContentProvider
addListenersToTheModel, addListenersToTheModel, addListenersToTheModel, children, elements, getChildren, getElements, getParent, hasChildren, notifyChanged, setAdapterFactory
Methods inherited from class org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider
createPropertySource, dispose, getAdapterFactory, getPropertySource, getViewerRefreshDelay, getViewerRefreshTheshold, inputChanged
-
Constructor Details
-
CustomContentProvider
-
-
Method Details
-
children
public Object children(org.palladiosimulator.edp2.models.measuringpoint.MeasuringPointRepository measuringPointRepository) As children of our MeasuringPointRepository there is a list with unassigned Measuring Points provided as content.- Parameters:
measuringPointRepository
-- Returns:
- List of unassigned Measuring Points
-