If you are familiar with Eclipse plugin development then you may want to checkout the source, setup the development environment, and start working with it. In this case you have the options described below.
- Download the Oomph Eclipse Installer for your platform and install it.
- Start Oomph by executing eclipse-installer/eclipse-inst.
- On the initial page, select Advanced Mode in the menu at the top right.
- On the Product page, select Eclipse IDE for Eclipse Committers in the Eclipse.org folder, then click Next.
- On the Projects page, select Github Projects.
- Click on the green "plus" symbol. Copy the Link https://raw.githubusercontent.com/Yakindu/statecharts/master/StatechartTools.setup in to the text field.
- Click on OK. The project Statechart Tools is available as Github Projects/<User>/Statechart Tools.
- Double-click on the project Statechart Tools to add it to the catalog section at the bottom of the wizard page, then click Next. Choose only the "Statechart Tools". Uncheck the others, if needed.
- On the Variables page, choose a meaningful name for the Installation folder name variable, then click Next.
- On the Confirmation page, check the settings, then click on Finish.
- The setup is executing its tasks now. Meanwhile: Drink a cup of coffee, and watch your Statechart Tools development environment being assembled. Oh, and please review and accept any licenses for the software to be installed.
- You are asked whether you trust the certificate of "Eclipse.org Foundation, Inc.". If you do, check the certificate in the dialog box and click on OK.
- After the installation has been completed, Eclipse starts up with the YAKINDU Statechart Tools projects in your workspace.
- (Optional) Click on Finish in the Oomph window to close it.
- (Optional) While installing, clicking on the double-arrow () allows you to see the further progression. Click on Finish to close the window when the installer is done.
- After having built the workspace, you will see a lot of errors in it. That's because the language artifacts haven't been generated yet. Oomph made a contribution to the toolbar. Click on the double-arrow symbol. The Confirmation window appears. Deselect everything except for the three "Launch …" tasks and the "Project Build (Clean, Build) task. (The other tasks have already been executed.) The selected tasks will generate the languages "Expressions", "SText", and "SGen" and run a clean build.
- Click on Finish.
- Click Proceed three times in order to confirm the execution of each launch despite any existing errors.
- Download latest Eclipse from https://www.eclipse.org/downloads/
- Install the latest Xtext release -> Help / Install new Software / select '2018-09 - http://download.eclipse.org/releases/2018-09'
- Select Modeling / Xtext Complete SDK
- Select the Git perspective and clone the following Git Repository: https://github.com/Yakindu/statecharts.git Select 'Import projects' on the 'working directory' subfolder
- Set the target platform to
org.yakindu.base.target/2018-09.target
Open the target file and click on the link for setting the target platform (takes some minutes the first time) - Build the needed Xtext grammars by right-clicking the following files and choosing Run As... => Generate Xtext Artifacts:
org.yakindu.base.expressions/Expressions.xtext
org.yakindu.sct.stext/SText.xtext
org.yakindu.sct.generator.genmodel/SGen.xtext
After these steps, all projects should compile without errors. To launch a runtime instance which has these projects as installed plugins, just right-click on a project => Run As => Eclipse Application