public void startEditing(GTreeNode node) {

		// we call this here, even though the JTree will do this for us, so that we will trigger
		// a load call before this task is run, in case lazy nodes are involved in this tree,
		// which must be loaded before we can edit
		expandPath(node.getParent());

		GTreeNode viewNode = getViewNode(node);
		if (viewNode == null) {
			startEditing(node.getParent(), node.getName());
			return;
		}

		runTask(new GTreeStartEditingTask(GTree.this, tree, viewNode));
	}
Requests that the node be edited. This operation is asynchronous.

@param node the node to edit
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java