question: private void decorateFromFilesystem ( final IResource resource , final IDecoration decoration , final TFSRepository repository ) { if ( repository == null ) { decoration . addOverlay ( imageHelper . getImageDescriptor ( TFS_OFFLINE_ICON ) ) ; } else if ( resource . getType ( ) == IResource . FILE && resource . isReadOnly ( ) ) { decoration . addOverlay ( imageHelper . getImageDescriptor ( TFS_ICON ) ) ; } else if ( resource . getType ( ) == IResource . FILE ) { decoration . addOverlay ( imageHelper . getImageDescriptor ( UNKNOWN_ICON ) ) ; } else { decoration . addOverlay ( imageHelper . getImageDescriptor ( TFS_ICON ) ) ; } }
target:  This is a fallback decorator for when the ItemCache is not available (hasn't yet completed refreshing.) This is very similar to the 2.x LabelDecorator.