Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Integrate changes for IBeX v2 #216

Draft
wants to merge 243 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
243 commits
Select commit Hold shift + click to select a range
6c5fbc0
added first version of the SlimGT xtext grammar
arg0n1s Sep 1, 2022
5aea0a0
added first version of GTL xtext grammar
arg0n1s Sep 1, 2022
d79bb61
added pattern import
arg0n1s Sep 1, 2022
a90b1d7
+ changed mapping syntax
arg0n1s Sep 1, 2022
c8ddebf
+ moved mappings to SlimGT
arg0n1s Sep 2, 2022
401daec
added attribute value watch dog
arg0n1s Sep 2, 2022
f8d0274
added first version of the TGGL xtext grammar
arg0n1s Sep 2, 2022
4cef771
fixed typo
arg0n1s Sep 2, 2022
f623468
+ added metamodel import proposal provider
arg0n1s Sep 3, 2022
ce559a3
+ added gtl package name proposal
arg0n1s Sep 3, 2022
81bb194
updated jre config to java 17
arg0n1s Sep 3, 2022
ad75876
+ added scoping for imported gt rules
arg0n1s Sep 3, 2022
4a1b95f
+ added scoping for rule params
arg0n1s Sep 4, 2022
f796eac
added scoping for node mappings (refinements + invocations)
arg0n1s Sep 4, 2022
78a1452
added rule node type scoping
arg0n1s Sep 5, 2022
bc8ed6d
+ added edge type scoping
arg0n1s Sep 6, 2022
8bc8739
+ added scoping for enums
arg0n1s Sep 6, 2022
146615f
+ added scoping for count expressions
arg0n1s Sep 6, 2022
7b199ae
+ added scoping for attribute expressions
arg0n1s Sep 6, 2022
6c6fc72
+ added edge iterator scoping
arg0n1s Sep 6, 2022
7aae066
added scoping for nodes, edges and correspondence types
Arikae Sep 7, 2022
061886a
removed schema reference on each tgg rule
Arikae Sep 7, 2022
a7b45f1
further work on the TGG scoper
Arikae Sep 8, 2022
9850667
initial ideas
arg0n1s Sep 8, 2022
1875f1b
refactored rule refinement
arg0n1s Sep 8, 2022
2810806
Merge remote-tracking branch 'origin/refactoring/experimental_GTL' in…
arg0n1s Sep 8, 2022
dc56146
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Sep 8, 2022
7e8289e
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 8, 2022
92f9d31
+ implemented new refinement concept
arg0n1s Sep 8, 2022
228d80d
moved invocations in slimrules up to slimgt
Arikae Sep 8, 2022
4149f0f
implemented scoping for node mappings
Arikae Sep 8, 2022
413a430
tgg files are no longer searched across the entire workspace but only…
Arikae Sep 8, 2022
e0eee75
tgg edge targets are now only nodes that have not been refined by ano…
Arikae Sep 8, 2022
b317104
added node refinements for correspondence nodes
Arikae Sep 9, 2022
2a411f1
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Sep 9, 2022
dfe48c4
refactored scope method
Arikae Sep 9, 2022
370e737
+ small modification to refining rules (refines keyword only required…
arg0n1s Sep 9, 2022
e3e6e7e
added import validator (SlimGT)
arg0n1s Sep 9, 2022
c37a292
added scoping for correspondence nodes
Arikae Sep 9, 2022
2d68221
+ added rule name checks
arg0n1s Sep 9, 2022
47470cc
+ added rule name unique check
arg0n1s Sep 9, 2022
2263212
+ added parameter unique name check
arg0n1s Sep 9, 2022
7eac0c8
+ added refinement and refinement alias uniqueness check
arg0n1s Sep 9, 2022
406229e
+ added rule refinement operation mismatch check
arg0n1s Sep 9, 2022
f41520d
+ added rule node name uniqueness check
arg0n1s Sep 9, 2022
512377a
recommit
Arikae Sep 9, 2022
6536c52
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 9, 2022
d9e7fdb
+ fixed parse rule multiplicities
arg0n1s Sep 10, 2022
8f7bc41
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Sep 10, 2022
99fcb25
fixed metamodel loading
Arikae Sep 10, 2022
2dc3046
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 10, 2022
6d69f3a
+ removed '#' from imports
arg0n1s Sep 10, 2022
b985247
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 10, 2022
b8ffdde
catching IOException when loading metamodels to prevent loadMetamodel…
Arikae Sep 10, 2022
47a5a0e
fixed most scoping problems in schema including refinements
Arikae Sep 12, 2022
cfa0d98
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Sep 12, 2022
af48bae
changed 'var' variables to typed variables for better readability
arg0n1s Sep 12, 2022
c98fd79
fixed GTL package name proposal provider
arg0n1s Sep 12, 2022
2e3a88a
fixed most scoping problems in schema including refinements
Arikae Sep 12, 2022
5e9a61f
aliased rule refinement now contains a plain refinement to make both …
Arikae Sep 12, 2022
56bc2bd
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 12, 2022
ea2fe8c
+ fixed static initialization exception in SlimGTValidatorUtils.java
arg0n1s Sep 12, 2022
c91e229
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 12, 2022
e02a506
+ fixed node and edge supertype scoping
arg0n1s Sep 12, 2022
9b86660
+ fixed node creation and deletion for refining nodes
arg0n1s Sep 12, 2022
13367de
+ minor tweaks
arg0n1s Sep 12, 2022
68be241
fixed node refinement
Arikae Sep 12, 2022
68461a9
restructured refinement nodes
Arikae Sep 12, 2022
07c332b
implementing imports with aliases
Arikae Sep 12, 2022
ed41122
fixed imports of packages
Arikae Sep 12, 2022
e2fc39b
implemented type scoping with fqns and aliases
Arikae Sep 12, 2022
29cf35d
SlimGTAliasedTypeScope no longer needs all packages
Arikae Sep 12, 2022
f0f8684
+ changed create, delete, context symbols
arg0n1s Sep 13, 2022
3104602
+ added rule node hierarchy class and function
arg0n1s Sep 13, 2022
a07f0db
added a new prefixer to improve content assist for eclasses with fq n…
Arikae Sep 14, 2022
a581963
+ added edge uniqueness check
arg0n1s Sep 14, 2022
ba8d5a6
check assignment uniqueness
arg0n1s Sep 14, 2022
a7e688e
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 14, 2022
a8b987d
prevented the usage of attributes for assignment calculations that ar…
arg0n1s Sep 14, 2022
2fb7d10
refactored edge iterator attribute expressions and crossrefs
arg0n1s Sep 14, 2022
f7768dd
added node scoping for watch dog
arg0n1s Sep 14, 2022
f83ae27
added invocation checks to prevent cycles and the invocation of abstr…
arg0n1s Sep 14, 2022
32174a6
added qualified name scoping for refinement nodes
Arikae Sep 15, 2022
b9c98c7
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Sep 15, 2022
5e63c3e
+ check arithmetic in local (-> Warning in case of Democles)
arg0n1s Sep 15, 2022
1243d8e
+ added boolean expressions
arg0n1s Sep 16, 2022
8052445
added boolean expression scoping
arg0n1s Sep 16, 2022
df71322
fixed edge referencing
Arikae Sep 16, 2022
384b730
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 16, 2022
1ed90da
+ renamed some util classes to comply with naming scheme
arg0n1s Sep 16, 2022
ef7c83f
+ added relational type conflict check
arg0n1s Sep 16, 2022
ab051e0
fixed correspondence node scoping
Arikae Sep 19, 2022
3337985
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Sep 19, 2022
f350ace
implemented filtered scoping for node types
Arikae Sep 19, 2022
caaee15
+ fixed grammar rule ambiguity (attribute condition -> relation expre…
arg0n1s Sep 19, 2022
6f5f539
+ Fixed attribute assignment validator -> Was already correct, the ex…
arg0n1s Sep 19, 2022
a7415de
+ fixed grammar rule ambiguity (SlimRuleNodeContext -> GTLRuleRefinem…
arg0n1s Sep 19, 2022
55c86e7
implemented csp scoping
Arikae Sep 19, 2022
692a867
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 19, 2022
02a6500
added more git keeps
arg0n1s Sep 20, 2022
088fe47
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Sep 20, 2022
9d4ee08
+ added '$' as a prefix for local variable declarations in TGGL
arg0n1s Sep 20, 2022
0eeae70
added boolean expression data type validator
arg0n1s Sep 20, 2022
b36826b
+ fixed rule scoping (package scope and wildcards imports are now inc…
arg0n1s Sep 21, 2022
db261ad
finished flattener
arg0n1s Sep 21, 2022
7e402ac
+ fixed typos and naming
arg0n1s Sep 22, 2022
bd0ea33
implemented proper recursive resolving of imported rule dependencies
arg0n1s Sep 22, 2022
43e23cf
+ added pattern import cycle detection
arg0n1s Sep 22, 2022
8368525
fixed renamed WorkspaceUtil reference
Arikae Sep 22, 2022
1a1e093
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Sep 22, 2022
75741c1
+ fixed scoping for source / target node mappings
arg0n1s Sep 22, 2022
3080f32
+ fixed edge iterator reference scoping
arg0n1s Sep 22, 2022
598d257
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Sep 24, 2022
57cac8d
+ added xtext and gtl manager class, which handles the loading and ca…
arg0n1s Sep 28, 2022
2bf8e05
added some EPackage utilities for later usage
arg0n1s Sep 28, 2022
20054b9
+ added generic builder extension point
arg0n1s Oct 6, 2022
a871132
added wizards
arg0n1s Oct 6, 2022
a80e779
fixed new file wizard NPEs
arg0n1s Oct 8, 2022
2bfc862
+ fixed NewProjectWizard guice injector errors (-> somehow none of th…
arg0n1s Oct 8, 2022
5f73d39
added flattening and builder calls
arg0n1s Oct 9, 2022
6841432
initial idea for a class that manages and writes back build properties
arg0n1s Oct 9, 2022
c1899d7
finished BuildPropertiesManager
arg0n1s Oct 9, 2022
23cf6e3
moved GTLRuleRefinement to slimGT (has to be renamed)
Arikae Oct 10, 2022
c0802e7
fixed refactoring errors
Arikae Oct 10, 2022
843c665
moved scopes to new package
Arikae Oct 11, 2022
37935c6
implementing aliased scopes for refined patterns
Arikae Oct 11, 2022
f042e07
fixed missing nodes from refinements
Arikae Oct 12, 2022
79c2830
added scoping for conditions
Arikae Oct 12, 2022
e9a8825
fixed node attribute expressions
Arikae Oct 14, 2022
cd952d2
now finding all resolved TGGL resources for the generator
Arikae Oct 16, 2022
0429657
recommit of older xtext code
Arikae Oct 16, 2022
bf4b89e
starting tgg model flattener
Arikae Oct 17, 2022
2ed7a15
implemented tgg flattener
Arikae Oct 17, 2022
ebdb2ec
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Oct 17, 2022
3aca5c7
fixed some npes in the tgg flattener
Arikae Oct 18, 2022
dee66f2
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
arg0n1s Oct 20, 2022
0f4b70e
Merge remote-tracking branch 'origin/master' into refactoring/rework_…
arg0n1s Oct 20, 2022
837646a
post-merg fixes
arg0n1s Oct 20, 2022
14535aa
prevent iteration over edges with multiplicity of 1
arg0n1s Oct 20, 2022
3696c74
patterns may now be abstract
Arikae Oct 20, 2022
c7256be
+ deleted the old gt language projects
arg0n1s Oct 20, 2022
c3179f7
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Oct 20, 2022
86bb036
minor tweaks to project creator
arg0n1s Oct 20, 2022
0cc9082
finalized tgg flattener
Arikae Oct 21, 2022
3c70197
minor fixes to generator and model flattener
arg0n1s Oct 21, 2022
db44a50
allowed parameterized conditions
arg0n1s Oct 21, 2022
982ab16
gtl icon is now displayed properly
arg0n1s Oct 21, 2022
b398e52
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Oct 24, 2022
66eb4bd
+ added resolve call before getting refinements
arg0n1s Oct 24, 2022
7a5e14e
+ fixed several NPEs
arg0n1s Oct 25, 2022
6783dad
fixed gt file wizard button
arg0n1s Oct 26, 2022
e01fe91
- xtext resources are now loaded with their proper platform uri
arg0n1s Oct 27, 2022
481180d
+ changed parallel flattening to sequential flattening since unknown …
arg0n1s Oct 28, 2022
0a5029d
+ fixed rule node refinement scoping
arg0n1s Nov 1, 2022
197cedb
+ fixed performance issues caused by the repeated crawl of the file s…
arg0n1s Nov 2, 2022
6553188
+ fixed another performance issue that was a result of unnecessary fi…
arg0n1s Nov 3, 2022
23b232f
+ fixed missing invocation type after flattening
arg0n1s Nov 3, 2022
cbaa300
+ fixed scoping for invocation mappings
arg0n1s Nov 3, 2022
2cc7bc8
+ fixed broken package scoping
arg0n1s Nov 4, 2022
74fa719
added more keywords to the node and rule name blacklist
arg0n1s Nov 8, 2022
64f65b7
+ added another blacklisted keyword
arg0n1s Nov 8, 2022
afae67b
+ fixes to rule import proposal
arg0n1s Nov 9, 2022
bba6c96
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Nov 10, 2022
4eb8f18
+ fixed performance issues with scoping all gtl files in a package
arg0n1s Nov 10, 2022
234e987
+ added a function to get all watch-dog expressions from super rules
arg0n1s Nov 14, 2022
a7aad5b
+ minor refactoring in the GTLResourceManager class
arg0n1s Nov 14, 2022
4dd9531
+ minor refactoring in the validator and proposal provider classes
arg0n1s Nov 15, 2022
d8e41dc
minor refactoring to add modularity
arg0n1s Nov 15, 2022
63be81f
fixed broken configuration to disable automatic injectivity constraintn
arg0n1s Nov 17, 2022
d8ee8dc
removed legacy code
Arikae Nov 21, 2022
e3e37b9
moved TGGBuilderExtension.java
Arikae Dec 5, 2022
edb5fec
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Mar 2, 2023
cc47633
fixed inheritance hierarchy of gtl scoper and validator
arg0n1s Mar 3, 2023
6fbf6b1
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Mar 3, 2023
71d10fa
Merge branch 'refactoring/rework_merge_GT_TGG_DSL' into refactoring/r…
Arikae Oct 24, 2022
d92625c
WIP: TGG language validation
adrianmoeller Oct 23, 2022
f4bb91b
WIP: TGG language validation
adrianmoeller Oct 27, 2022
1a169d8
WIP: TGG language validation
adrianmoeller Nov 3, 2022
43bacb4
WIP: TGG language validation
adrianmoeller Nov 3, 2022
1c80437
WIP: TGG language validation
adrianmoeller Nov 6, 2022
06ca0e3
WIP: TGG language validation
adrianmoeller Nov 7, 2022
f55eba7
WIP: TGG language validation + fixed xtext resource issue
adrianmoeller Dec 8, 2022
7a3886d
WIP: TGG language validation
adrianmoeller Jan 4, 2023
96e004e
Finished TGG language validation
adrianmoeller Mar 12, 2023
4a6d4b7
Merge remote-tracking branch 'origin/refactoring/rework_TGG_validator…
adrianmoeller Mar 12, 2023
a4e15f8
Merge remote-tracking branch 'origin/refactoring/rework_TGG' into ref…
Arikae Mar 15, 2023
6db5a54
fixed pipeline
Arikae Mar 17, 2023
e266a9e
import references do no longer need to be aliased
Arikae Mar 18, 2023
4212bc1
fixed scoping issues
Arikae Mar 18, 2023
67b28b9
fixed several bugs in the flattener
Arikae Mar 18, 2023
544f4fb
fixed integrate plugin
Arikae Mar 23, 2023
cc9d583
fixed scoping problems under windows
Arikae Mar 24, 2023
616f830
now allowing abstract classes to be referenced
Arikae Mar 24, 2023
1b71dc3
fixed integrate
Arikae Apr 1, 2023
d8978e3
nodes can now refine mulitple nodes (validator has to make sure that …
Arikae Apr 2, 2023
dcd464c
fix for multiple refinements
Arikae Apr 5, 2023
ff2a6e2
identified name conflict situations
Arikae Apr 6, 2023
f826c6c
Fixed validator: unique names with refinements
adrianmoeller Apr 7, 2023
c9d1d36
Fixed scope for enums at attribute assignments
adrianmoeller Apr 8, 2023
2549172
fixed some problems with flattening of attribute assignments
Arikae Apr 9, 2023
879ca30
fixed a problem where ereferences were mistaken for keywords
Arikae Apr 11, 2023
4a5a04e
fixed an issue where scoping did not resolve refined types of corresp…
Arikae Apr 11, 2023
c8afe9b
fixed refined correspondence types
Arikae Apr 11, 2023
064f0c1
correspondece src and trg are now optional/forbidden if the type/node…
Arikae Apr 11, 2023
67defe9
flattening now also copies TGG Attribute Constraints to the refining …
Arikae Apr 11, 2023
a591561
FQN of tgg rule node refinements no longer reference elements over mo…
Arikae Apr 13, 2023
a973539
fixed a problem with duplicate nodes during refinement when the refin…
Arikae Apr 14, 2023
c165873
csps parameters that are nodeAttributeValues can now be derived again
Arikae Apr 14, 2023
a47454e
fixed a problem with duplicate DataTypes by comparing their instanceC…
Arikae Apr 15, 2023
74eb256
fixed a problem within the flattener where edges from refined nodes w…
Arikae Apr 15, 2023
b52f4cd
fixed npe in model flattener
Arikae Apr 17, 2023
4f8b819
removing duplicate edges
Arikae Apr 17, 2023
f5a33c2
added tgg plant uml vis
Arikae May 9, 2023
56969c7
Fixed DisjointPatternNotAbstract check
adrianmoeller Jun 7, 2023
a61e271
Fixed edge checks
adrianmoeller Jun 8, 2023
f1481cd
fixed startup problems where xtext resources had un-resolvable eproxies
Arikae Jun 22, 2023
479d50f
Fixed missing eAdapters in copied files needed for flattening
adrianmoeller Jul 6, 2023
7934bdd
After building a tgg project, we delete all markers and refresh the p…
Arikae Jun 26, 2023
aadae17
WIP resolve error throwing with object of extern file
adrianmoeller Jun 12, 2023
9d8b55f
Bring disjoint rule not abstract check to work; fixed scoper NPE
adrianmoeller Aug 14, 2023
b1e2073
Fixed way resources are loaded in scoper
adrianmoeller Sep 7, 2023
a784784
deactivated cardinality check
Arikae Oct 12, 2023
fead337
Fixes IBeX Integration bug (injection did not work)
maxkratz Oct 12, 2023
d77b2cb
Adds org.apache.commons.commons-io to gtl project
maxkratz Oct 12, 2023
fd8f466
Merge remote-tracking branch 'origin/master' into rework_TGG_validato…
maxkratz Oct 12, 2023
5b0d3f2
Removes non-existing folders from build.properties to fix updatesite
maxkratz Oct 12, 2023
ad356e7
Fixes missing gtl ui buttons in the toolbar
maxkratz Oct 12, 2023
c388624
Removes old IBeX 1.0 projects
maxkratz Oct 12, 2023
fccf2b6
Fixes the slow GTL builds in newer org.apache.commons.io versions
maxkratz Oct 24, 2023
73e2a67
Updates injection import to fix project on newer Eclipse versions
maxkratz Jan 5, 2024
1b073d3
Updates generated code to Xtext v2.33.0
maxkratz Feb 20, 2024
f5d0689
Merge remote-tracking branch 'origin/master' into rework_TGG_validato…
maxkratz Feb 20, 2024
5769596
added a new project to encapsule that wizards and solve a problem wit…
Arikae Apr 15, 2024
032dd2e
added a new project to encapsule that wizards and solve a problem wit…
Arikae Apr 15, 2024
37c92d3
added new TGGl validator rule to show an error if a flattened rule wo…
Arikae Apr 23, 2024
69a34bd
Fixes a classpath error in the tggl.ui project
maxkratz Apr 26, 2024
933c26e
Removes artifacts of org.emoflon.ibex.tgg.editor project
maxkratz Apr 26, 2024
1fb39fa
+ reconnected the GTL visualization
arg0n1s May 3, 2024
7fa4798
+ recovered basic functionality:
arg0n1s May 3, 2024
7a0b2ba
Removes generated plugin.xml_gen files + adds file(type) to gitignore
maxkratz May 3, 2024
7211276
Merge pull request #215 from eMoflon/hotfix/gtl_visualization
maxkratz May 6, 2024
d58dd97
Merge remote-tracking branch 'origin/master' into rework_TGG_validato…
maxkratz Jun 18, 2024
e7626d8
Merge remote-tracking branch 'origin/master' into rework_TGG_validato…
maxkratz Sep 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**/xtend-gen/*
!**/xtend-gen/*.keep
**/bin/
**/src-gen/*
**/plugin.xml_gen
4 changes: 4 additions & 0 deletions .gitignore.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/xtend-gen/*
!**/xtend-gen/*.keep
**/bin/
src-gen/*
1 change: 0 additions & 1 deletion org.emoflon.ibex.common.editor.utils/.gitignore

This file was deleted.

28 changes: 0 additions & 28 deletions org.emoflon.ibex.common.editor.utils/.project

This file was deleted.

10 changes: 0 additions & 10 deletions org.emoflon.ibex.common.editor.utils/META-INF/MANIFEST.MF

This file was deleted.

9 changes: 0 additions & 9 deletions org.emoflon.ibex.common.editor.utils/build.properties

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions org.emoflon.ibex.common.editor.utils/plugin.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 6 additions & 0 deletions org.emoflon.ibex.common.slimgt.ide/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/bin/
/xtend-gen/*
/src-gen/*

!/xtend-gen/.gitkeep
!/src-gen/.gitkeep
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.emoflon.ibex.gt.editor.ide</name>
<name>org.emoflon.ibex.common.slimgt.ide</name>
<comment></comment>
<projects>
</projects>
Expand Down
16 changes: 16 additions & 0 deletions org.emoflon.ibex.common.slimgt.ide/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Manifest-Version: 1.0
Automatic-Module-Name: org.emoflon.ibex.common.slimgt.ide
Bundle-ManifestVersion: 2
Bundle-Name: org.emoflon.ibex.common.slimgt.ide
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: org.emoflon.ibex.common.slimgt.ide; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.emoflon.ibex.common.slimgt,
org.eclipse.xtext.ide,
org.eclipse.xtext.xbase.ide,
org.antlr.runtime;bundle-version="[3.2.0,3.2.1)"
Bundle-RequiredExecutionEnvironment: JavaSE-17
Export-Package: org.emoflon.ibex.common.slimgt.ide.contentassist.antlr,
org.emoflon.ibex.common.slimgt.ide.contentassist.antlr.internal,
org.emoflon.ibex.common.slimgt.ide.highlighting
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* generated by Xtext 2.27.0
*/
package org.emoflon.ibex.common.slimgt.ide;


/**
* Use this class to register ide components.
*/
public class SlimGTIdeModule extends AbstractSlimGTIdeModule {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* generated by Xtext 2.27.0
*/
package org.emoflon.ibex.common.slimgt.ide;

import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.xtext.util.Modules2;
import org.emoflon.ibex.common.slimgt.SlimGTRuntimeModule;
import org.emoflon.ibex.common.slimgt.SlimGTStandaloneSetup;

/**
* Initialization support for running Xtext languages as language servers.
*/
public class SlimGTIdeSetup extends SlimGTStandaloneSetup {

@Override
public Injector createInjector() {
return Guice.createInjector(Modules2.mixin(new SlimGTRuntimeModule(), new SlimGTIdeModule()));
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package org.emoflon.ibex.common.slimgt.ide.highlighting

import com.google.inject.Inject
import org.eclipse.emf.ecore.EObject
import org.eclipse.xtext.ide.editor.syntaxcoloring.DefaultSemanticHighlightingCalculator
import org.eclipse.xtext.ide.editor.syntaxcoloring.IHighlightedPositionAcceptor
import org.eclipse.xtext.util.CancelIndicator
import org.eclipse.xtext.ide.editor.syntaxcoloring.HighlightingStyles
import org.emoflon.ibex.common.slimgt.slimGT.SlimGTPackage
import org.emoflon.ibex.common.slimgt.services.SlimGTGrammarAccess
import org.emoflon.ibex.common.slimgt.slimGT.SlimRuleEdge

class SlimGTSemanticHighlightingCalculator extends DefaultSemanticHighlightingCalculator {
@Inject package SlimGTGrammarAccess grammar

override protected boolean highlightElement(EObject object, IHighlightedPositionAcceptor acceptor,
CancelIndicator cancelIndicator) {
switch (object) {
SlimRuleEdge: {
highlightFeature(acceptor, object, SlimGTPackage.eINSTANCE.slimRuleEdge_Type, HighlightingStyles.DEFAULT_ID)
return true
}
default: false
}
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="xtend-gen"/>
<classpathentry kind="src" path="xtend-src"/>
<classpathentry exported="true" kind="lib" path="lib/miglayout-4.0.jar"/>
<classpathentry kind="src" path="src-gen"/>
<classpathentry kind="output" path="bin"/>
</classpath>
6 changes: 6 additions & 0 deletions org.emoflon.ibex.common.slimgt.ui/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/bin/
/xtend-gen/
/src-gen/

!/xtend-gen/.gitkeep
!/src-gen/.gitkeep
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.emoflon.ibex.gt.editor.tests</name>
<name>org.emoflon.ibex.common.slimgt.ui</name>
<comment></comment>
<projects>
</projects>
Expand Down
25 changes: 25 additions & 0 deletions org.emoflon.ibex.common.slimgt.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Manifest-Version: 1.0
Automatic-Module-Name: org.emoflon.ibex.common.slimgt.ui
Bundle-ManifestVersion: 2
Bundle-Name: org.emoflon.ibex.common.slimgt.ui
Bundle-Vendor: My Company
Bundle-Version: 1.0.0.qualifier
Bundle-SymbolicName: org.emoflon.ibex.common.slimgt.ui; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.emoflon.ibex.common.slimgt,
org.emoflon.ibex.common.slimgt.ide,
org.eclipse.xtext.ui,
org.eclipse.xtext.ui.shared,
org.eclipse.xtext.ui.codetemplates.ui,
org.eclipse.ui.editors;bundle-version="3.5.0",
org.eclipse.ui.ide;bundle-version="3.5.0",
org.eclipse.ui,
org.eclipse.compare,
org.eclipse.xtext.builder
Import-Package: org.apache.log4j
Bundle-RequiredExecutionEnvironment: JavaSE-17
Export-Package: org.emoflon.ibex.common.slimgt.ui,
org.emoflon.ibex.common.slimgt.ui.contentassist,
org.emoflon.ibex.common.slimgt.ui.internal,
org.emoflon.ibex.common.slimgt.ui.quickfix
Bundle-Activator: org.emoflon.ibex.common.slimgt.ui.internal.SlimgtActivator
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
source.. = src/,\
src-gen/,\
xtend-gen/
src-gen/
bin.includes = .,\
META-INF/,\
plugin.xml
Expand Down
Loading