Difference between revisions of "STP/IM Component/Plug-in Structure"

From Eclipsepedia

Jump to: navigation, search
Line 7: Line 7:
 
|-
 
|-
 
| org.eclipse.stp.im
 
| org.eclipse.stp.im
| The intermediate model project EMF stuff
+
| Generated by [[EMF]]. Can be seen as the core plug-in, as it contains the STP-IM metamodel description (model/stpmodel.ecore).
 
|-
 
|-
 
| org.eclipse.stp.im.edit
 
| org.eclipse.stp.im.edit
| Generated by EMF
+
| Generated by [[EMF]]. Contains Java code to edit instances of STP-IM.
 
|-
 
|-
 
| org.eclipse.stp.im.editor
 
| org.eclipse.stp.im.editor
| The emf editor for im files generated by EMF
+
| Generated by [[EMF]]. Basic editor to create STP-IM instances.
 
|-
 
|-
 
| org.eclipse.stp.im.tests
 
| org.eclipse.stp.im.tests
| EMF Generated stuff
+
| Generated by [[EMF]]. Automated JUnit tests for STP-IM instances.
 
|-
 
|-
 
| org.eclipse.stp.im.in.bpmn
 
| org.eclipse.stp.im.in.bpmn
| This plugin realize the transformation BPM->IM ( The transformation is implemented in Java using relying on api from emf bpmn and im model )
+
| Performs the [[STP/BPMN_Component | BPMN]]->STP-IM transformation. Implemented using the EMF-generated APIs from both metamodels.
 +
|-
 +
| org.eclipse.stp.im.in.sca
 +
| Performs the [[STP/SCA_Component | SCA]]->STP-IM transformation. Implemented using the EMF-generated APIs from both metamodels.
 
|-
 
|-
 
| org.eclipse.stp.im.resources
 
| org.eclipse.stp.im.resources
| Define a common repository where define resources that could be needed by Intermediate Model and provide extension point for exporting resources, and importing resources into this respoistory. At the moment this plugin provide the dialog to manage datasource type resource.
+
| Defines a common repository for resources that could be needed by STP-IM and provides extension point for exporting and importing these resources into this repository. At the moment this plug-in provides the dialog to manage datasources.
 
|-
 
|-
 
| org.eclipse.stp.im.runtime
 
| org.eclipse.stp.im.runtime
| Define the concept of  Intermediate Model Runtime:  A runtime define a set of services/service bindings that then we could drag and drop on bpmn diagram files. Provide some utility classes so it's possible to define static runtimes, based on xml configuration files. For example the predefined set of services offered by ESB could be defined in an xml file. Another exmaple of runtime, could be the set of activities offered by BPEL engine. BTW it's important to say that xml is only a way to define runtimes, but it's not the unique way, basically to define a new runtime you need only to write a plugin that use the extension point defined in this plugin and provide a class that implements the IRuntime interface. An example of runtime is provided by "org.eclipse.stp.im.runtime.jbi.smx" plugin
+
| Defines the concept of  Intermediate Model Runtime:  A runtime defines a set of services/service bindings to drag and drop on Activities on [[STP/BPMN_Component | BPMN]] diagrams. Provide some utility classes so it's possible to define static runtimes, based on xml configuration files. For example the predefined set of services offered by ESB could be defined in an xml file. Another exmaple of runtime, could be the set of activities offered by BPEL engine. BTW it's important to say that xml is only a way to define runtimes, but it's not the unique way, basically to define a new runtime you need only to write a plugin that use the extension point defined in this plugin and provide a class that implements the IRuntime interface. An example of runtime is provided by "org.eclipse.stp.im.runtime.jbi.smx" plugin
 
|-
 
|-
 
| org.eclipse.stp.im.runtime.jbi.smx
 
| org.eclipse.stp.im.runtime.jbi.smx

Revision as of 00:20, 11 May 2008

The following is a list of the plug-ins currently available in the SVN repository and their description.

Plug-in Name Description
org.eclipse.stp.im Generated by EMF. Can be seen as the core plug-in, as it contains the STP-IM metamodel description (model/stpmodel.ecore).
org.eclipse.stp.im.edit Generated by EMF. Contains Java code to edit instances of STP-IM.
org.eclipse.stp.im.editor Generated by EMF. Basic editor to create STP-IM instances.
org.eclipse.stp.im.tests Generated by EMF. Automated JUnit tests for STP-IM instances.
org.eclipse.stp.im.in.bpmn Performs the BPMN->STP-IM transformation. Implemented using the EMF-generated APIs from both metamodels.
org.eclipse.stp.im.in.sca Performs the SCA->STP-IM transformation. Implemented using the EMF-generated APIs from both metamodels.
org.eclipse.stp.im.resources Defines a common repository for resources that could be needed by STP-IM and provides extension point for exporting and importing these resources into this repository. At the moment this plug-in provides the dialog to manage datasources.
org.eclipse.stp.im.runtime Defines the concept of Intermediate Model Runtime: A runtime defines a set of services/service bindings to drag and drop on Activities on BPMN diagrams. Provide some utility classes so it's possible to define static runtimes, based on xml configuration files. For example the predefined set of services offered by ESB could be defined in an xml file. Another exmaple of runtime, could be the set of activities offered by BPEL engine. BTW it's important to say that xml is only a way to define runtimes, but it's not the unique way, basically to define a new runtime you need only to write a plugin that use the extension point defined in this plugin and provide a class that implements the IRuntime interface. An example of runtime is provided by "org.eclipse.stp.im.runtime.jbi.smx" plugin
org.eclipse.stp.im.runtime.jbi.smx Define the set of service/servicebindings offered by servicemix, using the xml configuration file.
org.eclipse.stp.im.tool.in.bpmneditor Extension to the BPMN editor:
  • Provided Technology Section in properties view, this section is used to choose a particular runtime for BPMN Pool.
  • Intermediate Model View. When you choose a runtime for a Pool the set of service service bindings provided by this, are showed in this view and you could do drag and drop on bpmn elements
  • Provided Intermediate Model Section. Once you drag and drop a Service/ServiceBinding on a BPMN element, this will create an annotation on BPMN Element containing the properties this service/servicebing need to work, in this section you're able to edit the properties defined by a particular service/servicebinding annotation.