pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-1008) Allow enum values as Automation IDs
Date Thu, 05 Oct 2017 20:08:00 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193558#comment-16193558
] 

Roger Whitcomb commented on PIVOT-1008:
---------------------------------------

Committed:
Sending        wtk\src\org\apache\pivot\wtk\Automation.java
Sending        wtk\src\org\apache\pivot\wtk\Component.java
Transmitting file data ..done
Committing transaction...
Committed revision 1811245.


> Allow enum values as Automation IDs
> -----------------------------------
>
>                 Key: PIVOT-1008
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1008
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: 1008.patch
>
>
> It would be convenient in some instances to be able to use enum constants as automation
IDs in order to provide compile-time checking of the ID values (to ensure consistency).  So,
to facilitate this, we could add "get", "add" and "remove" methods in Automation that accept
enum values.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message