{
putValue(Action.NAME, ActionMessages.getString("ClearDataCacheAction.Text"));
putValue(Action.SHORT_DESCRIPTION, ActionMessages.getString("ClearDataCacheAction.Description"));
putValue(Action.MNEMONIC_KEY, ActionMessages.getOptionalMnemonic("ClearDataCacheAction.Mnemonic"));
putValue(Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("ClearDataCacheAction.Accelerator"));
final DataCache cache = DataCacheFactory.getCache();
if (cache == null)
{
setEnabled(false);
}
}