protected CreateAction createPropertyCreateAction(PivotTablePropertyType propertyType) { CreateAction action = CreateAction.create(propertyTable, WindowManager.OpenType.THIS_TAB, "create_" + propertyType.getId()); Map<String, Object> values = new HashMap<>(); values.put("type", propertyType); action.setInitialValues(values); action.setCaption(messages.getMessage(propertyType)); return action; } }