Issue Details (XML | Word | Printable)

Key: GDS-494
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Franck Wolff
Reporter: Tom Rice
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
GraniteDS

Use 'Base' pattern for generated Enums

Created: 13/Aug/09 10:12 PM   Updated: 07/Apr/10 07:07 PM   Resolved: 07/Apr/10 07:07 PM
Component/s: AS3 code generation
Affects Version/s: 2.0.0_SP1
Fix Version/s: None


 Description  « Hide
Enhance Enum generation to support custom business logic, as GAS already supports for classes via the 'Base' pattern?

There are times you want to add business logic to enums. Right now, if any custom logic is added to the generated enum classes it will be overwritten.

The 'Operation' enum from from the Java Language Guide is a good conceptual example of the need (http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html, about halfway down the page).

Franck Wolff added a comment - 07/Apr/10 07:07 PM
Too old.