Class EMFCompareEditorLMVHandler
java.lang.Object
org.eclipse.emf.compare.ide.ui.internal.logical.view.AbstractLogicalModelViewHandler
org.eclipse.emf.compare.ide.ui.internal.logical.view.EMFCompareEditorLMVHandler
- All Implemented Interfaces:
ILogicalModelViewHandler
Handle, for the Logical Model View, the EMF Compare editor activations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCollection<org.eclipse.core.resources.IFile>
getFiles
(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection) Retrieve the files associated with the given editor (via itsIWorkbenchPart
).Methods inherited from class org.eclipse.emf.compare.ide.ui.internal.logical.view.AbstractLogicalModelViewHandler
canHandle, getSynchronizationModels
-
Constructor Details
-
EMFCompareEditorLMVHandler
public EMFCompareEditorLMVHandler()
-
-
Method Details
-
getFiles
public 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 editor (via itsIWorkbenchPart
).- Specified by:
getFiles
in interfaceILogicalModelViewHandler
- Overrides:
getFiles
in classAbstractLogicalModelViewHandler
- Parameters:
part
- theIWorkbenchPart
of the editor.selection
- theISelection
.- Returns:
- the files associated with the given editor (via its
IWorkbenchPart
).
-