Ejemplo n.º 1
0
        public void Execute(object parameter)
        {
            JsdFileViewModel _jsdViewModel = (JsdFileViewModel)parameter;
            JsdStruct        _struct       = _jsdViewModel.SelectedStruct.Structure.Clone();

            _jsdViewModel.AddJsdStructure(_struct);
        }
Ejemplo n.º 2
0
        public void Execute(object parameter)
        {
            JsdFileViewModel _jsdViewModel = (JsdFileViewModel)parameter;
            JsdStruct        _struct       = new JsdStruct(_jsdViewModel.IsHighDefenition);

            _jsdViewModel.AddJsdStructure(_struct);
        }
Ejemplo n.º 3
0
        public void Execute(object parameter)
        {
            JsdFileViewModel   _viewModel      = (JsdFileViewModel)parameter;
            StructureViewModel _selectedStruct = _viewModel.SelectedStruct;
            JsdStruct          _rotatedStruct  = _selectedStruct.Structure.Clone();

            _rotatedStruct.Rotate(false);
            _viewModel.AddJsdStructure(_rotatedStruct);
        }