Community
Participate
Working Groups
It should be possible to annotation enum items with images. This is already possible with the @Label annotation. A reference usecase for this is the checkbox list property editor when used in conjunction with enum lists. See related Bug 345671. Example: public enum DispatcherEvent { @Label( standard = "forward" ) @Image( path = "CircleBlue.png" ) FORWARD, @Label( standard = "include" ) @Image( path = "CircleCyan.png" ) INCLUDE, @Label( standard = "request" ) @Image( path = "CircleGreen.png" ) REQUEST, @Label( standard = "error" ) @Image( path = "CircleRed.png" ) ERROR }
Enhancement implemented. Content added to the what's new doc.
Verified.