public interface IUnassociatedEditorStrategy
Modifier and Type | Method and Description |
---|---|
IEditorDescriptor |
getEditorDescriptor(String fileName,
IEditorRegistry editorRegistry) |
IEditorDescriptor getEditorDescriptor(String fileName, IEditorRegistry editorRegistry) throws CoreException, OperationCanceledException
fileName
- Name of the file to openeditorRegistry
- the IDE editor registryIEditorDescriptor
for editor to use to open this file,
or null if no editor was resolved for that file name.CoreException
- in case descriptor lookup fails with an errorOperationCanceledException
- in case descriptor lookup was cancelled by the user
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.