I have an application that uses a TreeViewer object to display a NavigationView and I can't figure out how to refresh NavigationView when a new node is added to the tree. I am positive the new objects are being created but I am not 100% sure on if they are actually being added to the treeviewer since my initial tree was created using a hardcoded dummy model.

Here are the relevant methods( I believe)
Java Code:
	public void createPartControl(Composite parent) {
		createDummyModel();
		treeViewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
		treeViewer.setContentProvider(new ViewContentProvider());
		treeViewer.setLabelProvider(new ViewLabelProvider());
		treeViewer.setInput(createDummyModel());
        }

private TreeObject createDummyModel() {
        nov = new TreeParent("NOV");     
        serverGroup = new ServerGroup("Server");
        assetsGroup = new AssetsGroup("Assets");
        deploymentGroup = new DeploymentGroup("Deployments");
        buildGroup = new BuildGroup("Build");
        

    	Server server1 = new Server("Westchase");
        Asset asset1 = new Asset("Natoil");
        Deployment deployment1 = new Deployment("Natoil-DEV");
        Build build1 = new Build("Natoil-DEV");
        
    	target1 = new Target("DEV");
    	target2 = new Target("Stage");
    	target3 = new Target("Production");
    
        serverGroup.addChild(server1);
	ssetsGroup.addChild(asset1);
        deploymentGroup.addChild(deployment1);
        buildGroup.addChild(build1);

    	nov.addChild(serverGroup);
    	nov.addChild(assetsGroup);
    	nov.addChild(deploymentGroup);
        nov.addChild(buildGroup);
        return nov;
    }

	public void setFocus() {
		treeViewer.getControl().setFocus();
	}
I have a menu button set up to create a new object(server, asset, etc) and this works.
Java Code:
enter.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent event) {
				String newServerName = serverNameText.getText();
				Server newServer = new Server(newServerName);
			     views.NavigationView.serverGroup.addChild(newServer);
			        System.out.println("Server: "+newServerName);
				System.out.println("UNC: "+uncText.getText());
				//TODO add the NavigationView refresh interaction

			}
		});
I know I'm supposed to be using an event listener to trigger the refresh once the enter button is clicked for whatever new object is being created but I have no idea how to use one. Any help?