forked from ProjetoDSL/ERDSL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project Update: Adding context-based code templates to the language
- Loading branch information
1 parent
d3a9380
commit 22eee33
Showing
46 changed files
with
105 additions
and
32 deletions.
There are no files selected for viewing
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl.ide/bin/org/xtext/unipampa/erdsl/ide/.ErDslIdeModule.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl.ide/bin/org/xtext/unipampa/erdsl/ide/.ErDslIdeSetup.xtendbin
Binary file not shown.
11 changes: 0 additions & 11 deletions
11
org.xtext.unipampa.erdsl.ide/bin/org/xtext/unipampa/erdsl/ide/ErDslIdeModule.xtend
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
org.xtext.unipampa.erdsl.ide/bin/org/xtext/unipampa/erdsl/ide/ErDslIdeSetup.xtend
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl.ide/xtend-gen/org/xtext/unipampa/erdsl/ide/.ErDslIdeModule.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl.ide/xtend-gen/org/xtext/unipampa/erdsl/ide/.ErDslIdeSetup.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...t.unipampa.erdsl.tests/test-bin/org/xtext/unipampa/erdsl/tests/.ErDslParsingTest.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
....unipampa.erdsl.tests/xtend-gen/org/xtext/unipampa/erdsl/tests/.ErDslParsingTest.xtendbin
Binary file not shown.
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
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl.ui/bin/org/xtext/unipampa/erdsl/ui/.ErDslUiModule.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...pa.erdsl.ui/bin/org/xtext/unipampa/erdsl/ui/contentassist/.ErDslProposalProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...erdsl.ui/bin/org/xtext/unipampa/erdsl/ui/labeling/.ErDslDescriptionLabelProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...t.unipampa.erdsl.ui/bin/org/xtext/unipampa/erdsl/ui/labeling/.ErDslLabelProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...pampa.erdsl.ui/bin/org/xtext/unipampa/erdsl/ui/outline/.ErDslOutlineTreeProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...nipampa.erdsl.ui/bin/org/xtext/unipampa/erdsl/ui/quickfix/.ErDslQuickfixProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...pampa.erdsl.ui/bin/org/xtext/unipampa/erdsl/ui/wizard/.ErDslFileTemplateProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...pa.erdsl.ui/bin/org/xtext/unipampa/erdsl/ui/wizard/.ErDslProjectTemplateProvider.xtendbin
Binary file not shown.
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,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<templates> | ||
<template name="Generate" | ||
description="template for a Generate command" | ||
id="org.xtext.unipampa.erdsl.ErDsl.kw_Generate" | ||
context="org.xtext.unipampa.erdsl.ErDsl.kw_Generate" | ||
enabled="true">Generate ${All};</template> | ||
<template name="Domain" description="template for a Domain" | ||
id="org.xtext.unipampa.erdsl.ErDsl.Domain" | ||
context="org.xtext.unipampa.erdsl.ErDsl.Domain" | ||
enabled="true">Domain ${Name};</template> | ||
<template name="Entities" | ||
description="template for the Entities block" | ||
id="org.xtext.unipampa.erdsl.ErDsl.kw_Entities" | ||
context="org.xtext.unipampa.erdsl.ErDsl.kw_Entities" | ||
enabled="true">Entities { | ||
${Entity1} { | ||
${attribute1} int isIdentifier, | ||
${attribute2} file | ||
} | ||
|
||
/* The generalization type can be: | ||
* [1] total/disjoint, [2] total/overlapped, [3] partial/disjoint OR [4] partial/overlapped | ||
*/ | ||
${Entity2} is total/disjoint ${Entity1} { | ||
${attribute3} string, | ||
${attribute4} datetime | ||
} | ||
};</template> | ||
<template name="Entity" | ||
description="template for an simple Entity" | ||
id="org.xtext.unipampa.erdsl.ErDsl.Entity" | ||
context="org.xtext.unipampa.erdsl.ErDsl.Entity" | ||
enabled="true">${Name} { | ||
|
||
}</template> | ||
<template name="Attribute" | ||
description="template for an Attribute" | ||
id="org.xtext.unipampa.erdsl.ErDsl.Attribute" | ||
context="org.xtext.unipampa.erdsl.ErDsl.Attribute" enabled="true">${attribute} | ||
${int} | ||
</template> | ||
<template name="Relationships" | ||
description="template for the Relationships block" | ||
id="org.xtext.unipampa.erdsl.ErDsl.kw_Relationships" | ||
context="org.xtext.unipampa.erdsl.ErDsl.kw_Relationships" | ||
enabled="true">Relationships { | ||
${Relationship1} [${Entity1} (1:N) relates (1:N) ${Entity2}] {${attribute5} int} | ||
${Relationship2} [${Entity2} (1:N) relates (1:N) ${Entity1}] | ||
};</template> | ||
</templates> |
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,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<templates> | ||
<template name="Generate" | ||
description="template for a Generate command" | ||
id="org.xtext.unipampa.erdsl.ErDsl.kw_Generate" | ||
context="org.xtext.unipampa.erdsl.ErDsl.kw_Generate" | ||
enabled="true">Generate ${All};</template> | ||
<template name="Domain" description="template for a Domain" | ||
id="org.xtext.unipampa.erdsl.ErDsl.Domain" | ||
context="org.xtext.unipampa.erdsl.ErDsl.Domain" | ||
enabled="true">Domain ${Name};</template> | ||
<template name="Entities" | ||
description="template for the Entities block" | ||
id="org.xtext.unipampa.erdsl.ErDsl.kw_Entities" | ||
context="org.xtext.unipampa.erdsl.ErDsl.kw_Entities" | ||
enabled="true">Entities { | ||
${Entity1} { | ||
${attribute1} int isIdentifier, | ||
${attribute2} file | ||
} | ||
|
||
/* The generalization type can be: | ||
* [1] total/disjoint, [2] total/overlapped, [3] partial/disjoint OR [4] partial/overlapped | ||
*/ | ||
${Entity2} is total/disjoint ${Entity1} { | ||
${attribute3} string, | ||
${attribute4} datetime | ||
} | ||
};</template> | ||
<template name="Entity" | ||
description="template for an simple Entity" | ||
id="org.xtext.unipampa.erdsl.ErDsl.Entity" | ||
context="org.xtext.unipampa.erdsl.ErDsl.Entity" | ||
enabled="true">${Name} { | ||
|
||
}</template> | ||
<template name="Attribute" | ||
description="template for an Attribute" | ||
id="org.xtext.unipampa.erdsl.ErDsl.Attribute" | ||
context="org.xtext.unipampa.erdsl.ErDsl.Attribute" enabled="true">${attribute} | ||
${int} | ||
</template> | ||
<template name="Relationships" | ||
description="template for the Relationships block" | ||
id="org.xtext.unipampa.erdsl.ErDsl.kw_Relationships" | ||
context="org.xtext.unipampa.erdsl.ErDsl.kw_Relationships" | ||
enabled="true">Relationships { | ||
${Relationship1} [${Entity1} (1:N) relates (1:N) ${Entity2}] {${attribute5} int} | ||
${Relationship2} [${Entity2} (1:N) relates (1:N) ${Entity1}] | ||
};</template> | ||
</templates> |
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl.ui/xtend-gen/org/xtext/unipampa/erdsl/ui/.ErDslUiModule.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...sl.ui/xtend-gen/org/xtext/unipampa/erdsl/ui/contentassist/.ErDslProposalProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ui/xtend-gen/org/xtext/unipampa/erdsl/ui/labeling/.ErDslDescriptionLabelProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ampa.erdsl.ui/xtend-gen/org/xtext/unipampa/erdsl/ui/labeling/.ErDslLabelProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...erdsl.ui/xtend-gen/org/xtext/unipampa/erdsl/ui/outline/.ErDslOutlineTreeProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...a.erdsl.ui/xtend-gen/org/xtext/unipampa/erdsl/ui/quickfix/.ErDslQuickfixProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...erdsl.ui/xtend-gen/org/xtext/unipampa/erdsl/ui/wizard/.ErDslFileTemplateProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...sl.ui/xtend-gen/org/xtext/unipampa/erdsl/ui/wizard/.ErDslProjectTemplateProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl/bin/org/xtext/unipampa/erdsl/.ErDslRuntimeModule.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl/bin/org/xtext/unipampa/erdsl/.ErDslStandaloneSetup.xtendbin
Binary file not shown.
Binary file modified
BIN
+13 Bytes
(100%)
org.xtext.unipampa.erdsl/bin/org/xtext/unipampa/erdsl/generator/.ErDslGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl/bin/org/xtext/unipampa/erdsl/generator/.HtmlFileGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl/bin/org/xtext/unipampa/erdsl/generator/.MysqlFileGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ext.unipampa.erdsl/bin/org/xtext/unipampa/erdsl/generator/.PlantUmlFileGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...t.unipampa.erdsl/bin/org/xtext/unipampa/erdsl/generator/.PostgresqlFileGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl/bin/org/xtext/unipampa/erdsl/scoping/.ErDslScopeProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl/bin/org/xtext/unipampa/erdsl/validation/.ErDslValidator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl/xtend-gen/org/xtext/unipampa/erdsl/.ErDslRuntimeModule.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
org.xtext.unipampa.erdsl/xtend-gen/org/xtext/unipampa/erdsl/.ErDslStandaloneSetup.xtendbin
Binary file not shown.
Binary file modified
BIN
+13 Bytes
(100%)
...text.unipampa.erdsl/xtend-gen/org/xtext/unipampa/erdsl/generator/.ErDslGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...t.unipampa.erdsl/xtend-gen/org/xtext/unipampa/erdsl/generator/.HtmlFileGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
....unipampa.erdsl/xtend-gen/org/xtext/unipampa/erdsl/generator/.MysqlFileGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ipampa.erdsl/xtend-gen/org/xtext/unipampa/erdsl/generator/.PlantUmlFileGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ampa.erdsl/xtend-gen/org/xtext/unipampa/erdsl/generator/.PostgresqlFileGenerator.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...xt.unipampa.erdsl/xtend-gen/org/xtext/unipampa/erdsl/scoping/.ErDslScopeProvider.xtendbin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ext.unipampa.erdsl/xtend-gen/org/xtext/unipampa/erdsl/validation/.ErDslValidator.xtendbin
Binary file not shown.