Closed jeffvroom closed 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.
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.