opensource.luminis.net
 

oAW Workflow from Eclipse Plugin

Introduction

With openArchitectureWare it is possible to create a workflow that can be run from a Eclipse plugin. On http://www.openarchitectureware.org/article.php?story=howto_cartridge_as_plugin information can be found about class and resource loading for this. On this page an example is available using the information from that post. There are some changes/additions to make it work for UML.

Plugin

As stated, the example has some changes when compared to the original. When using the resource loader with a workflow that uses UML models, the UML.metamodel.uml resource cannot be found. The solution to fix this has been taken from http://www.openarchitectureware.org/forum/viewtopic.php?forum=2&showtopic=8711&highlight=uml.metamodel.uml

Logging

Furthermore, when using a workflow from a plugin, the logging is not send to the correct console. On http://www.openarchitectureware.org/forum/viewtopic.php?forum=2&showtopic=8768 and several other posts the problem is reported. A solution is posted on the German oAW support forum: http://oaw-forum.itemis.de/forum/viewtopic.php?forum=1&showtopic=1486
This solution is also used in the example. A new console is created, and the log output is sent to it. Using the Logger it is also possible to filter the logging.

Files

Name Size Creator Creation Date Comment  
ZIP Archive net.luminis.oaw.plugin.zip -0.0 kB Arjan Schaaf Apr 09, 2009 12:08    
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Mar 12

    Anonymous says:

    Very nice, very useful. I really like the concatenation of the solutions for rel...

    Very nice, very useful. I really like the concatenation of the solutions for related (and commmon) problems.
    Thank you.

Add Comment


Powered by JIRA Studio 2.2 | Terms of Use | Bug/feature request | Request Support | Help/Documentation