Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-16795 create CDI features overview for tools.jboss.org #43

Merged
merged 1 commit into from
Mar 19, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this section should be expanded to show these :)

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.