소스 검색

Updated context.xml, plugin.xml and document structure

Andreas Mülder 12 년 전
부모
커밋
9fae6400dd

+ 2 - 2
plugins/org.yakindu.sct.doc.user/.settings/org.eclipse.core.resources.prefs

@@ -1,7 +1,7 @@
 eclipse.preferences.version=1
 encoding//help/01_Overview/overview.html=utf-8
-encoding//help/02_Getting_started/tutorial-toc.xml=utf-8
-encoding//help/02_Getting_started/tutorial.html=utf-8
+encoding//help/02_Getting_started/getting_started-toc.xml=utf-8
+encoding//help/02_Getting_started/getting_started.html=utf-8
 encoding//help/03_Tasks/tasks-toc.xml=utf-8
 encoding//help/03_Tasks/tasks.html=utf-8
 encoding//help/04_Reference/reference-toc.xml=utf-8

+ 1 - 1
plugins/org.yakindu.sct.doc.user/about.html

@@ -7,7 +7,7 @@
 <body lang="EN-US">
 <h2>About This Content</h2>
  
-<p>April 25, 2012</p>	
+<p>December, 14th, 2012</p>	
 <h3>License</h3>
 
 <p>The itemis AG makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the

+ 8 - 8
plugins/org.yakindu.sct.doc.user/contexts.xml

@@ -4,33 +4,33 @@
    <context id="sc_editor_graphical_viewer">
       <description>With the YAKINDU Statechart editor you create or modify state models.</description>
       <topic href="help/user/03_Concepts/concepts.html#YAKINDUStatechartEditor" label="Yakindu state chart editor"/>
-        <topic href="help/user/05_Reference/reference.html#Statechartelements" label="Reference about the statechart elements"/>
+        <topic href="help/user/04_Reference/reference.html#Statechartelements" label="Reference about the statechart elements"/>
     <topic href="help/user/02_Getting_Started/getting_started.html#Firststeps:myfirststatemachine" label="First steps creating a state machine"/>
   
    </context>
    <context id="sc_properties_entry_entrykind" title="YAKINDU Statechart Element Properties">
       <description>Init, history and shallow history states are pseudo states used to express special aspects.</description>
-      <topic href="help/user/05_Reference/reference.html#Initialstateandfinalstate" label="Init state"/>
-      <topic href="help/user/05_Reference/reference.html#ShallowHistory" label="Shallow History state"/>
-        <topic href="help/user/05_Reference/reference.html#DeepHistory" label="Deep History state"/>
+      <topic href="help/user/04_Reference/reference.html#Initialstateandfinalstate" label="Init state"/>
+      <topic href="help/user/04_Reference/reference.html#ShallowHistory" label="Shallow History state"/>
+        <topic href="help/user/04_Reference/reference.html#DeepHistory" label="Deep History state"/>
    </context>
    <context id="sc_properties_state_expression" title="YAKINDU Statechart Element Properties">
       <description>States are the central elements of a state machine.</description>
-      <topic href="help/user/05_Reference/reference.html#States" label="State"/>
+      <topic href="help/user/04_Reference/reference.html#States" label="State"/>
    </context>
    <context id="sc_properties_statechart_expression" title="YAKINDU Statechart Element Properties">
       <description>Expressions are used to declare events, variables etc. and to define behavior.</description>
-      <topic href="help/user/05_Reference/reference.html#Expressions" label="Expression reference"/>
+      <topic href="help/user/04_Reference/reference.html#Expressions" label="Expression reference"/>
    </context>
    <context id="sc_properties_transition_expression" title="YAKINDU Statechart Element Properties">
       <description>A transition is the transfer of one state to another. Transitions are diagrammed as arrows and can carry events and actions but must not.</description>
-      <topic href="help/user/05_Reference/reference.html#Transitions" label="Transitions reference"/>
+      <topic href="help/user/04_Reference/reference.html#Transitions" label="Transitions reference"/>
  	     
    </context>
    <context id="sgen_feature" title="Genmodel Features">
       <topic href="help/user/04_Tasks/tasks.html" label="Help_Topic"/>
    </context>
    <context id="stext_keyword">
-      <topic href="help/user/05_Reference/reference.html" label="Help_Topic"/>
+      <topic href="help/user/04_Reference/reference.html" label="Help_Topic"/>
    </context>
 </contexts>

+ 1 - 1
plugins/org.yakindu.sct.doc.user/help/01_Overview/overview.textile

