protected void createEditPolicies() { super.createEditPolicies(); installEditPolicy( EditPolicy.COMPONENT_ROLE, new ComponentEditPolicy() { protected Command getDeleteCommand(GroupRequest request) { return new DeleteReturnCommand((ReturnMessageModel) getModel()); } }); }
protected void createEditPolicies() { super.createEditPolicies(); installEditPolicy(EditPolicy.COMPONENT_ROLE, new MessageComponentEditPolicy()); }