//--------------------------------------------------------------------------------------------------

        public override void Start()
        {
            _Panel = PropertyPanel.CreatePanel <CircularArrayPropertyPanel>(Entity);
            InteractiveContext.Current.PropertyPanelManager?.AddPanel(_Panel, PropertyPanelSortingKey.Shapes);

            Entity.PropertyChanged += _Entity_PropertyChanged;

            _UpdateHints();
        }
Example #2
0
        //--------------------------------------------------------------------------------------------------

        public override void Start()
        {
            _Panel = PropertyPanel.CreatePanel <ImprintPropertyPanel>(Entity);
            InteractiveContext.Current.PropertyPanelManager?.AddPanel(_Panel, PropertyPanelSortingKey.Shapes);

            if (Entity.Sketch != null)
            {
                _SketchPanel = PropertyPanel.CreatePanel <SketchPropertyPanel>(Entity.Sketch);
                InteractiveContext.Current.PropertyPanelManager?.AddPanel(_SketchPanel, _Panel);
            }
        }
Example #3
0
        //--------------------------------------------------------------------------------------------------

        public override void Start()
        {
            _Panel = PropertyPanel.CreatePanel <PipePropertyPanel>(Entity);
            InteractiveContext.Current.PropertyPanelManager?.AddPanel(_Panel, PropertyPanelSortingKey.Shapes);

            if (Entity.Predecessor is Sketch sketch)
            {
                _SketchPanel = PropertyPanel.CreatePanel <SketchPropertyPanel>(sketch);
                InteractiveContext.Current.PropertyPanelManager?.AddPanel(_SketchPanel, _Panel);
            }
        }
Example #4
0
        //--------------------------------------------------------------------------------------------------

        public override void Start()
        {
            _Panel = PropertyPanel.CreatePanel <BodyPropertyPanel>(Entity);
            InteractiveContext.Current.PropertyPanelManager?.AddPanel(_Panel, PropertyPanelSortingKey.Body);

            _ShapePanel = PropertyPanel.CreatePanel <BodyShapePropertyPanel>(Entity);
            InteractiveContext.Current.PropertyPanelManager?.AddPanel(_ShapePanel, PropertyPanelSortingKey.BodyShape);

            _UpdateComponents();

            Entity.PropertyChanged          += _Body_PropertyChanged;
            InteractiveEntity.VisualChanged += _InteractiveEntity_VisualChanged;

            _UpdateGhost();
        }
Example #5
0
        //--------------------------------------------------------------------------------------------------

        void _InitInteractions()
        {
            if (_Panel == null)
            {
                _Panel = PropertyPanel.CreatePanel <SliceContourPropertyPanel>(this);
                InteractiveContext.Current.PropertyPanelManager?.AddPanel(_Panel, PropertyPanelSortingKey.Tools);
                InteractiveContext.Current.PropertyPanelManager?.HidePanels(PropertyPanelSortingKey.BodyShape, PropertyPanelSortingKey.Tools - 1);

                _SelectionContext = InteractiveContext.Current.WorkspaceController.Selection.OpenContext();

                _Component.PropertyChanged      += _Component_OnPropertyChanged;
                InteractiveEntity.VisualChanged += _InteractiveEntity_OnVisualChanged;
            }

            _UpdateReconstructed();
        }
 public override void Start()
 {
     _Panel = PropertyPanel.CreatePanel <RevolvePropertyPanel>(Entity);
     InteractiveContext.Current.PropertyPanelManager?.AddPanel(_Panel, PropertyPanelSortingKey.Shapes);
 }