@@ -1,4 +1,4 @@
-<link href="../../css/bootstrap.css" rel="stylesheet" />
+<link href="../css/bootstrap.css" rel="stylesheet" />
 
 h1. Overview
 

+ 16 - 0
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/getting_started-toc.xml

@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<toc topic="help/02_Getting_started/getting_started.html" label="getting_started">
+	<topic href="help/02_Getting_started/getting_started.html" label="Getting started tutorial ">
+		<topic href="help/02_Getting_started/getting_started.html#Installation" label="Installation"></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#Introduction" label="Introduction"></topic>
+		<topic href="help/02_Getting_started/getting_started.html#CallHandlingexampleexplained" label="CallHandling example explained"></topic>
+		<topic href="help/02_Getting_started/getting_started.html#Prepareaproject" label="Prepare a project"></topic>
+		<topic href="help/02_Getting_started/getting_started.html#Createastatechartmodel" label="Create a statechart model"></topic>
+		<topic href="help/02_Getting_started/getting_started.html#UsetheEditor" label="Use the Editor"></topic>
+		<topic href="help/02_Getting_started/getting_started.html#Simulatingthemodel" label="Simulating the model"></topic>
+		<topic href="help/02_Getting_started/getting_started.html#GenerateJavacode" label="Generate Java code"></topic>
+		<topic href="help/02_Getting_started/getting_started.html#Integrationwithclientcode" label="Integration with client code"></topic>
+		<topic href="help/02_Getting_started/getting_started.html#Weblinks" label="Weblinks"></topic>
+	</topic>
+</toc>

plugins/org.yakindu.sct.doc.user/help/02_Getting_started/tutorial.html → plugins/org.yakindu.sct.doc.user/help/02_Getting_started/getting_started.html


+ 1 - 1
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/tutorial.textile

@@ -2,7 +2,7 @@
 <link href="../../css/custom.css" rel="stylesheet" /> 
  
 
-h1. Getting started tutorial 
+h1. Getting started
 
 h3. Installation
 

+ 0 - 16
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/tutorial-toc.xml

@@ -1,16 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<toc topic="help/02_Getting_started/tutorial.html" label="tutorial">
-	<topic href="help/02_Getting_started/tutorial.html" label="Getting started tutorial ">
-		<topic href="help/02_Getting_started/tutorial.html#Installation" label="Installation"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#InstallingtheYAKINDUPlugIns" label="Installing the YAKINDU-Plug-Ins"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#Introduction" label="Introduction"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#CallHandlingexampleexplained" label="CallHandling example explained"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#Prepareaproject" label="Prepare a project"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#Createastatechartmodel" label="Create a statechart model"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#UsetheEditor" label="Use the Editor"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#Simulatingthemodel" label="Simulating the model"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#GenerateJavacode" label="Generate Java code"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#Integrationwithclientcode" label="Integration with client code"></topic>
-		<topic href="help/02_Getting_started/tutorial.html#Weblinks" label="Weblinks"></topic>
-	</topic>
-</toc>

+ 1 - 266
plugins/org.yakindu.sct.doc.user/help/03_Tasks/tasks.textile

@@ -1,66 +1,7 @@
-<link href="../../../css/bootstrap.css" rel="stylesheet" />
+<link href="../../css/bootstrap.css" rel="stylesheet" />
 
 h1. Tasks
 
