public class FileOpener
extends java.lang.Object
| Constructor and Description | 
|---|
FileOpener()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
openFileToEdit(org.eclipse.swt.widgets.Shell shell,
              org.eclipse.core.resources.IFile file)
 Opens the file in the corresponding default editor (asynchronous execution). 
 | 
void | 
selectAndReveal(org.eclipse.core.resources.IFile file)  | 
public void selectAndReveal(org.eclipse.core.resources.IFile file)
file - the file that should be selected. May be null.public void openFileToEdit(org.eclipse.swt.widgets.Shell shell,
                  org.eclipse.core.resources.IFile file)
 Opens the file in the corresponding default editor (asynchronous execution).
 Does nothing if file is null
 
shell - the parent shell. May not be nullfile - that should be selected.