public ObjectAddCommand(ObjectLayer source, List <ObjectInstance> objects, ObjectSelectionManager selectionManager) : this(source, selectionManager) { foreach (ObjectInstance inst in objects) { _objects.Add(inst); } }
public ObjectSelectTool(ILayerContext layerContext, ObjectLayer layer, Size gridSize, ObjectSelectionManager selectionManager) : base(layerContext, layer, gridSize) { _annots = layerContext.Annotations; _viewport = layerContext.Geometry; _selectionManager = selectionManager; _layerContext = layerContext; InitializeCommandManager(); _state = new SelectionStandbyToolState(this); }
public ObjectLayerPresenter(ILayerContext layerContext, ObjectLayer layer) : base(layerContext, layer) { _layer = layer; _selectionManager = new ObjectSelectionManager() { Layer = layer, History = layerContext.History, Annotations = layerContext.Annotations, }; _selectionManager.SelectionChanged += SelectionChanged; InitializeCommandManager(); SetCurrentTool(NewSelectTool()); }
public ObjectMoveCommand(ObjectSelectionManager selectionManager) : base(selectionManager) { _objects = new List<ObjectRecord>(); }
public ObjectLayerCommand(ObjectSelectionManager selectionManager) { _selectionManager = selectionManager; }
public ObjectAddCommand(ObjectLayer source, List<ObjectInstance> objects, ObjectSelectionManager selectionManager) : this(source, selectionManager) { foreach (ObjectInstance inst in objects) _objects.Add(inst); }
public ObjectAddCommand(ObjectLayer source, ObjectInstance inst, ObjectSelectionManager selectionManager) : this(source, selectionManager) { _objects.Add(inst); }
public ObjectAddCommand(ObjectLayer source, ObjectSelectionManager selectionManager) : base(selectionManager) { _objectSource = source; _objects = new List<ObjectInstance>(); }
public ObjectMoveCommand(ObjectSelectionManager selectionManager) : base(selectionManager) { _objects = new List <ObjectRecord>(); }
public ObjectRemoveCommand(ObjectLayer source, ObjectSelectionManager selectionManager) : base(selectionManager) { _objectSource = source; _objects = new List <ObjectInstance>(); }