Skip to content

Commit

Permalink
JBIDE-16795 create CDI features overview for tools.jboss.org
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykazakov committed Mar 19, 2014
1 parent 5a06582 commit b79d622
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 15 deletions.
46 changes: 31 additions & 15 deletions features/cdi.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,49 @@
:page-issues_url: https://issues.jboss.org/browse/JBIDE/component/12311164

== Context Dependency Injection
=== Utilize the power of CD
=== Utilize the power of CDI
image::images/features-cdi-wizards.png[]

Context and Dependency Injection (CDI) tooling allows you to easily add and work with the CDI programming model for your web-based applications. Helps you adding CDI support to existing projects and create new projects with the CDI wizard. The tooling also provides you with validation, code completion and hyperlink navigation.

== CDI Wizards
=== Easy coding
image::images/features-cdi-new.png[]

== CDI Nature
image::images/features-cdi_308px.png[]
A bunch of wizards are available for easier creation of:

Todo...
* CDI Web project
* Bean
* Interceptor
* Decorator
* Qualifier Annotation
* Scope Annotation
* Stereoptype Annotation
* Interceptor Binding Annotation
* Annotation Literal

== Content Assist
image::images/features-cdi_308px.png[]
and more.

Todo...
== Validation
=== Preventing definition and deployment problems
image::images/features-cdi-validation.png[]

CDI Tools validation covers most of the problems defined in the CDI specification. There are more than a hundred validation rules including definition errors and deployment problems. Some of the problems can be fixed via Quick Fixes menu (Ctrl+1).

== Hyperlink Navigation
image::images/features-cdi_308px.png[]
=== Quick access to source
image::images/features-cdi-navigation.png[]

Todo...
Hyperlinks help you to navigate between source files. For example Ctrl+Click or F3 on any injection point will navigate you to the corresponding bean definition. If the injection point has multiple eligible beans, you can see a full list of these beans. Navigation also works in beans.xml. Observers, Events, Producer and Disposer methods can be navigated via hyperlinks too.

== EL support
image::images/features-cdi_308px.png[]
=== The power of CDI + JSF
image::images/features-cdi-el.png[]

Todo...

== Validation
image::images/features-cdi_308px.png[]
@Named beans and their properties/methods are available for code completion in XHTML files. CDI Tools also supports validation, hyperlink navigation, refactoring for EL expressions.

Todo...
== And More
=== CDI Extensions, editors, dialogs,...
image::images/features-cdi-editor.png[]

CDI support in JBoss Tools also includes beans.xml editor with code completion, navigation and validation. Related CDI Beans are added in a search result for field/method references search. Apache DeltaSpike support, "Open CDI @Named Bean" dialog and more...
Binary file added features/images/features-cdi-editor.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added features/images/features-cdi-el.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added features/images/features-cdi-navigation.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added features/images/features-cdi-new.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added features/images/features-cdi-validation.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added features/images/features-cdi-wizards.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b79d622

Please sign in to comment.