@Override
	int getComponentCount() {
		// we may be a single component or in a tabbed pane of components
		List<ComponentPlaceholder> activeComponents = new ArrayList<>();
		populateActiveComponents(activeComponents);
		return activeComponents.size();
	}
Removes the component from this node (and the manager), but possibly keeps an empty object as
a placeholder.
@param placeholder the placeholder object to be removed.
@param keepEmptyPlaceholder flag indicating to keep a placeholder object.
Ghidra/Framework/Docking/src/main/java/docking/ComponentNode.java