Sample Manifest Support project. See the chapter called "DataObjects and DataLoaders" in the book "Rich Client Programming: Plugging into the NetBeans Platform" for details.
This sample illustrates how to let the IDE recognize a new file type.