protected boolean isSarlResource ( Object resource ) { if ( resource instanceof IFile ) { final IFile file = ( IFile ) resource ; return getFileExtensions ( ) . contains ( file . getFileExtension ( ) ) ; } return false ; }
Replies if the given resource is a SARL resource .