Esempio n. 1
0
 public TransformManagerDataControl(ExtElementRefDataControl extElemReferencedataControl)
 {
     this.extElemReferencedataControl = extElemReferencedataControl;
     this.extElemReference            = extElemReferencedataControl.getContent() as ExtElemReference;
     registerChanges      = false;
     this.positionManager = GuiMapPositionManagerFactory.Instance.CreateInstance(extElemReference.TransformManagerDescriptor, this);
     registerChanges      = true;
     extElemReferencedataControl.Subscribe(this);
 }
Esempio n. 2
0
 public ChangeTargetIdToolWithType(ExtElementRefDataControl data, string targetId) : base(data.extElemReference, targetId)
 {
     this.data             = data;
     this.newReferenceType = getReferenceType(targetId);
     this.oldReferenceType = data.type;
 }