/*
* 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.GfrNodCtrFixFolderTopPrjSecChkEclAresWwdEarthAbs;
import org.geoforge.wrpbasprsdsp.state.singleton.selecttlo.GfrWrpObjSttSngSelTlo;
import org.geoforge.wrpbasprssynecl.GfrWrpBasTopSynEclAres;
/**
*
* @author robert
*/
public class GfrNodCtrFixFolderTopPrjSecChkEclAresWwdEarthGsi extends GfrNodCtrFixFolderTopPrjSecChkEclAresWwdEarthAbs
{
public GfrNodCtrFixFolderTopPrjSecChkEclAresWwdEarthGsi(
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 (! GfrWrpBasTopSynEclAres.getInstance().containsTlo(strId))
return null;
if (! GfrWrpObjSttSngSelTlo.getInstance().isEnabled(strId))
return null;
GfrNodAbs nod = new GfrNodCtrMovFolderTogSecCbxSetImgsTloAreEclGsi(
super._alrControllerSpace,
super._alrControllerPerspective,
super._strIdViewer,
strId,
super._tree,
super._pnlStatusBar,
super._alrParentPanelMvc_);
super._addObjectVariableNode(nod);
return nod;
}
}