Revision: 1604
          http://svn.sourceforge.net/spring-rich-c/?rev=1604&view=rev
Author:   kevinstembridge
Date:     2006-12-17 12:04:18 -0800 (Sun, 17 Dec 2006)

Log Message:
-----------
Added javadoc

Modified Paths:
--------------
    
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/support/ExitCommand.java

Modified: 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/support/ExitCommand.java
===================================================================
--- 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/support/ExitCommand.java
       2006-12-17 19:57:16 UTC (rev 1603)
+++ 
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/support/ExitCommand.java
       2006-12-17 20:04:18 UTC (rev 1604)
@@ -18,16 +18,29 @@
 import org.springframework.richclient.application.Application;
 
 /**
+ * An action command that causes the application to exit.
+ * 
  * @author Keith Donald
  */
 public class ExitCommand extends ApplicationWindowAwareCommand {
+    
+    /** The identifier of this command. */
+    public static final String ID = "exitCommand";
 
+    /**
+     * Creates a new [EMAIL PROTECTED] ExitCommand} with an id of [EMAIL 
PROTECTED] #ID}.
+     */
     public ExitCommand() {
-        super("exitCommand");
+        super(ID);
     }
 
+    /**
+     * Closes the single [EMAIL PROTECTED] Application} instance.
+     * 
+     * @see Application#close()
+     */
     protected void doExecuteCommand() {
         Application.instance().close();
     }
 
-}
\ No newline at end of file
+}


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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
spring-rich-c-cvs mailing list
spring-rich-c-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs

Reply via email to