/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.geoforge.guillcogcecl.treenode;
import java.awt.event.ActionListener;
import org.geoforge.guillc.enumeration.GfrEnuValuesKindTargetWindow;
import org.geoforge.guillc.tree.GfrTreAbs;
import org.geoforge.guillc.treenode.GfrNodCtrMovAbs;
import org.geoforge.guillc.treenode.GfrNodCtrMovLeafPrjLblLloImg;
import org.geoforge.guillcogcecl.enumeration.GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl;
import org.geoforge.guillcogcecl.popupmenu.GfrPmuCtlCtrFolderSetDelImgsPntSec;
import org.geoforge.wrpbasprssynecl.GfrWrpBasSynObjNameTloEclPnt;
/**
*
* @author robert
*/
public class GfrNodCtrFixFolderSetVarPrjImgPntSecWwdEarth extends GfrNodCtrFixFolderSetVarPrjImgPntAbs
{
private String _strIdViewer_ = null;
public GfrNodCtrFixFolderSetVarPrjImgPntSecWwdEarth(
ActionListener alrControllerSpcPrj,
ActionListener alrControllerPrs,
String strIdUnique,
GfrTreAbs tre,
String strIdViewer)
throws Exception
{
super(alrControllerSpcPrj,
alrControllerPrs,
tre,
strIdUnique);
this._strIdViewer_ = strIdViewer;
super._pop = new GfrPmuCtlCtrFolderSetDelImgsPntSec(
alrControllerSpcPrj,
strIdUnique,
tre);
}
@Override
public Object addObjectVariable(String strId) throws Exception
{
GfrNodCtrMovAbs nod = new GfrNodCtrMovLeafPrjLblLloImg(
super._alrControllerSpace,
super._alrControllerPerspective,
strId,
super._tree,
super._strIdOwner,
GfrWrpBasSynObjNameTloEclPnt.getInstance(),
GfrEnuValuesKindTargetWindow.VIEWER_TOP_WORLDWIND.name(),
GfrEnuValuesKindObjectLloVarSpcPrjOgcEcl.VALUE_LLO_IMAGE_ECL_PNT);
super._addObjectVariableNode(nod);
return nod;
}
}