return new RuleValidatorWrapper(new DSLRuleEditor(asset), asset);
} else if (asset.metaData.format.equals(AssetFormats.BPEL_PACKAGE)
&& Preferences.getBooleanPref("flex-bpel-editor")) {
return new BPELWrapper(asset, viewer);
} else if (asset.metaData.format.equals(AssetFormats.MODEL)) {
return new ModelAttachmentFileWidget(asset, viewer);
} else if (asset.metaData.format.equals(AssetFormats.DECISION_SPREADSHEET_XLS)) {
return new DecisionTableXLSWidget(asset, viewer);
} else if (asset.metaData.format.equals(AssetFormats.RULE_FLOW_RF)) {
return new RuleFlowWrapper(asset, viewer);
} else if (asset.metaData.format.equals(AssetFormats.BPMN2_PROCESS)) {