private static Map<String, RuleFormatImageResource> getTypeImages() {
Map<String, RuleFormatImageResource> result = new HashMap<String, RuleFormatImageResource>();
result.put( AssetFormats.DRL,
new RuleFormatImageResource( AssetFormats.DRL,
images.technicalRuleAssets() ) );
result.put( AssetFormats.DSL,
new RuleFormatImageResource( AssetFormats.DSL,
images.dsl() ) );
result.put( AssetFormats.FUNCTION,
new RuleFormatImageResource( AssetFormats.FUNCTION,
images.functionAssets() ) );
result.put( AssetFormats.MODEL,
new RuleFormatImageResource( AssetFormats.MODEL,
images.modelAsset() ) );
result.put( AssetFormats.DECISION_SPREADSHEET_XLS,
new RuleFormatImageResource( AssetFormats.DECISION_SPREADSHEET_XLS,
images.spreadsheetSmall() ) );
result.put( AssetFormats.BUSINESS_RULE,
new RuleFormatImageResource( AssetFormats.BUSINESS_RULE,
images.businessRule() ) );
result.put( AssetFormats.DSL_TEMPLATE_RULE,
new RuleFormatImageResource( AssetFormats.DSL_TEMPLATE_RULE,
images.businessRule() ) );
result.put( AssetFormats.RULE_FLOW_RF,
new RuleFormatImageResource( AssetFormats.RULE_FLOW_RF,
images.ruleflowSmall() ) );
result.put( AssetFormats.BPMN_PROCESS,
new RuleFormatImageResource( AssetFormats.BPMN_PROCESS,
images.ruleflowSmall() ) );
result.put( AssetFormats.BPMN2_PROCESS,
new RuleFormatImageResource( AssetFormats.BPMN2_PROCESS,
images.ruleflowSmall() ) );
result.put( AssetFormats.TEST_SCENARIO,
new RuleFormatImageResource( AssetFormats.TEST_SCENARIO,
images.testManager() ) );
result.put( AssetFormats.ENUMERATION,
new RuleFormatImageResource( AssetFormats.ENUMERATION,
images.enumeration() ) );
result.put( AssetFormats.DECISION_TABLE_GUIDED,
new RuleFormatImageResource( AssetFormats.DECISION_TABLE_GUIDED,
images.gdst() ) );
result.put( AssetFormats.SPRING_CONTEXT,
new RuleFormatImageResource( AssetFormats.SPRING_CONTEXT,
images.newEnumeration() ) );
return result;
}