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
Constructors Constructor Description CustomContentProvider(AdapterFactory adapterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
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 Detail
-
CustomContentProvider
@Inject public CustomContentProvider(AdapterFactory adapterFactory)
-
-
Method Detail
-
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
-
-