org.electrocodeogram.cpc.core.api.cfg.registry
Interface IConfigurationRegistry


public interface IConfigurationRegistry

A special, global CPC Core registry for configuration data.

An instance can be obtained from CPCCorePlugin.getConfigurationRegistry().

Author:
vw
See Also:
CPCCorePlugin

Method Summary
 java.util.Set<java.lang.String> getSupportedFileTypes()
          Retrieves a list of all file types which are supported by the currently installed CPC modules.
 

Method Detail

getSupportedFileTypes

java.util.Set<java.lang.String> getSupportedFileTypes()
Retrieves a list of all file types which are supported by the currently installed CPC modules.
The value is used to filter out events for file types which are of no interest to any CPC module. This is done to improve performance.

File types are lower case file extensions as seen on the filesystem, not including the dot. I.e.:

NOTE: The returned Set implementation should be chosen to support efficient Set.contains(Object) lookups.

Returns:
a list of file types which should be taken into account by CPC modules, never null.