_title=title;
}
@Override
public void actionPerformed(ActionEvent e) {
PrimitiveDialog d=new PrimitiveDialog(
javax.swing.SwingUtilities.getWindowAncestor( getNode().getTree()),
getLocation(),
_primitiveClass, _title);
Primitive n=d.getResult();
if(n!=null){
GroupNode gn=(GroupNode)getNode();
gn.addChild(n);
AddEdit ae=new AddEdit(gn, n, null);