if (_compliance.toWGAVersion().isAtLeast(5, 0)){
IContainer container = (IContainer) resource;
if(!container.getName().startsWith(".")){
if (WGADesignStructureHelper.isMediaKeyContainer(container)) {
IFile syncInfo = WGADesignStructureHelper.determineSyncInfo(container);
WGADesignConfigurationModelWrapper conf;
try {
conf = new WGADesignConfigurationModelWrapper(syncInfo);
List<String> mediaKeyStrings = new ArrayList<String>();
mediaKeyStrings.addAll(WGADesignStructureHelper.DEFAULT_MEDIA_KEYS);
for (MediaKey current : conf.getMediaKeys()) {
mediaKeyStrings.add(current.getKey());
}
if (!mediaKeyStrings.contains(container.getName())) {
Map<String, Object> map = new HashMap<String, Object>();
MarkerUtilities.setMessage(map, "Missing mediakey '" + container.getName() + "' in design configuration.");