&& 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)) {
return new RuleFlowWrapper(asset, viewer);
} else if (asset.metaData.format.equals(AssetFormats.DRL)) {