} else if ( asset.metaData.format.equals( AssetFormats.RULE_FLOW_RF ) ) {
return new RuleFlowWrapper( asset,
viewer );
} else if ( ( asset.metaData.format.equals( AssetFormats.BPMN2_PROCESS ) || asset.metaData.format.equals( AssetFormats.BPMN_PROCESS ) ) ) {
// businesProcessEditor cares about rule viewer settings
return new BusinessProcessEditor( asset );
} else if ( asset.metaData.format.equals( AssetFormats.DRL ) ) {
return new DrlEditor( asset );
} else if ( asset.metaData.format.equals( AssetFormats.ENUMERATION ) ) {
return new DefaultRuleContentWidget( asset );
} else if ( asset.metaData.format.equals( AssetFormats.TEST_SCENARIO ) ) {