瀏覽代碼

Renamed Example Project, renamed license header feature

Andreas Mülder 13 年之前
父節點
當前提交
df85e4ee37

+ 1 - 1
examples/org.yakindu.sct.example..trafficlight/.project

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-	<name>org.yakindu.sct.examples.generator.java.trafficlight</name>
+	<name>org.yakindu.sct.examples.trafficlight</name>
 	<comment></comment>
 	<projects>
 	</projects>

+ 3 - 3
examples/org.yakindu.sct.example..trafficlight/.settings/org.eclipse.core.resources.prefs

@@ -1,3 +1,3 @@
-#Fri Dec 09 13:24:37 CET 2011
-eclipse.preferences.version=1
-encoding/TrafficLightWaiting.sct=UTF-8
+#Mon Apr 23 15:50:54 CEST 2012
+eclipse.preferences.version=1
+encoding/TrafficLightWaiting.sct=UTF-8

+ 24 - 46
examples/org.yakindu.sct.example..trafficlight/GenModelJava.sgen

@@ -1,47 +1,25 @@
-	GeneratorModel for yakindu::java {
-	statechart TrafficLightWaiting {
-
-		feature Outlet {
-			targetProject = "org.yakindu.sct.examples.generator.java.trafficlight"
-			targetFolder = "src-gen"
-		}
-
-		feature licenseHeader {
-			licenseText = 
-"
-Copyright (c) 2011 committers of YAKINDU and others. 
-All rights reserved. This program and the accompanying materials
-are made available under the terms of the Eclipse Public License v1.0
-which accompanies this distribution, and is available at
-http://www.eclipse.org/legal/epl-v10.html
- 
-Contributors:
-	committers of YAKINDU - initial API and implementation
-"
-		}
-		
-		feature GeneralFeatures {
-			EventBasedStatemachine = true
-			InterfaceObserverSupport = false
-			TimerService = true
-			RuntimeService = true
-		}
-
-		//create a dump file of execution model (sexec)
-		//This feature is disabled by default if it's not declared explicit in a generator model.
-		feature Debug {
-			dumpSexec = false
-		}
-
-		//This feature reduces the amount of generated methods.
-		//The FunctionInlining is enabled by default if it's not declared explicit in a generator model.
-		feature FunctionInlining {
-			inlineChoices = true
-			inlineEnterSequences = true
-			inlineEntryActions = true
-			inlineExitActions = true
-			inlineExitSequences = true
-			inlineReactions = true
-		}
-	}
+GeneratorModel for yakindu::java {
+	statechart TrafficLightWaiting {
+		
+		feature Outlet {
+			targetProject = "org.yakindu.sct.examples.trafficlight"
+			targetFolder = "src-gen"
+		}
+
+		feature GeneralFeatures {
+			EventBasedStatemachine = true
+			InterfaceObserverSupport = false
+			TimerService = true
+			RuntimeService = true
+		}
+
+		feature FunctionInlining {
+			inlineChoices = true
+			inlineEnterSequences = true
+			inlineEntryActions = true
+			inlineExitActions = true
+			inlineExitSequences = true
+			inlineReactions = true
+		}
+	}
 }

+ 1 - 1
examples/org.yakindu.sct.example..trafficlight/META-INF/MANIFEST.MF

@@ -1,7 +1,7 @@
 Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Trafficlight
-Bundle-SymbolicName: org.yakindu.sct.examples.generator.java.trafficlight
+Bundle-SymbolicName: org.yakindu.sct.examples.trafficlight
 Bundle-Version: 1.0.0.qualifier
 Export-Package: org.yakindu.sct.examples.java.trafficlight,
  org.yakindu.sct.runtime.java,