EditorLayer layer = (EditorLayer) figNode.getNestedLayer();
EditorLayer layer = figNode.getNestedLayer();
    public void expandNode(FigModuleNode figNode) {        if (figNode != null && figNode.getNestedLayer() != null) {            EditorLayer layer = (EditorLayer) figNode.getNestedLayer();            getLayerManager().replaceActiveLayer(layer);            getSelectionManager().deselectAll();            damageAll();        }    }