public static IEditorInput createFileEditorInput(File file) throws CoreException {
  if (file == null)   throw new IllegalArgumentException("File is null");
  return new MindMapEditorInput(file.toURI());
}

public static IEditorInput createFileEditorInput ( File file ) throws CoreException { if ( file == null ) throw new IllegalArgumentException ( "File is null" ) ; return new MindMapEditorInput ( file . toURI ( ) ) ; }
creates an editor input using the given file .
