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