Class ResourceSelectionListener
- java.lang.Object
-
- org.palladiosimulator.pcmtx.pcmtxviews.views.ResourceSelectionListener
-
- All Implemented Interfaces:
EventListener
,ISelectionListener
public class ResourceSelectionListener extends Object implements ISelectionListener
This class represents anISelectionListener
that listens for selection of resources with a specific file extension.
-
-
Constructor Summary
Constructors Constructor Description ResourceSelectionListener(PCMTXView view, String fileExtension)
Creates a newResourceSelectionListener
with the given Parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
selectionChanged(IWorkbenchPart part, ISelection selection)
-
-
-
Constructor Detail
-
ResourceSelectionListener
public ResourceSelectionListener(PCMTXView view, String fileExtension)
Creates a newResourceSelectionListener
with the given Parameters.- Parameters:
view
- thePCMTXView
that needs to be updated when a new resource is selectedfileExtension
- the file extension of resources
-
-
Method Detail
-
selectionChanged
public void selectionChanged(IWorkbenchPart part, ISelection selection)
- Specified by:
selectionChanged
in interfaceISelectionListener
-
-