110 likes | 247 Vues
This guide provides step-by-step instructions on how to set up and run the source code for the SCXML visual editor tool. It is recommended to use Eclipse with GMF support for this project. Begin by downloading the appropriate Eclipse package, then import the source code from the provided SVN address. After importing all required projects, run the SCXML modeling editor as an Eclipse application. Learn how to create and edit SCXML modeling diagrams and utilize the toolbars for efficient diagram management. For queries, please contact gui.xun.long@apache.org.
E N D
How to run source code For scxml visual editor tool Author : Gui Xun Long (guixl@apache.org)
Step 1: get environment • I suggest that you use eclipse, due to this project need GMF support, so you eclipse must support GMF, in fact, you can get proper Eclipse for this project here : • http://www.eclipse.org/downloads/packages/eclipse-modeling-tools-includes-incubating-components/ganymeder
Step 2: import source code • You can get source code for SVN address here: • https://svn.apache.org/repos/asf/commons/sandbox/gsoc/2010/scxml-eclipse/trunk • Dowload all four projects: • org.apache.commons.scxml.modeling • org.apache.commons.scxml.modeling.diagram • org.apache.commons.scxml.modeling.edit • org.apache.commons.scxml.modeling.editor
Step 3:Run • Run project org.apache.commons.scxml.modeling.editor as Eclipse Applcation
Step 4: add a SCXML modeling file • In the running Eclipse environment, click menu “new”, select more,and select “Modeling diagrma ” Examples folder
Step 5: edit SCXML diagram content • You can edit SCXML diagram in this editor, use tools in palette tool bar, create states, execute content and data model.
Step 6: SCXML document export • Continue…. • This part will come true soon, I am working on it
other • Any questions? • Contact guixl@apache.org