fix for #5
now also expecting resources to return paths that include the selector and the extension to fix #6
Using 'resource.adaptTo(ValueMap.class)' to show the value map at the properties page