1 package org.ximtec.igesture.tool.core;
2
3 import javax.swing.tree.TreePath;
4
5 public abstract class TreePathAction extends LocateableAction {
6
7 private TreePath treePath;
8 private Controller controller;
9
10 public TreePathAction(String key, Controller controller, TreePath treePath){
11 super(key, controller.getLocator());
12 this.treePath = treePath;
13 this.controller = controller;
14 }
15
16 protected void setTreePath(TreePath treePath){
17 this.treePath = treePath;
18 }
19
20 public TreePath getTreePath(){
21 return treePath;
22 }
23
24 protected Controller getController(){
25 return controller;
26 }
27
28
29 }