01: package org.eclipse.pde.internal.core;
02:
03: import org.eclipse.pde.core.plugin.IPluginModelBase;
04:
05: public class ExtensionDeltaEvent implements IExtensionDeltaEvent {
06:
07: private IPluginModelBase[] added;
08: private IPluginModelBase[] changed;
09: private IPluginModelBase[] removed;
10: private int types;
11:
12: public ExtensionDeltaEvent(int types, IPluginModelBase[] added,
13: IPluginModelBase[] removed, IPluginModelBase[] changed) {
14: this .types = types;
15: this .added = added;
16: this .changed = changed;
17: this .removed = removed;
18: }
19:
20: public IPluginModelBase[] getAddedModels() {
21: return added;
22: }
23:
24: public IPluginModelBase[] getChangedModels() {
25: return changed;
26: }
27:
28: public IPluginModelBase[] getRemovedModels() {
29: return removed;
30: }
31:
32: public int getEventTypes() {
33: return types;
34: }
35:
36: }
|