You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/06/15 15:12:53 UTC

svn commit: r784766 - /incubator/pivot/trunk/wtk/src/pivot/wtk/Action.java

Author: tvolkert
Date: Mon Jun 15 13:12:53 2009
New Revision: 784766

URL: http://svn.apache.org/viewvc?rev=784766&view=rev
Log:
Changed Action.getDescription() to be concrete (default to returning null)

Modified:
    incubator/pivot/trunk/wtk/src/pivot/wtk/Action.java

Modified: incubator/pivot/trunk/wtk/src/pivot/wtk/Action.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/pivot/wtk/Action.java?rev=784766&r1=784765&r2=784766&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/pivot/wtk/Action.java (original)
+++ incubator/pivot/trunk/wtk/src/pivot/wtk/Action.java Mon Jun 15 13:12:53 2009
@@ -119,9 +119,12 @@
     }
 
     /**
-     * Returns a text description of the action.
+     * Returns a text description of the action. Subclasses should override this
+     * to return a meaningful description if one is needed.
      */
-    public abstract String getDescription();
+    public String getDescription() {
+        return null;
+    }
 
     /**
      * Performs the action.