google-code-export / umple

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

Umple active objects seem not to support multilingual code generation #388

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The umple 'active' keyword added recently does not support the ability to be 
followed by snippets of code in different languages, such as: In the following 
code. This should be relatively straightforward to implement since at the 
metamodel level, and active object is a state machine with a single state that 
has a do activity.

class A {
  name;

  active Java {
    System.out.println("Object "+getName()+ is now active);
    for (int i = 1; i < 10; i++) {
      System.out.println(" "+name+" was here");
      Thread.sleep(1000);
       } 
  } 
   Cpp { blah;}

  public static void main(String argv[]) {
    new A("1");
    new A("2");
  }
}

Original issue reported on code.google.com by TimothyCLethbridge on 19 May 2013 at 12:11

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 12 Sep 2013 at 2:40

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 17 Sep 2013 at 1:17

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 11 Sep 2014 at 4:44

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4517.

Original comment by TimothyCLethbridge on 22 Sep 2014 at 5:47