TUP-4807 fix: The text is not right when try to delete locked test case

https://jira.talendforge.org/browse/TUP-4807
This commit is contained in:
guol
2016-08-23 15:12:54 +08:00
parent b3facb2eda
commit 48e30dbd13

View File

@@ -837,6 +837,8 @@ public class ERepositoryObjectType extends DynaEnum<ERepositoryObjectType> {
return "components";
} else if (type.getType().equals("SERVICES")) {
return "Services";
} else if (type.getType().equals("TEST_CONTAINER")) {
return "test case";
} else if (GlobalServiceRegister.getDefault().isServiceRegistered(ICamelDesignerCoreService.class)) {
ICamelDesignerCoreService camelService = (ICamelDesignerCoreService) GlobalServiceRegister.getDefault().getService(
ICamelDesignerCoreService.class);