close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Version 5 (modified by malte.appeltauer, 10 years ago) (diff)


Changes since v011-04-26

  • Layers are now instantiable. Like normal objects, they can override their default constructor and have to be instantiated. Example:
      with(new ContactLayer(myContact)) { ...}

Older JCop programs will cause a compiler error:

  with(ContactLayer) { ...}

You can fix this effortless by defining a class variable:

private Layer ContactLayer = new ContactLayer();
  with(ContactLayer) { ...}