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.
|
getSynchronizationModelspublic boolean canHandle(IWorkbenchPart part, ISelection selection)
canHandle in interface ILogicalModelViewHandlercanHandle in class AbstractLogicalModelViewHandlerpart - 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 ILogicalModelViewHandlergetFiles in class AbstractLogicalModelViewHandlerpart - the IWorkbenchPart of the editor.selection - the ISelection.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.