Revision: 7718
          http://svn.sourceforge.net/gate/?rev=7718&view=rev
Author:   ian_roberts
Date:     2006-10-18 07:58:07 -0700 (Wed, 18 Oct 2006)

Log Message:
-----------
Support for parameters whose type is a Java 5.0 "enum" type.

Parameter.calculateValueFromString() uses Enum.valueOf() to convert the name of
an enum constant into the constant itself.

ResourceParametersEditor renders an enum-valued parameter as a drop down combo
box with the enum constants as options, plus "<none>" which maps to null in the
same way as for GATE Resource-valued params.

Modified Paths:
--------------
    gate/trunk/src/gate/creole/Parameter.java
    gate/trunk/src/gate/gui/ResourceParametersEditor.java


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
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to