How do I create an IMarker in a standalone SWT-application
===

I need to create an IMarker-object for input to MarkerAnnotation.
When doing it from within an Eclipse-plugin, itś easy to get a IResource and do createMarker on that, but within my standalone SWT application I find it hard to get hold of a IResource.
Is there any way to get hold of a IResource within my SWT-application?, or is it possible to create the IMarker without using an IResource?
