void remove(ComponentPlaceholder placeholder, boolean keepEmptyPlaceholder) {
		if (placeholder.isActive()) {
			placeholder.show(false);
			if (top == placeholder) {
				top = null;
			}
			invalidate();
			winMgr.scheduleUpdate();
		}

		placeholder.setProvider(null);
		if (!keepEmptyPlaceholder) {
			doRemove(placeholder);
		}
	}
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