public void loadLights()
        {
            SimGroup MissionGroup = "MissionGroup";
            EditorTree EditorTree = "EditorTree";

            // Get the ID of the last object added
            SimObject obj = MissionGroup.getObject((uint) MissionGroup.getCount() - 1);

            // Create a new SimGroup to hold the model and lights
            SimGroup group = new ObjectCreator("SimGroup").Create();
            Util.loadColladaLights(this.path, group, obj);

            // Delete the SimGroup if no lights were found. Otherwise, add the model to
            // the group as well.
            if (group.getCount() > 0)
                {
                group.add(obj);
                group.bringToFront(obj);
                MissionGroup.add(group);
                if (EditorTree.isVisible())
                    {
                    EditorTree.removeItem(EditorTree.findItemByObjectId(obj));
                    EditorTree.buildVisibleTree(true);
                    }
                }
            else
                group.delete();
        }