Search in sources :

Example 1 with AddFacetController

use of au.org.ala.spatial.composer.add.AddFacetController in project spatial-portal by AtlasOfLivingAustralia.

the class AreaToolComposer method afterCompose.

@Override
public void afterCompose() {
    super.afterCompose();
    Component parent = this.getParent();
    winProps = Executions.getCurrent().getArg();
    if (StringConstants.ADDTOOLWINDOW.equals(parent.getId())) {
        analysisParent = (ToolComposer) this.getParent();
        isAnalysisChild = true;
    } else if (StringConstants.ADDFACETWINDOW.equals(parent.getId())) {
        facetParent = (AddFacetController) this.getParent();
        isFacetChild = true;
    } else {
        isAnalysisChild = false;
        isFacetChild = false;
    }
}
Also used : AddFacetController(au.org.ala.spatial.composer.add.AddFacetController) Component(org.zkoss.zk.ui.Component)

Aggregations

AddFacetController (au.org.ala.spatial.composer.add.AddFacetController)1 Component (org.zkoss.zk.ui.Component)1