public interface ILogicalModelViewHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(IWorkbenchPart part)
This will be called to determine whether an editor must be listened by the logical model view.
|
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.
|
Collection<IFile> |
getFilesFromWorkbenchPart(IWorkbenchPart part)
Retrieve the files associated with the given editor (via its
IWorkbenchPart). |
Collection<IResource> |
getLogicalModelResources(ISelection selection,
IProgressMonitor monitor)
Get the resources computed by the logical model.
|
Collection<IResource> |
getLogicalModelResources(IWorkbenchPart part,
IProgressMonitor monitor)
Get the resources computed by the logical model.
|
boolean canHandle(IWorkbenchPart part)
part - the IWorkbenchPart of the editor to test.boolean canHandle(IWorkbenchPart part, ISelection selection)
part - the IWorkbenchPart of the editor on which the selection occurs.selection - the ISelection to test.Collection<IFile> getFilesFromWorkbenchPart(IWorkbenchPart part)
IWorkbenchPart).part - the IWorkbenchPart of the editor.IWorkbenchPart).Collection<IFile> getFilesFromSelection(ISelection selection)
selection - the ISelection.Collection<IResource> getLogicalModelResources(IWorkbenchPart part, IProgressMonitor monitor)
part - the IWorkbenchPart of the editor.monitor - to monitor the process.Collection<IResource> getLogicalModelResources(ISelection selection, IProgressMonitor monitor)
selection - the ISelection.monitor - to monitor the process.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.