KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > internal > events > ResourceDeltaInfo


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.core.internal.events;
12
13 import java.util.Map JavaDoc;
14 import org.eclipse.core.internal.resources.Workspace;
15
16 public class ResourceDeltaInfo {
17     protected Workspace workspace;
18     protected Map JavaDoc allMarkerDeltas;
19     protected NodeIDMap nodeIDMap;
20     protected ResourceComparator comparator;
21
22     public ResourceDeltaInfo(Workspace workspace, Map JavaDoc markerDeltas, ResourceComparator comparator) {
23         super();
24         this.workspace = workspace;
25         this.allMarkerDeltas = markerDeltas;
26         this.comparator = comparator;
27     }
28
29     public ResourceComparator getComparator() {
30         return comparator;
31     }
32
33     /**
34      * Table of all marker deltas, IPath -> MarkerSet
35      */

36     public Map JavaDoc getMarkerDeltas() {
37         return allMarkerDeltas;
38     }
39
40     public NodeIDMap getNodeIDMap() {
41         return nodeIDMap;
42     }
43
44     public Workspace getWorkspace() {
45         return workspace;
46     }
47
48     public void setMarkerDeltas(Map JavaDoc value) {
49         allMarkerDeltas = value;
50     }
51
52     public void setNodeIDMap(NodeIDMap map) {
53         nodeIDMap = map;
54     }
55 }
56
Popular Tags