[Pixelle-commit] SF.net SVN: pixelle:[263] trunk/pixelle/src/com/mebigfatguy/pixelle/ PixelleCompon
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-07-17 05:00:13
|
Revision: 263
http://pixelle.svn.sourceforge.net/pixelle/?rev=263&view=rev
Author: dbrosius
Date: 2009-07-17 05:00:10 +0000 (Fri, 17 Jul 2009)
Log Message:
-----------
add toString based on title.
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java 2009-07-17 04:57:24 UTC (rev 262)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java 2009-07-17 05:00:10 UTC (rev 263)
@@ -60,4 +60,9 @@
components.add(PixelleComponent.SELECTION);
return components;
}
+
+ @Override
+ public String toString() {
+ return PixelleBundle.getString("title." + name().toLowerCase());
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|