stratacode / issues

Empty StrataCode project to store github issues
0 stars 0 forks source link

No way to specify imports for use in the layer definition file #6

Closed jeffvroom closed 8 years ago

jeffvroom commented 10 years ago

Currently any imports in the layer definition file are exported to clients which extend the layer but are not used by code in the layer definition file itself. You have to use fully qualified names. We probably need a keyword to differentiate these two types of imports, or maybe use an existing keyword in a new way to avoid adding "yet another" reserved word in Java.

jeffvroom commented 8 years ago

There is an API you can use to register globalLayerImports - sys.addLayerImport. Maybe we should do this with some modifier on top of import statements but for now it solves most problems because we import the common layer support classes by default.