소스 검색

Added section installation

webmaster@wendler-im-netz.de 13 년 전
부모
커밋
0a982ce951

+ 0 - 123
plugins/org.yakindu.sct.doc.user/GeneratorConfig.textile

@@ -1,123 +0,0 @@
-
-h1. Generating Code
-
-Code generation can be configured by providing a generator configuration model (a text file with suffix __.sgen__) that defines the code generator to use and the generator specific parameters.
-
-The code generator can be executed via the context menu of the __.sgen__ files (__right click > Generate statechart Artifacts__).
-
-h2. Common Generator Configuration
-
-A minimum generator model looks as follows:
-
-pre. GeneratorModel for yakindu::c {
-    statechart MyStatechart {
-        feature Outlet {
-            targetProject = "MyProject"
-            targetFolder = "src-gen"
-    }
-}
-
-The generator to use is configured by specifying the corresponding generator id (__yakindu::c__ in the example).
-
-Available generator ids are:
-* __yakindu::c__ Generates C Code
-* __yakindu::cpp__ Generates C++ Code
-* __yakindu::java__ Generates Java Code
-* __yakindu::generic__ Executes Generators from the workspace
-* __yakindu::xpand__ Executes Xpand templates form the workspace
-
-For each statechart that shall be processed, a configuration block must be provided that contains the configuration for the generator features (starting with keyword __statechart__ followed by the name of the statechart).
-Every generator requires the __Outlet__ feature that defines the target project and folder where the output shall be written.
-Depending on the chosen generator, more features might be required.
-
-h2. Using the Generator Model Wizard
-
-The wizard for generator models is available under __New > Yakindu > YAKINDU statechart Generator Model__.
-It allows to select statecharts that should be processed and a generator type to use.
-The wizard will create a new generator model file with reasonable defaults for the generator's configuration features.
-
-
-
-h1. Generic Xpand Generator
-
-The generic Xpand Generator (Generator id __yakindu::xpand__) allows to execute Xpand templates located inside the workspace.
-
-h2. Configuration
-
-The generator requires a __Template__ configuration feature that defines the Xpand template that shall be executed.
-
-pre. GeneratorModel for yakindu::xpand {
-    statechart MyStatechart {
-        feature Template {
-            templateProject = "MyXpandProject"
-            templatePath = "org::yakindu::sct::generator::xpand::Main::main"
-        }
-        feature Outlet {...}
-    }
-}
-
-h2. Implementation
-
-The Xpand template is expected to have the following entry method signature:
-
-pre. «DEFINE main(sgen::GeneratorEntry entry) FOR sexec::ExecutionFlow-»
-«ENDDEFINE»
-
-h2. Xpand Generator Project Wizard
-
-A wizard for Xpand-based generators is available under __New > Yakindu > YAKINDU Xpand Generator Project__.
-It will create a new project with all needed library dependencies and a hello world template to generate artifacts from a statechart.
-
-h3. Exporting the Generator as Plugin
-
-The wizard provides options to setup the new generator project as exportable plugin.
-Therefor, a generator id, a generator name and a generator class name must be specified. Optionally, a feature library can be generated to use custom configuration options with the generator. 
-
-
-h1. Generic Workspace Generator
-
-The generic Workspace Generator (Generator id __yakindu::generic__) allows to execute Java classes located inside the workspace.
-
-h2. Configuration
-
-The generator requires a __Generator__ configuration feature that defines the Java class that shall be executed
-
-pre. GeneratorModel for yakindu::generic {
-    statechart MyStatechart {
-        feature Generator {
-            generatorProject = "MyJavaProject"
-            generatorClass = "org.yakindu.sct.generator.MyGenerator"
-        }
-        feature Outlet {..}
-    }
-}
-
-
-h2. Implementaion
-
-The Java class that is referenced from the configuration must extend __org.yakindu.sct.generator.core.AbstractWorkspaceGenerator__.
-
-The signature of the generator entry method looks as follows:
-
-pre. public class MyGenerator extends AbstractWorkspaceGenerator {
-    @Override
-	public void generate(ExecutionFlow flow, GeneratorEntry entry) {
-    }
-}
-
-If you prefer to implement the generator using Xtend, the following signature is required:
-
-pre. class Bla extends AbstractWorkspaceGenerator {
-    override generate(ExecutionFlow flow, GeneratorEntry entry) {
-    }
-}
-	
-h2. Generic Java Generator Project wizard
-
-A wizard for Java/Xtend-based generators is available under __New > Yakindu > YAKINDU Workspace Generator Project__.
-It will create a new project with all needed library dependencies and a default generator implementation.
-The type of the generator (Java or Xtend) can be chosen from the wizard. 
-
-
-
-

+ 3 - 1
plugins/org.yakindu.sct.doc.user/help/02_Getting_Started/getting_started-toc.xml

@@ -3,7 +3,7 @@
 	<topic href="help/02_Getting_Started/getting_started.html" label="Getting started">
 		<topic href="help/02_Getting_Started/getting_started.html#Installation" label="Installation">
 			<topic href="help/02_Getting_Started/getting_started.html#Prerequisites" label="Prerequisites"></topic>
-			<topic href="help/02_Getting_Started/getting_started.html#InstallingtheYAKINDUPlugIns" label="Installing the YAKINDU-Plug-Ins "></topic>
+			<topic href="help/02_Getting_Started/getting_started.html#InstallingtheYAKINDUPlugIns" label="Installing the YAKINDU-Plug-Ins"></topic>
 		</topic>
 		<topic href="help/02_Getting_Started/getting_started.html#TheYakinduperspective" label="The Yakindu perspective"></topic>
 		<topic href="help/02_Getting_Started/getting_started.html#Yakinduproject" label="Yakindu project"></topic>
@@ -11,5 +11,7 @@
 		<topic href="help/02_Getting_Started/getting_started.html#Views" label="Views"></topic>
 		<topic href="help/02_Getting_Started/getting_started.html#Wizards" label="Wizards"></topic>
 		<topic href="help/02_Getting_Started/getting_started.html#Generators" label="Generators"></topic>
+		<topic href="help/02_Getting_Started/getting_started.html#XtextGMFIntegrationXGI" label="Xtext GMF Integration (XGI)"></topic>
+		<topic href="help/02_Getting_Started/getting_started.html#XtextJFaceIntegrationXJI" label="Xtext JFace Integration (XJI)"></topic>
 	</topic>
 </toc>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
plugins/org.yakindu.sct.doc.user/help/02_Getting_Started/getting_started.html


+ 29 - 1
plugins/org.yakindu.sct.doc.user/help/02_Getting_Started/getting_started.textile

@@ -4,7 +4,31 @@ h2. Installation
 
 h3. Prerequisites
 
-h3. Installing the YAKINDU-Plug-Ins 
+The *Yakindu Statechart Tools 2* are built upon Java and Xtext. So you need to have installed a "Java Runtime Environment":http://www.oracle.com/technetwork/java/index.html and Xtext installed. The easier way to get this is to install the "pre configured Xtext contribution":http://xtext.itemis.com.
+
+The *Yakindu Statechart Tools 2* need *Eclipse Indigo 3.7* or higher and *Xtext 2.0.1* exactly (no higher) to work correctly.
+
+h3. Installing the YAKINDU-Plug-Ins
+
+You install the Yakindu Plug-Ins from the update site: http://updates.yakindu.com/indigo/milestones. 
+
+* Choose *Help* -> *Install new software...* from the menu bar and _Add.._ the update site *Yakindu SCT2 milestones* - http://updates.yakindu.com/indigo/milestones/
+* On this update site you find two main items:
+** Xtext integration utilities
+*** Xtext GMF integration (XGI)
+*** Xtext JFace integration (XJI)
+*** Yakindu Base
+** Yakindu SCT 2
+*** Generator C
+*** Generator Java
+*** Yakindu SCT 2
+*** Yakindu SCT 2 SDK
+
+!{width: 50%}images/updatesite_4.jpg!
+
+The Xtext integration utilities provide Xtext functionality for Yakindu. Additionally to the base integration also GMF and JFace integration is provided here. For more details check [[Xtext GMF Integration (XGI)]] and [[Xtext JFace Integration (XJI)]].
+
+Under Yakindu SCT 2 you can select what code generators you need and if you need the Yakindu SCT2 SDK (for developers). For users only the Yakindu SCT 2 is sufficient.
 
 h2. The Yakindu perspective
 
@@ -17,3 +41,7 @@ h2. Views
 h2. Wizards
 
 h2. Generators
+
+h2. Xtext GMF Integration (XGI)
+
+h2. Xtext JFace Integration (XJI)

BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_Started/images/updatesite_4.jpg