Add container and child wells to pose tracker. Sets container.parent
        (slot) as pose tracker parent
18270
def add_container_to_pose_tracker(self, location, container: Container):
        
        self.poses = pose_tracker.add(
            self.poses,
            container,
            container.parent,
            pose_tracker.Point(*container._coordinates))

        for well in container:
            center_x, center_y, center_z = well.top()[1]
            offset_x, offset_y, offset_z = well._coordinates
            center_z = 0
            self.poses = pose_tracker.add(
                self.poses,
                well,
                container,
                pose_tracker.Point(
                    center_x + offset_x,
                    center_y + offset_y,
                    center_z + offset_z
                )
            )
52397
private void addAllEntries(Set s, com.ibm.wsspi.adaptable.module.Container dir) throws UnableToAdaptException {
        for(Entry entry : dir){
            String path = entry.getPath();
            com.ibm.wsspi.adaptable.module.Container possibleContainer = entry.adapt(com.ibm.wsspi.adaptable.module.Container.class);
            //If this container appears to be a directory then we need to add / to the path
            //If this container is a nested archive, then we add it as-is.
            if(possibleContainer != null && !possibleContainer.isRoot()) { 
                path = path + "/";
            }
            s.add(path);
        }
    }
814676
def add_child(self, child):
        
        if child.tag in self.contained_children:
            self.children.append(child)
        else:
            raise UNTLStructureException(
                'Invalid child "%s" for parent "%s"' % (
                    child.tag,
                    self.tag
                )
            )
418276
function Container(parent) {
      this.parent = parent;
      this.children = [];

      this.resolver = parent && parent.resolver || function() {};

      this.registry       = dictionary(parent ? parent.registry : null);
      this.cache          = dictionary(parent ? parent.cache : null);
      this.factoryCache   = dictionary(parent ? parent.factoryCache : null);
      this.resolveCache   = dictionary(parent ? parent.resolveCache : null);
      this.typeInjections = dictionary(parent ? parent.typeInjections : null);
      this.injections     = dictionary(null);
      this.normalizeCache = dictionary(null);

      this.factoryTypeInjections = dictionary(parent ? parent.factoryTypeInjections : null);
      this.factoryInjections     = dictionary(null);

      this._options     = dictionary(parent ? parent._options : null);
      this._typeOptions = dictionary(parent ? parent._typeOptions : null);
    }
1005261
public boolean addSubPanels(Container parent, int options)
    {
        parent.setLayout(new BoxLayout(parent, BoxLayout.X_AXIS));
        JScrollPane scroller = new JScrollPane(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED );
        scroller.setOpaque(false);
        scroller.getViewport().setOpaque(false);
        scroller.setPreferredSize(new Dimension(800, 400));
        scroller.setAlignmentX(LEFT_ALIGNMENT);
        scroller.setAlignmentY(TOP_ALIGNMENT);

        CalendarModel model = this.setupTestModel();

        ImageIcon backgroundImage = this.getBackgroundImage();	// Calendar panel is transparent, but this helps with rendering see-thru components 
        CalendarPanel panel = new CalendarPanel(model, true, backgroundImage);
        panel.setStatusListener(new TaskCalendarStatusHandler(this));
        
        scroller.setViewportView(panel);
        parent.add(scroller);
        return true;
    }
976819
function(name, parent) {
      
      this.name = name;
      this.parent = parent;
      
      // if the parent has a custom context the child should inherit it
      if (parent._context && (parent._context._id !== parent._id)) {
        
        this._context = parent._context;
        if (this.scenes) {
          _.each(this.scenes , function(scene) {
            scene.attach(scene.name, this);
          }, this);
        }
      }
      return this;
    }
317392
public void addChildComponent(final WicketField<?> parent)
	{
		if ((parent.getChildren() != null) && !parent.getChildren().isEmpty())
		{
			for (final SimpleTag iterable_element : parent.getChildren())
			{
				final WicketField<?> field = (WicketField<?>)iterable_element;
				final Component c = parent.getComponent();
				if (c instanceof MarkupContainer)
				{
					final MarkupContainer mc = (MarkupContainer)c;
					mc.add(field.getComponent());
				}
				addChildComponent(field);
			}
		}
	}
52774
def add(self, child):
        

        if isinstance(child, Action):
            self.add_action(child)
        else:
            raise ModelError('Unsupported child element')
498577
def add(self, *args):
        
        self.children.extend(args)
        bump_child_depth(self, self._depth)
        return self.children
