Core Java| JSP| Servlets| XML| EJB| JEE5| Web Services| J2ME| Glossary| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials

Latest Questions
Comments
 
Akrogen 
 

Wizards Eclipse are often used into Eclipse plugin to generate code of component. Wizard is composed of several different underlying pages. For instance, "New java class" wizard which can be accessed with File/New/Class menu is composed of wizard page whi

 

Akrogen

                         

Wizards Eclipse are often used into Eclipse plugin to generate code of component. Wizard is composed of several different underlying pages. For instance, "New java class" wizard which can be accessed with File/New/Class menu is composed of wizard page which can generate "Java class" component.

Whe you wish develop your own Eclipse wizard, on other words wizard which is able to generate code of component of your architecture, you must :
* learn Eclipse plugin architecture which is very powerfull but which is not easy.
* learn SWT and JFace API.
* develop template engine to generate code.

Akrogen is code generation Eclipse Plugin (version 3.2.*) oriented components. With Akrogen you can use wizard Eclipse which generate code, without knowing Eclipse plugin architecture, SWT, JFace libraries and without developping template engine to generate code.
                                           
Indead, with Akrogen you can describe your Eclipse Wizards pages with XML/XUL which are linked to a template which is able to generate your components (Service, DAO, JSP, HTML...). You can use scripts written with Javascript syntax to define logic of yours Wizard pages.

The code generation of component is the result of the merge of a template (which can be written in Freemarker, Velocity, XSLT) with parameters, XML document, JAVA class model.

With Akrogen you can create easily your own catalog of components to generate. Here the Akrogen concepts :

* Wizard page/XML component : a component is generated with Eclipse Wizard page which display template parameters. The Wizard page has following characteristics :
static XUL : the Wizard page is written in XML/XUL with a XML component. XUL fields define template parameters.
Javascript XUL : events (onkeyup, onchange,...) of XUL fields can be linked to Javascript functions to update another XUL fields.

It's possible to test your Javascript/XUL with Firefox by setting .xul extension into the XML components file.
Model : when template use XML document or JAVA class, XML component must define a XML/class JAVA model pour oblige user to select the file before displaying the Wizard page.
dynamic XUL : the Wizard page can use the model defined on below to display a XUL which depends on selected XML file/JAVA class. With dynamic XUL you can for instance display list of selected JAVA class getters into a tree which contains checkbox (to select getters to use into the template). The Freemarker syntaxe (square bracket) is used in this case.

* Catalogue : a catalog contains components, templates that you wish generate.
To open XML component Wizrad page, you can use Catalog view or contextual Akrogen menu (after having selected a file of your Eclipse project).

* Template engine :
Templates : templates can be written in Freemarker, Velocity ou XSLT. It's possible to implement another template with Spring descriptor.
Modèle : model which is used into templates are String parameters or XML/class JAVA.

Know click for more information.

http://akrogen.sourceforge.net/

                         

» View all related tutorials
Related Tags: c eclipse com ide shell table application debug insert io make communication user window internet command compile ip environment vi

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Training Courses
Tell A Friend
Your Friend Name
Software Solutions
Least Viewed
Most Rated
Recently Viewed
Search Tutorials

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.