Swamp/workflow editor

Şuraya atla: kullan, ara

SWAMP is participating in Google's Summer of Code (http://code.google.com/soc/suse/about.html) with a project that aims to create a GUI editor for the XML workflow definitions. The project is done by Mahmoud Mahran.

Overview:

- GUI Editor with drag&drop capabilities for all workflow elements that are nodes, edges, conditions, actions

- The available properties of each element must be editable

- Editing workflow metadata, roles and the workflows dataset

- Export / Import the internal model to SWAMP compatible XML files

- Create an eclipse plugin, with the graphical editor based on the GEF framework. Similar to the [JBPM process designer]


Source code repository:

https://svn.sourceforge.net/svnroot/swamp/editor/

Resources:

Eclipse-based:

- http://www.eclipse.org/gmf/gallery

- http://www.eclipse.org/gef/

- http://www.eclipse.org/proposals/jwt/

- Create an eclipse plugin:
http://www.eclipse.org/articles/Article-PDE-does-plugins/PDE-intro.html
http://www.eclipse.org/articles/Article-Plug-in-architecture/plugin_architecture.html

Using GEF:
http://www.eclipse.org/articles/Article-GEF-diagram-editor/shape.html

http://www.eclipse-wiki.info/GEF


Related projects:

- http://www.enhydra.org/workflow/jawe/index.html

- http://www.scs.carleton.ca/~arpwhite/documents/honoursProjects/tang-mei-summer-2004.pdf

- http://jmettraux.wordpress.com/2006/05/16/lukas-openwfe-ide/

- http://docs.jboss.com/jbpm/v3/gpd/


Project General Structure;

- New Project wizard that generates SWAMP project files including SWAMP core jar files, process files besides java run time environment files.

- When editing XML process file a multi tab editor will launch, one tap displays graphical interface for the process designer. Second tap displays the generated XML file, third tap for deployment into apache Tom Cat, fourth tap display XML tags as hierarchy.

- By extending extension points in Eclipse Framework we can have the custom multi tap editor.

- See this new project wizard

NewProject.jpg

- Here is an example to extend eclipse editor

   Plug in XML file 
    <extension
        id="org.opemSuse.SWAMP.Editor"
        name="Process Designer Editor"
        point="org.eclipse.ui.editors">
     <editor
           name="Process Designer Editor"
           icon="icons/file.gif"
           extensions="editor"

contributorClass="com.openSuse.SWAMP.Editor.ProcessEditorContributor"

           class="com.openSuse.SWAMP.Editor.ProcessEditorContributor"
           id="com.openSuse.SWAMP.Editor.ProcessEditorContributor">
     </editor>
    </extension>

-In the same context we can create new project wizard .