public abstract class AbstractPathTreeNodeUpdater extends PathTreeNodeSelector implements Executable
Path
in the PathTree
. The isExpand flag stores the
current expansion state in the tree and ensures that the node will be re-expanded after being updated.Constructor and Description |
---|
AbstractPathTreeNodeUpdater(PathTree tree,
java.nio.file.Path path,
ChangeType changeType,
boolean isExpand) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Contains the code to be executed.
|
protected abstract void |
updatePath(java.nio.file.Path path) |
getModel, getPath, treeNodesChanged, treeNodesInserted, treeNodesRemoved
deregister, handleEvent, treeStructureChanged
public AbstractPathTreeNodeUpdater(PathTree tree, java.nio.file.Path path, ChangeType changeType, boolean isExpand)
public final void execute() throws java.lang.Exception
Executable
execute
in interface Executable
java.lang.Exception
protected abstract void updatePath(java.nio.file.Path path) throws java.lang.Exception
java.lang.Exception
Copyright © 2014 EsprIT-Systems. All Rights Reserved.