MarkusGerhart / spray

Automatically exported from code.google.com/p/spray
0 stars 0 forks source link

Error in code generation of CreateConnectionFeatures array in feature provider #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create spray project with wizard and use default settings
2. Use attached spray-file to generate code
3. Look at MyDiagramFeatureProviderBase::getCreateConnectionFeatures. In my 
case it looks like this:
public ICreateConnectionFeature[] getCreateConnectionFeatures() {
  return new ICreateConnectionFeature[] { ,,
  };
}

If we add one more shape description (e.g. for BusinessDomainModel's EClass) we 
will see not two commas, but three. If one more - four commas, and so on.

What version of the product are you using? On what operating system?
Eclipse Modeling Tools

Version: Indigo Release
Build id: 20110615-0604

Windows XP SP3

Original issue reported on code.google.com by Alex.Rol...@gmail.com on 5 Oct 2011 at 7:19

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by karsten....@googlemail.com on 5 Oct 2011 at 10:32

GoogleCodeExporter commented 8 years ago
This issue was closed by revision fd948e39a176.

Original comment by karsten....@googlemail.com on 5 Oct 2011 at 11:19

GoogleCodeExporter commented 8 years ago
Note that the "extension" keyword was removed, it is derived from the genmodel 
now.

Original comment by karsten....@googlemail.com on 5 Oct 2011 at 11:32