01: package net.refractions.udig.project.geoselection;
02:
03: public class GeoSelectionEntry implements IGeoSelectionEntry {
04:
05: private String context;
06:
07: private IGeoSelection selection;
08:
09: public GeoSelectionEntry(String context) {
10: this .context = context;
11: }
12:
13: public GeoSelectionEntry(String context, IGeoSelection selection) {
14: this .context = context;
15: this .selection = selection;
16: }
17:
18: public void setSelection(IGeoSelection selection) {
19: this .selection = selection;
20: }
21:
22: public String getContext() {
23: return context;
24: }
25:
26: public IGeoSelection getSelection() {
27: return selection;
28: }
29:
30: }
|