public static void insert(Component pComponent, DisplayNode parent, DisplayNode kid, int index){
ActionMgr.addAction(new NodeInsert(pComponent, parent, kid, index));
}
public void performAction() {
if (this._component instanceof OutlineField) {
OutlineField of = (OutlineField)this._component;
of.getModel().insertNodeInto(kid, parent, index);
of.getTree().expandPath(new TreePath(of.getModel().getPathToRoot(parent)));
}else if (this._component instanceof JTree){
JTree jt = (JTree)this._component;
DefaultTreeModel tm = ((TreeViewModel)jt.getModel());
tm.insertNodeInto(kid, parent, index);