public class ExplorersViewSelectionLMVHandler extends AbstractLogicalModelViewHandler
| Constructor and Description |
|---|
ExplorersViewSelectionLMVHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
This will be called to determine whether a selection must be listened by the logical model view.
|
Collection<org.eclipse.core.resources.IFile> |
getFiles(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
Retrieve the files associated with the given selection.
|
getSynchronizationModelspublic boolean canHandle(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.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<org.eclipse.core.resources.IFile> getFiles(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
getFiles in interface ILogicalModelViewHandlergetFiles in class AbstractLogicalModelViewHandlerpart - the IWorkbenchPart of the editor.selection - the ISelection.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.