-h2. Modeling a statemachine
-
-# Make sure the YAKINDU Modeling perspective is active.
-# Create a new project.
-# Click *File* > *New* > *Other...* > *YAKINDU* > *YAKINDU Statechart Model*. 
-# Click *Next* name the sct file and click *Finish*
-# The YAKINDU statechart editor opens on the statechart model. It already has an initial state and an unnamed simple state connected by a transition.
-# Now you can add states and transitions from the palette.
-
-To edit the states and transitions you can use the properties view. It has an integrated Xtext support. This makes correct editing easier. You can also change the appearance of the model elements. 
-
-On the palette you will also find a composite submachine state. This is a state that contains a complete statemachine. You can choose an existing statemachine or create a new one.
-
-h3. Related topics
-
-"Statemachine Elements reference":../05_Reference/reference.html#Statechartelements
-"Textual modeling lanuage  Reference":../05_Reference/reference.html#Statechartdescriptionlanguage
-
-
-h2. Validating a statemachine
-
-The statemachine is validated automatically during build. The elements that cause problems get error markers. You can find the details about the problems on the problems view.
-
-h2. Simulating a statemachine
-
-The YAKINDU simulation engine supports simulation modes:
-
-* event driven
-* cycle based
-
-The default setting is _cycle based_ with a cycle period of 200 ms. In this mode the simulation engine processes the state machine transitions in steps of the given cycle duration. The following statechart illustrates this. It is simulated cycle based with a cycle period of 3 seconds.
-
-!images/cycleBasedVsEventDriven.png!
-
-What happend during simulation is the following:
-
-# After 3s *init* switches to *pre1*
-# After 3 further seconds recursive transition to *pre1* is processed (not after 2s the transition says)
-# After 3 further seconds recursive transition to *pre1* is processed again and the condition becomes *true* so *result* gets activated
-
-In contrast to cycle based the event driven simulation mode concentrates on the events of a state machine. The same state machine above could be simulated as follows:
-
-# Immediately *init* switches to *pre1*
-# Immediately the event *touch* is raised twice
-# The condition becomes true so that the *result* state is reached after 2 or 3 seconds instead of 9 
-
-Start a simulation with the different modes as follows
-
-# Make sure the YAKINDU Simulation Perspectiv is opened.
-# Start the simulation by clicking *Run* > *Run Configurations...*.
-# Select the statechart you want to simulate and the simulation mode.
-# *Apply* the setting and *Run* the simulation.
-
-!images/simulationRunConfiguration.png!
-
-"Simulation Concept":../03_Concepts/concepts.html#Simulation
-"Simulation perspective":../03_Concepts/concepts.html#YakinduSCSimulationperspective
-"Simulation View":../03_Concepts/concepts.html#SimulationView
-
 h2. Generating Code
 
 For configuring the code generation process, YAKINDU Statechart Tools uses a textual generator model called *SGen*. It can be created either by using the provided wizard *Yakindu Statechart Generator Model* or by creating a new text file with the file extension '.sgen'.
@@ -95,212 +36,6 @@ One GeneratorModel can contain several [StatechartReference]s. These are cross r
  
 The Generator Model is executed by a builder. Thus, the artifacts are generated automatically if *Project* > *Build Automatically* is checked. If you want to execute your Generator Model by hand, select *Generate Statechart Artifacts* from the *Package Explorer's* context menu.
 
