Revision: 1121
Author:   ge0ffrey
Date:     2006-05-07 13:04:33 -0700 (Sun, 07 May 2006)
ViewCVS:  http://svn.sourceforge.net/spring-rich-c/?rev=1121&view=rev

Log Message:
-----------
RCP-332 use global delete command

Modified Paths:
--------------
    
trunk/spring-richclient/samples/simple/src/main/java/org/springframework/richclient/samples/simple/ui/ContactView.java
Modified: 
trunk/spring-richclient/samples/simple/src/main/java/org/springframework/richclient/samples/simple/ui/ContactView.java
===================================================================
--- 
trunk/spring-richclient/samples/simple/src/main/java/org/springframework/richclient/samples/simple/ui/ContactView.java
      2006-05-07 20:01:29 UTC (rev 1120)
+++ 
trunk/spring-richclient/samples/simple/src/main/java/org/springframework/richclient/samples/simple/ui/ContactView.java
      2006-05-07 20:04:33 UTC (rev 1121)
@@ -92,9 +92,6 @@
     /** The executor to handle the "delete" command. */
     private DeleteExecutor deleteExecutor = new DeleteExecutor();
 
-    /** The command Id of the Delete command. */
-    private static final String DELETE_COMMAND_ID = "deleteCommand";
-
     /** The group Id for the popup menu. */
     private static final String POPUP_COMMAND_ID = "contactViewPopupMenu";
 
@@ -151,8 +148,7 @@
      */
     protected void registerLocalCommandExecutors( PageComponentContext context 
) {
         context.register(GlobalCommandIds.PROPERTIES, propertiesExecutor);
-        context.register(DELETE_COMMAND_ID, deleteExecutor);
-
+        context.register(GlobalCommandIds.DELETE, deleteExecutor);
     }
 
     /**


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to