Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrated to Xtext/Xbase 2.4.2 and latest Kieler - imports TBD
- Loading branch information
Jan Koehnlein
committed
Jun 22, 2013
1 parent
d563ab3
commit 3c8f3e3
Showing
225 changed files
with
75,110 additions
and
62,853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/MrsGrantsSecretCompartments.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/Address.java | ||
/Person.java | ||
/Phone.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
org.eclipse.xtext.graphview.example/src-gen/base/company/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/Boss.java | ||
/Employee.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
org.eclipse.xtext.graphview.example/src-gen/base/company/business/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/Customer.java | ||
/Order.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import java.util.* | ||
import base.Person | ||
import java.util.List | ||
|
||
package base { | ||
entity Person { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 12 additions & 8 deletions
20
org.eclipse.xtext.graphview.example/src/dmodel/DomainmodelPackage.gvstyle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
import org.eclipse.xtext.graphview.shape.* | ||
import org.eclipse.xtext.graphview.behavior.layout.* | ||
import org.eclipse.xtext.graphview.lib.shape.* | ||
import org.eclipse.xtext.graphview.lib.layout.* | ||
import org.eclipse.draw2d.* | ||
import org.eclipse.swt.SWT | ||
import DomainmodelPackageDiagram.* | ||
|
||
stylesheet DomainmodelPackageDiagram for DomainmodelPackageDiagram | ||
|
||
style DomainmodelPackageDiagram { | ||
autoLayoutManager = new KielerAutoLayout | ||
autoLayoutManager = | ||
if(element.eContainer instanceof org.eclipse.xtext.example.domainmodel.domainmodel.PackageDeclaration) | ||
new KielerAutoLayout | ||
else | ||
new GridAutoLayout | ||
font = font("Helvetica", 14, SWT::BOLD) | ||
} | ||
|
||
style PackageNode as RectangleShape { | ||
style DomainmodelPackageDiagram.PackageNode as RectangleShape { | ||
lineStyle = SWT::LINE_DASH | ||
lineWidth = 2 | ||
foregroundColor = color(#8a8a8a) | ||
border = new MarginBorder(16,16,16,16) | ||
} | ||
|
||
style EntityNode.Properties, EntityNode.Operations as RectangleShape { | ||
style DomainmodelPackageDiagram.EntityNode.Properties, DomainmodelPackageDiagram.EntityNode.Operations as RectangleShape { | ||
outline = false | ||
backgroundColor = color(#ffffff) | ||
} | ||
|
||
style EntityNode.Properties.Property, EntityNode.Operations.Operation { | ||
style DomainmodelPackageDiagram.EntityNode.Properties.Property, DomainmodelPackageDiagram.EntityNode.Operations.Operation { | ||
font = font("Helvetica", 12, 0) | ||
border = null | ||
} | ||
|
||
style EntityNode.Properties.Property { | ||
style DomainmodelPackageDiagram.EntityNode.Properties.Property { | ||
text = element.name + ": " + element.type.simpleName | ||
} | ||
|
||
style EntityNode.Operations.Operation { | ||
style DomainmodelPackageDiagram.EntityNode.Operations.Operation { | ||
text = element.name + "(" + element.params.map[it.simpleName + ": " + it.parameterType.simpleName].join(", ")+ "): " + element.type.simpleName | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 2 additions & 5 deletions
7
org.eclipse.xtext.graphview.example/src/ecore/EClassHierarchy.gvstyle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
org.eclipse.xtext.graphview.example/src/ecore/EPackage.gvmap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.