IResource function ( Object arg0 ) { if ( arg0 == null ) { return null ; } if ( arg0 instanceof IResource ) { return ( IResource ) arg0 ; } return ( IResource ) getAdapter ( arg0 , IResource . class , true ) ; }
returns the resource corresponding to the given model element , or null if there is no applicable resource . concode_field_sep PlaceHolder placeHolder concode_field_sep IEditorPart findEditor concode_elem_sep Object getAdapter concode_elem_sep IFile getFileFromResourceMapping concode_elem_sep IResource getResourceFromResourceMapping concode_elem_sep ResourceMapping getResourceMapping concode_elem_sep IFile getFile concode_elem_sep IFile getFile