System.err.println(event.getDelta().getAffectedChildren()); try { event.getDelta().accept(new IResourceDeltaVisitor() { private AbstractAsset asset = null; public boolean visit(IResourceDelta delta) throws CoreException {    if (delta.getResource() instanceof IFile) { return false; } else if (delta.getResource() instanceof IProject) { IProject p = (IProject) delta.getResource(); if (KoboldProject.hasKoboldNature(p)) { asset = ((KoboldProject) p.getNature(KoboldProject.NATURE_ID)).getProductline(); } return true; } else { if (asset != null) { List assets; } return true; }  } }); } catch (CoreException e) { e.printStackTrace(); }
	public void resourceChanged(IResourceChangeEvent event) {		System.err.println(event.getDelta().getAffectedChildren());	    try {            event.getDelta().accept(new IResourceDeltaVisitor() {                private AbstractAsset asset = null;                public boolean visit(IResourceDelta delta) throws CoreException                {                    //TODO: remember project, find assets for directory and                     // continue if next token is a IFolder. then refresh filedescs                    // for the given asset.                    if (delta.getResource() instanceof IFile) {                        return false;                    } else if (delta.getResource() instanceof IProject) {                        IProject p = (IProject) delta.getResource();                        if (KoboldProject.hasKoboldNature(p)) {                            asset = ((KoboldProject) p.getNature(KoboldProject.NATURE_ID)).getProductline();                        }                        return true;                    } else {                        if (asset != null) {                            List assets;                        }                        return true;                    }                }            });        } catch (CoreException e) {            e.printStackTrace();        }			    viewer.getControl().getDisplay().syncExec(new Runnable() {					public void run() {						viewer.refresh();			}		});	}