[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7875) Wizard for creating an AnnotationLiteral

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Dec 13 12:20:52 EST 2010


    [ https://issues.jboss.org/browse/JBIDE-7875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569701#comment-12569701 ] 

Viacheslav Kabanovich commented on JBIDE-7875:
----------------------------------------------

Wizard is based on New Java class wizard (see screenshot). 'Superclass' and 'Interfaces' input fields are hidden, and instead, 'Qualifier' input field added, with 'Browse' button that runs qualifier selector. On qualifier selection, class name field is filled by a default value and wizard is ready to finish. If wizard is started with selection in Package Explorer on a qualifier, then wizard is automatically filled and ready to finish.

> Wizard for creating an AnnotationLiteral
> ----------------------------------------
>
>                 Key: JBIDE-7875
>                 URL: https://issues.jboss.org/browse/JBIDE-7875
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: cdi (jsr-299)
>            Reporter: Dan Allen
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.0.CR1
>
>         Attachments: New Annotation Literal.png
>
>
> We are recommending to developers, particularly extension designers, that they create an AnnotationLiteral for every qualifier in their public API. Creating an AnnotationLiteral can be a tad tedious. Thus, we should introduce a wizard to create them in JBT.
> Here's a whole bunch of annotation literals to use as a reference:
> https://github.com/weld/extensions/tree/1.0.0.Beta1/impl/src/main/java/org/jboss/weld/extensions/literal
> The real time saver is creating an AnnotationLiteral for an Annotation (qualifier) that has attributes.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list