public interface ILogicalModelViewHandler
| 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 the given editor or the given 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.
|
Collection<SynchronizationModel> |
getSynchronizationModels(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection,
org.eclipse.core.runtime.IProgressMonitor monitor)
Get the logical models associated with the given editor or selection.
|
boolean canHandle(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
part - the IWorkbenchPart of the editor on which the selection occurs.selection - the ISelection to test.Collection<org.eclipse.core.resources.IFile> getFiles(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
part - the IWorkbenchPart of the editor on which the selection occurs.selection - the ISelection.Collection<SynchronizationModel> getSynchronizationModels(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection, org.eclipse.core.runtime.IProgressMonitor monitor)
part - the IWorkbenchPart of the editor on which the selection occurs.selection - the ISelection.monitor - to monitor the process.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.