// register an libraryset for each deployment which is not a workspace
Iterator<WGADeployment> deployments = getDeployments().iterator();
while (deployments.hasNext()) {
WGADeployment deployment = deployments.next();
WGADeploymentLibrarySet librarySet = new WGADeploymentLibrarySet(deployment);
WGADesignerPlugin.getDefault().getLibrarySets().put(librarySet.getId(), librarySet);
}
ResourcesPlugin.getWorkspace().addResourceChangeListener(this, IResourceChangeEvent.PRE_BUILD|IResourceChangeEvent.PRE_DELETE);
}