//Show the edit FBXApplication dialog
FBXApplication app = (FBXApplication)obj;
EditApplicationDialog editApp = new EditApplicationDialog(applicationTree.getControl().getShell());
editApp.setAppNameValue(app.getName());
if(editApp.open() == IDialogConstants.OK_ID){
app.setName(editApp.getAppNameValue());
//now we have set it, refresh the tree?
applicationTree.refresh();
}
}