Beispiel #1
0
 internal void loadData(Poi poi)
 {
     if (poi.isDataFree())
     {
         this.poiMapperHdd.loadData(poi, getPoiSubDir(poi, this.currentNamedArea));
     }
 }
Beispiel #2
0
 public void preview(Poi poi)
 {
     cleanPreview();
     if (poi.isMediaFree() || poi.isDataFree())
     {
         this.poiRepository.load(poi);
     }
     this.currentPoi = poi;
     this.freeY      = FREE_Y_DEFAULT;
     updatePreview();
     this.tabControl.SelectedIndex = 1;
     //if (!this.Visible)
     this.Visible = true;
 }
Beispiel #3
0
 internal void put(Poi p, NamedArea namedArea)
 {
     if (this.pois == null)
     {
         this.pois = new List <Poi>();
     }
     if (!p.isDataFree())
     {
         this.poiMapperHdd.save(p, getPoiSubDir(p, namedArea));
         p.free();
         //if (!this.pois.Contains(p))
         //{
         this.pois.Add(p);
         //}
     }
 }