/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
*******************************************************************************/
package org.eclipse.core.internal.events;
import java.util.Map;
import org.eclipse.core.internal.resources.MarkerSet;
import org.eclipse.core.internal.resources.Workspace;
import org.eclipse.core.runtime.IPath;
public class ResourceDeltaInfo {
protected Workspace workspace;
protected Map<IPath, MarkerSet> allMarkerDeltas;
protected NodeIDMap nodeIDMap;
protected ResourceComparator comparator;
public ResourceDeltaInfo(Workspace workspace, Map<IPath, MarkerSet> markerDeltas, ResourceComparator comparator) {
super();
this.workspace = workspace;
this.allMarkerDeltas = markerDeltas;
this.comparator = comparator;
}
public ResourceComparator getComparator() {
return comparator;
}
/**
* Table of all marker deltas, IPath -> MarkerSet
*/
public Map<IPath, MarkerSet> getMarkerDeltas() {
return allMarkerDeltas;
}
public NodeIDMap getNodeIDMap() {
return nodeIDMap;
}
public Workspace getWorkspace() {
return workspace;
}
public void setMarkerDeltas(Map<IPath, MarkerSet> value) {
allMarkerDeltas = value;
}
public void setNodeIDMap(NodeIDMap map) {
nodeIDMap = map;
}
}