Beispiel #1
0
 public ReactiveDictionaryEditorPopupWindow(IElementEditor parent, ReactiveDictionary <T, U> rd)
 {
     this.parent = parent;
     this.rd     = rd;
     PK          = default(T);
     PV          = default(U);
 }
 public SimpleClassReactivePropertyEditorPopupWindow(IElementEditor parent, ReactiveProperty <T> rp)
 {
     this.parent = parent;
     this.rp     = rp;
     jsonStr     = JsonConvert.SerializeObject(rp.Value, Formatting.Indented);
     jsonStr_ori = jsonStr;
 }
Beispiel #3
0
 public void Setup()
 {
     _compositionRoot = TestHelper.GetCompositionRoot(TestHelper.WorldZeroPoint);
     _elementEditor   = _compositionRoot.GetService <IElementEditor>();
     _dataLoader      = _compositionRoot.GetService <IMapDataLoader>();
     _stylesheet      = _compositionRoot.GetService <Stylesheet>();
     _projection      = _compositionRoot.GetService <IProjection>();
 }
 public void Setup()
 {
     _compositionRoot = TestHelper.GetCompositionRoot(TestHelper.WorldZeroPoint,
         (container, _) => container.Register(Component.For<IElevationProvider>().Use<FlatElevationProvider>()));
     _elementEditor = _compositionRoot.GetService<IElementEditor>();
     _dataLoader = _compositionRoot.GetService<IMapDataLoader>();
     _stylesheet = _compositionRoot.GetService<Stylesheet>();
     _projection = _compositionRoot.GetService<IProjection>();
 }
 public void Setup()
 {
     _compositionRoot = TestHelper.GetCompositionRoot(TestHelper.WorldZeroPoint,
                                                      (container, _) => container.Register(Component.For <IElevationProvider>().Use <FlatElevationProvider>()));
     _elementEditor = _compositionRoot.GetService <IElementEditor>();
     _dataLoader    = _compositionRoot.GetService <IMapDataLoader>();
     _stylesheet    = _compositionRoot.GetService <Stylesheet>();
     _projection    = _compositionRoot.GetService <IProjection>();
 }
 public ReactiveCollectionEditorPopupWindow(IElementEditor parent, ReactiveCollection <T> rc)
 {
     this.parent = parent;
     this.rc     = rc;
     PE          = default(T);
 }