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> |
getFilesFromSelection(ISelection selection)
Retrieve the files associated with the given selection.
|
canHandle, getFilesFromWorkbenchPart, getLogicalModelResources, getLogicalModelResourcespublic 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> getFilesFromSelection(ISelection selection)
getFilesFromSelection in interface ILogicalModelViewHandlergetFilesFromSelection in class AbstractLogicalModelViewHandlerselection - the ISelection.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.