MathewWi / umple

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

Allow pattern substitution in use statement #340

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In a use statement add the ability to do pattern-based substitution.

This would allow reuse of generic model elements

See also issue 334 and issue 325

Original issue reported on code.google.com by TimothyCLethbridge on 30 Sep 2012 at 10:30

GoogleCodeExporter commented 9 years ago
The idea would be that you could say something like:

use Transport.ump vehicle=airplane, journey=flight;

Pattern matching could also be allowed as a further improvement.

As the file is being imported, the substitution would be done. Note that this 
would add a few complications for generation of 'original' lines of ump files 
where the error occurred during compilation.

Original comment by TimothyCLethbridge on 31 Dec 2012 at 6:00

GoogleCodeExporter commented 9 years ago
A lot of analysis needs to be done on the actual syntax and semantics before 
any development is done on this.

Original comment by TimothyCLethbridge on 1 May 2013 at 2:14