1044103
function addToChildren(parent, key, descriptor) {

		var target,
		    i;

		if (!parent.children || !parent.children.length) {
			return;
		}

		for (i = 0; i < parent.children.length; i++) {
			target = parent.children[i];
			Object.defineProperty(target, key, descriptor);
			addToStaticChain(target, key, descriptor);
		}
	}
728594
def add_parent(self, id, pid, relation='subClassOf'):
        
        g = self.get_graph()
        g.add_edge(pid, id, pred=relation)
603477
void add(final WComponent component) {
		assertAddSupported(component);
		assertNotReparenting(component);

		if (!(this instanceof Container)) {
			throw new UnsupportedOperationException("Components can only be added to a container");
		}

		ComponentModel model = getOrCreateComponentModel();

		if (model.getChildren() == null) {
			model.setChildren(new ArrayList<WComponent>(1));
		}

		model.getChildren().add(component);

		if (isLocked()) {
			component.setLocked(true);
		}

		if (component instanceof AbstractWComponent) {
			((AbstractWComponent) component).getOrCreateComponentModel().setParent((Container) this);
			((AbstractWComponent) component).addNotify();
		}
	}
770655
def calibrate_container_with_instrument(self,
                                            container: Container,
                                            instrument,
                                            save: bool
                                            ):
        ''''''
        well = container[0]

        # Get the relative position of well with respect to instrument
        delta = pose_tracker.change_base(
            self.poses,
            src=instrument,
            dst=well
        )

        if fflags.calibrate_to_bottom():

            delta_x = delta[0]
            delta_y = delta[1]
            if 'tiprack' in container.get_type():
                delta_z = delta[2]
            else:
                delta_z = delta[2] + well.z_size()
        else:
            delta_x = delta[0]
            delta_y = delta[1]
            delta_z = delta[2]

        self.poses = self._calibrate_container_with_delta(
            self.poses,
            container,
            delta_x,
            delta_y,
            delta_z,
            save
        )

        self.max_deck_height.cache_clear()
1221055
public boolean addSubPanels(Container parent)
    {
        parent.setLayout(new BoxLayout(parent, BoxLayout.X_AXIS));
        JPanel topScreen = new JPanel();
        topScreen.setOpaque(false);
        topScreen.setLayout(new BoxLayout(topScreen, BoxLayout.Y_AXIS));
        m_taChatDialog = new JTextArea();
        m_taChatDialog.setOpaque(false);
        m_taChatDialog.setBorder(new LineBorder(Color.black));
        topScreen.add(m_taChatDialog);
        
        JPanel panelBottom = new JPanel();
        panelBottom.setOpaque(false);
        topScreen.add(panelBottom);
        
        panelBottom.setLayout(new BoxLayout(panelBottom, BoxLayout.X_AXIS));
        m_tfTextIn = new JTextField()
        {
            private static final long serialVersionUID = 1L;

            public Dimension getMaximumSize()
            {
                return new Dimension(super.getMaximumSize().width, this.getPreferredSize().height);
            }
        };
        panelBottom.add(m_tfTextIn);
        ImageIcon icon = this.getBaseApplet().loadImageIcon(SEND);
        String strText = this.getBaseApplet().getString(SEND);
        JButton button = new JButton(strText, icon);
        button.setOpaque(false);
        button.setName(SEND);
        panelBottom.add(button);
        button.addActionListener(this);
        
//        JScrollPane scrollpane = new JScrollPane(thinscreen);
        parent.add(topScreen);
        return true;
    }
285997
def add_child(self, child):
        
        assert child != self
        child.parent = self
        child.ranks = self.ranks
        child.index = self.index
        assert child.tax_id not in self.index
        self.index[child.tax_id] = child
        self.children.add(child)
549191
public void addScreenLabels(Container parent)
    {
        GridBagConstraints c = this.getGBConstraints();
        c.weightx = 0.0;                        // Minimum width to hold labels
        c.anchor = GridBagConstraints.NORTHEAST;    // Labels right justified
        c.gridx = 0;                            // Column 0
        c.gridy = GridBagConstraints.RELATIVE;  // Bump Row each time
        for (int iIndex = 0; ; iIndex++)
        {
            Converter converter = this.getFieldForScreen(iIndex);
            if (converter == SKIP_THIS_FIELD)
                continue;
            if (converter == null)
                break;
            this.addScreenLabel(parent, converter);
        }
    }
582640
def add_child(self, child):
        ''''''
        super(RootNode, self).add_child(child)
        child.attr_wrapper = self.attr_wrapper