-h2. Core Features
-
-The following section describes the *Core Features* which are available for all code generators:
-
-==<!-- Start sgen_feature_outlet -->==
-
-h4. Outlet
-
-The *Outlet* feature specifies the target project and folder for the generated artifacts. It is a *required* feature and consists of the following parameters:
-# __targetProject__  (String, required): The project to store the generated artifacts  
-# __targetFolder__  (String, required): The folder to store the generated artifacts
-
-Example configuration:
-
-bc.. 
-feature Outlet {
-	targetProject = "ExampleProject"
-	targetFolder = "src-gen"
-}
-p. ==<!-- End sgen_feature_outlet -->==
-==<!-- Start sgen_feature_licenseheader -->==
-
-h4. LicenseHeader
-
-The *LicenseHeader* feature specifies the license text that should be added as a header to the generated artifacts. It is an *optional* feature and consists of the following parameters:
-
-# __licenseText__  (String, required): The license text to add as a header  
-
-Example configuration:
-
-bc.. 
-feature LicenseHeader {
-	licenseText = "Copyright (c) 2012 committers of YAKINDU and others."
-}
-p. ==<!-- End sgen_feature_licenseheader -->==
-==<!-- Start sgen_feature_functioninlining -->==
-
-h4. FunctionInlining
-
-The *FunctionInlining* feature allows the inlining of expressions instead of generating separate functions or methods. This might reduce the readability of the generated code, but increases performance because less operation calls are necessary. 
-It is an *optinal* feature and consists of the following parameters:
-
-# __inlineReactions__  (Boolean, optional): Inlines the expression for reactions
-# __inlineEntryActions__  (Boolean, optional): Inlines the expression for entry actions
-# __inlineExitActions__  (Boolean, optional): Inlines the expression for exit actions
-# __inlineEnterSequences__  (Boolean, optional): Inlines the expression for enter sequences
-# __inlineExitSequences__  (Boolean, optional): Inlines the expression for exit sequences
-# __inlineChoices__  (Boolean, optional): Inlines the expression for choices
-# __inlineEnterRegion__  (Boolean, optional): Inlines the expression for enter regions
-# __inlineExitRegion__  (Boolean, optional): Inlines the expression for exit regions
-# __inlineEntries__  (Boolean, optional): Inlines the expression for entries 
-
-Example configuration:
-
-bc.. 
-feature FunctionInlining {
-	inlineChoices = false
-	inlineEnterRegion = true
-	inlineEntries = true
-}
-p. ==<!-- End sgen_feature_functioninlining -->==
-==<!-- Start sgen_feature_debug -->==
-
-h4. Debug
-
-The *Debug* feature dumps the Execution Model to the target folder as xmi model. It is an *optional* feature and consists of the following parameters:
-
-# __dumpSexec__  (Boolean, required): The license text to add as a header  
-
-Example configuration:
-
-bc.. 
-feature Debug {
-	dumpSexec = true
-}
-
-p. ==<!-- End sgen_feature_debug -->==
-
-h2. Java Generator Features
-
-==<!-- Start sgen_feature_naming -->==
-
-h4. Naming
-
-The *Naming* feature allows the configuration of package names as well as class name prefix / suffix.
-It is an *optional* feature and consists of the following parameters:
-
-# __basePackage__  (Boolean, required): The package to create for the generated java classes
-# __implementationSuffix__  (Boolean, optional): The suffix for the implementing classes
-
-Example configuration:
-
-bc.. 
-feature Naming {
-	basePackage = "org.yakindu.sct"
-	implementationSuffix = "Impl"
-}
-p. ==<!-- End sgen_feature_naming -->==	
-==<!-- Start sgen_feature_generalfeatures -->==	
-
-h4. GeneralFeatures
-
-The *GeneralFeatures* feature allows to configure additional services to generate with the statemachine. Per default, all parameters are configured to __false__ It is an *optional* feature and consists of the following parameters:
-
-==<!-- # __EventBasedStatemachine__ (Boolean, optional): Enables/disables the generation of a cycle based statemachine implementation -->==
-# __InterfaceObserverSupport__ (Boolean, optional): Enables/disables the generation of listener interfaces for the statemachine
-# __RuntimeService__ (Boolean, optional): Enables/disables the generation of a runtime service that triggers the runcycle of a cycle based statemachine
-# __TimerService__ (Boolean, optional): Enables/disables the generation of a timer service implementation using __java.util.Timer__
-==<!-- # __GenericInterfaceSupport__ (Boolean, optional): Enables/disables the generation of generic interfaces -->==
-==<!-- # __StatemachineFactorySupport__ (Boolean, optional): Enables/disables  the generation of a factory class -->==
-
-Example configuration:
-
-bc.. 
-feature GeneralFeatures {
-	InterfaceObserverSupport = true
-	RuntimeService = true
-	TimerService = true
-}
-
-p. ==<!-- End sgen_feature_generalfeatures -->==			
-
-h2. C Generator Features
-
-==<!-- Start sgen_feature_ccodefeature -->==	
-
-h4. CCodeFeature
-
-The *CCodeFeature* feature allows to configure c code specific generator properties. It is an *optional* feature and consists of the following parameters:
-
-# __InterfaceEventListener__ (Boolean, mandatory): generates listener interface for notification of outgoing events.
-# __Singleton__ (Boolean, mandatory): generates a statically allocated singleton variant of the state machine that does not allow multiple instances.
-# __DebugType__ (String, optional): don't use this property - it will be removed
-
-Example configuration:
-
-bc.. 
-feature CCodeFeature {
-	InterfaceEventListerner = true
-	Singleton = true
-}
-
-p. ==<!-- End sgen_feature_ccodefeature -->==			
-
-h2. Create Custom Code Generators
-
-YAKINDU Statechart Tools provides a rich feature set to supports custom code generators out of the box. These code generators can be either written in Java, "Xtend":http://www.eclipse.org/xtend/ or in "Xpand":http://www.eclipse.org/modeling/m2t/?project=xpand
- 
-h3. Writing a custom code generator with Xtend2/Java
-
-First, you have to create a new Xtend2 generator project. Click *File* > *New* > *Other...* > *YAKINDU* > *YAKINDU Xtend2/Java Generator Project* to create a new Xtend2 Generator Project. 
-
-!images/xtendGenerator.png!
-
-The wizards asks for a *Project name* and the name of the *Generator class*, where you have to specify a full qualified class name. If you check the *Use Xtend* checkbox, the Generator class will be initially created as an "Xtend":http://www.eclipse.org/xtend/ class. Otherwise, Java will be used for the generator.
-
-The check box *Configure for Plugin Export* adds all required extension point registrations to the new project for exporting as a plugin The Generator Model can refer to the new Generator Plugin via its unique *Generator ID*. If you want to contribute custom generator features for your code generator, check the *Create Feature Library* check box.  
-
-After click on *Finish* a new project is created in your workspace. All required plugin dependencies and extension points are registered and you can start to write your code generator based on the ExecutionFlow meta model [Link].
-
-h3. Executing a custom Xtend2/Java code generator
-
-YAKINDU Statechart Tools provide a convenient way to execute your generator while you are developing it.
-Therefore, you have to create a new *Generator Model* with the generator id *yakindu::generic*, either by using the *New Statechart Generator Model* wizard or by simple creating a new text file with the file extension *.sgen*. the following feature allows to configure your code generator.
-
-==<!-- Start sgen_feature_generator -->==
-
-h4. Generator
-
-The *Generator* feature allows the configuration of a custom code generator located in the workspace and written in Java or another JVM language. It is a *required* feature and consists of the following parameters:
-
-# __generatorProject__  (String, required): The name of the generator project   
-# __generatorClass__  (String, required): The full qualified class name of the code generator class.
-# __configurationModule__ (String, optional): The full qualified class name for a guice module to configure the code generator 
-
-Example configuration:
-
-bc.. 
-feature Generator {
-	generatorProject = "org.yakindu.sct.mygenerator"
-	generatorClass = "org.yakindu.sct.MyGenerator"
-}
-		
-p. ==<!-- End sgen_feature_generator -->==
-
-h3. Executing a custom Xpand code generator
-
-to execute an xpand based custom code generator, you have to create a new *Generator Model* with the generator id *yakindu::xpand*, either by using the *New Statechart Generator Model* wizard or by simple creating a new text file with the file extension *.sgen*. the following feature allows to configure your code generator.
-
-==<!-- Start sgen_feature_template -->==
-
-h4. Template
-
-The *Generator* feature allows the configuration of a custom code generator located in the workspace and written in Java or another JVM language. It is a *required* feature and consists of the following parameters:
-
-# __templateProject__  (String, required): The name of the generator project   
-# __templatePath__  (String, required): The full qualified template path to the main template.
-
-Example configuration:
-
-bc.. 
-feature Template {
-	templateProject = "ExampleProject"
-	templatePath = "org::yakindu::sct::generator::xpand::Main::main"
-}
-p. ==<!-- End sgen_feature_template -->==
 
 
 

