public class ExplorersViewSelectionLMVHandler extends AbstractLogicalModelViewHandler
Constructor and Description |
---|
ExplorersViewSelectionLMVHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(IWorkbenchPart part,
ISelection selection)
This will be called to determine whether a selection must be listened by the logical model view.
|
Collection<IFile> |
getFiles(IWorkbenchPart part,
ISelection selection)
Retrieve the files associated with the given selection.
|
getSynchronizationModels
public boolean canHandle(IWorkbenchPart part, ISelection selection)
canHandle
in interface ILogicalModelViewHandler
canHandle
in class AbstractLogicalModelViewHandler
part
- the IWorkbenchPart
of the editor on which the selection occurs.selection
- the ISelection
to test.public Collection<IFile> getFiles(IWorkbenchPart part, ISelection selection)
getFiles
in interface ILogicalModelViewHandler
getFiles
in class AbstractLogicalModelViewHandler
part
- the IWorkbenchPart
of the editor.selection
- the ISelection
.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.