D-11

v-1.4-5
---
1. EditAction::if (!isHtmlNode && !isLongNode && editLong)
	--> comment out
		==> n/c

2. showResult ==> show with dialog

	==> 0
D-11

v-1.4-6
---
1. EditAction::OptionalDontShowMeAgainDialog
	--> show()
		==> no dialog shown

2. see values: editHtml, a.o.
		==> all false

3. if statements --> passes?
		==> YES

4. textfield --> dialog "created"
		==> done
D-11

v-1.4-7
---
EditAction
1. textfield::public void ok
	==> new text shown in the dialog

2. new EditNodeTextField(node, text...
	--> "text": where from?
		==> node.getModel().toString()

3. node.getModel().toString() --> what value?
		==> "場"

4. node::NodeView --> where from?
		==> as a parameter(1st param of the 6 params)

5. edit(6 params)  --> who is the caller?
		==> EditAction.java::edit(3 params)

6. edit(3 params) --> node.getModel().toString() -> text obtained?
		==> YES
D-11

v-1.4-8
---
MindMapController.java

1. getView() --> return value?
		==> a method of ControllerAdapter.java
		==> an instance of MapView.java

2. MapView.getSelected() --> what it does

		==> return: NodeView

3. NodeView.java --> has method: getCreated_at or like?

		==> NO

4. MapView.getSelected() --> in the method, "selected" field
			--> where it gets built?

		==> instantiated in MapView: new Selected()

5. cl.Selected --> browse

		==> found method: size()

6. size() --> show value in the dialog

		==> 1 if 1 node selected
		==> x if x nodes are selected using the ctrl key
D-11

v-1.4-9
---
MapView.java

1. class:Selected.add() --> where used?

	==> in: selectAsTheOnlyOneSelected(NodeView newSelected)
		a.o.

2. debug: selectAsTheOnlyOneSelected(NodeView newSelected)

	==> 1. when starting the app
			--> 3 times for each map
		2. when moving the focus

3. selectAsTheOnlyOneSelected --> who's calling?

	==> 1. one is: NodeView.treeStructureChanged()

4. NodeView.treeStructureChanged()
			--> when calling?

	==> when fonding/undolding node trees

5. NodeView.treeStructureChanged() --> has: revalidate()
			--> what it does?

	==> javax.swing.JComponent.revalidate()
	==> in revalidate() using: SwingUtilities.isEventDispatchThread()
		--> value is: true

6. NodeView.treeStructureChanged() --> calls: invalidate()
			--> browse

	==> invalidate()::Container::super.Component

7. selectAsTheOnlyOneSelected --> other caller?

		==> treeNodesRemoved()
		==> ControllerAdapter.select(NodeView)

8. ControllerAdapter.select(NodeView)	--> What it does

	==> select node by cursor --> selectAsTheOnlyOneSelected
	==> by mouse --> select(NodeView) + *

9. ControllerAdapter.select(NodeView)	--> who's calling?

	==> MindMapController.extendSelection()?
		--> YES

10. MindMapController.extendSelection() --> browse

	==> has: NodeView newlySelectedNodeView

11. NodeView newlySelectedNodeView --> can get the text?

	==> YES: newlySelectedNodeView.getModel().toString()