+ 2 - 2
plugins/org.yakindu.sct.doc.user/help/04_Reference/reference-toc.xml

@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='utf-8' ?>
 <toc topic="help/04_Reference/reference.html" label="reference">
-	<topic href="help/04_Reference/reference.html" label="YAKINDU SCT 2 Reference">
-		<topic href="help/04_Reference/reference.html#Statechartelements" label="State chart elements">
+	<topic href="help/04_Reference/reference.html" label="SCT Reference">
+		<topic href="help/04_Reference/reference.html#Statechartelements" label="Statechart elements">
 			<topic href="help/04_Reference/reference.html#Regions" label="Regions"></topic>
 			<topic href="help/04_Reference/reference.html#States" label="States"></topic>
 			<topic href="help/04_Reference/reference.html#Transitions" label="Transitions"></topic>

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


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 163 - 79
plugins/org.yakindu.sct.doc.user/help/04_Reference/reference.textile


+ 1 - 1
plugins/org.yakindu.sct.doc.user/plugin.xml

@@ -13,7 +13,7 @@
             primary="false">
       </toc>
       <toc
-            file="help/02_Getting_started/tutorial-toc.xml"
+            file="help/02_Getting_started/getting_started-toc.xml"
             primary="false">
       </toc>
       <toc

+ 1 - 1
plugins/org.yakindu.sct.doc.user/toc.xml

@@ -3,7 +3,7 @@
 
 <toc label="Statechart Tools User Guide">
    <link toc="help/01_Overview/overview-toc.xml"/>
-   <link toc="help/02_Getting_started/tutorial-toc.xml"/>
+   <link toc="help/02_Getting_started/getting_started-toc.xml"/>
    <link toc="help/03_Tasks/tasks-toc.xml"/>
    <link toc="help/04_Reference/reference-toc.xml"/>
 </toc>