Package javax.help
Class UniteAppendMerge
- java.lang.Object
-
- javax.help.Merge
-
- javax.help.UniteAppendMerge
-
public class UniteAppendMerge extends Merge
Unite-append merge type
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.help.Merge
Merge.DefaultMergeFactory
-
-
Field Summary
-
Fields inherited from class javax.help.Merge
locale, slaveTopNode
-
-
Constructor Summary
Constructors Constructor Description UniteAppendMerge(NavigatorView master, NavigatorView slave)
Constructs UniteAppendMerge
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
mergeNodeChildren(javax.swing.tree.TreeNode node)
Merge Node Children.static void
mergeNodes(javax.swing.tree.TreeNode master, javax.swing.tree.TreeNode slave)
Merge Nodes.javax.swing.tree.TreeNode
processMerge(javax.swing.tree.TreeNode node)
Processes unite-append merge
-
-
-
Constructor Detail
-
UniteAppendMerge
public UniteAppendMerge(NavigatorView master, NavigatorView slave)
Constructs UniteAppendMerge- Parameters:
master
- The master NavigatorViewslave
- The slave NavigatorView
-
-
Method Detail
-
processMerge
public javax.swing.tree.TreeNode processMerge(javax.swing.tree.TreeNode node)
Processes unite-append merge- Specified by:
processMerge
in classMerge
- Parameters:
node
- The master node- Returns:
- Merged master node
-
mergeNodes
public static void mergeNodes(javax.swing.tree.TreeNode master, javax.swing.tree.TreeNode slave)
Merge Nodes. Merge two nodes according to the UniteAppend merging rules- Parameters:
masterNode
- The master node to merge withslaveNode
- The node to merge into the master
-
mergeNodeChildren
public static void mergeNodeChildren(javax.swing.tree.TreeNode node)
Merge Node Children. Merge the children of a node according to the UniteAppend merging.- Parameters:
node
- The parent node from which the children are merged
-
-