addCircuit.setCreatefolders(true);
if(addCircuit.open() == IDialogConstants.OK_ID){
FBXCircuit circ = new FBXCircuit(addCircuit.getCircuitName(), addCircuit.getCircuitPath());
circ.setCreateFolders(addCircuit.isCreatefolders());
app.addChild(circ);
//now we have set it, refresh the tree?
applicationTree.refresh();
}