@Override
protected Integer doInBackground() throws IOException {
treeModel = profileForm.getTreeModel();
ProfileResultObserver myObserver = new ProfileResultObserver() {
@Override
public void onResult(ProfileResourceNode result) {
publish(result);
}
};