/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.geoforge.guillcogceclgsi.treenode;
import java.awt.event.ActionListener;
import org.geoforge.guillc.panel.GfrPnlStatusBarAbs;
import org.geoforge.guillc.tree.GfrTreAbs;
import org.geoforge.guillc.treenode.GfrNodAbs;
import org.geoforge.guillcogcecl.treenode.GfrNodCtrFixFolderTopPrjSecChkEclSctsWwdEarthAbs;
import org.geoforge.wrpbasprsdsp.state.singleton.selecttlo.GfrWrpObjSttSngSelTlo;
import org.geoforge.wrpbasprssynecl.GfrWrpBasTopSynEclScts;
/**
*
* @author robert
*/
public class GfrNodCtrFixFolderTopPrjSecChkEclSctsWwdEarthGsi extends GfrNodCtrFixFolderTopPrjSecChkEclSctsWwdEarthAbs
{
public GfrNodCtrFixFolderTopPrjSecChkEclSctsWwdEarthGsi(
ActionListener alrControllerSpcPrj,
ActionListener alrControllerPrs,
GfrTreAbs tre,
ActionListener alrParentPanelMvc,
GfrPnlStatusBarAbs pnlStatusBar,
String strIdViewer) throws Exception
{
super(alrControllerSpcPrj, alrControllerPrs, tre,
alrParentPanelMvc, pnlStatusBar, strIdViewer);
}
@Override
public Object addObjectVariable(String strId) throws Exception
{
if (! GfrWrpBasTopSynEclScts.getInstance().containsTlo(strId))
return null;
if (! GfrWrpObjSttSngSelTlo.getInstance().isEnabled(strId))
return null;
GfrNodAbs nod = new GfrNodCtrMovFolderTogSecCbxSetImgsTloSctEclGsi(
super._alrControllerSpace,
super._alrControllerPerspective,
super._strIdViewer,
strId,
super._tree,
super._pnlStatusBar,
super._alrParentPanelMvc_);
super._addObjectVariableNode(nod);
return nod;
}
}