public class WoofFileInput extends ClasspathFileInput
Input
to obtain a WoOF resource.Constructor and Description |
---|
WoofFileInput(org.eclipse.core.resources.IContainer container,
org.eclipse.swt.widgets.Shell shell)
Initiate.
|
WoofFileInput(org.eclipse.ui.IEditorPart editor)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
protected String |
transformToPath(org.eclipse.core.resources.IFile file)
Transforms the
IFile to the path to use. |
buildControl, getValue
public WoofFileInput(org.eclipse.ui.IEditorPart editor)
editor
- IEditorPart
.public WoofFileInput(org.eclipse.core.resources.IContainer container, org.eclipse.swt.widgets.Shell shell)
container
- IContainer
to search for a file.shell
- Shell
.protected String transformToPath(org.eclipse.core.resources.IFile file)
ClasspathFileInput
Transforms the IFile
to the path to use.
Allows overriding for more specialised transformation.
transformToPath
in class ClasspathFileInput
file
- IFile
.Copyright © 2005–2016. All rights reserved.