Example #1
0
        /// <summary>
        /// Constructor that a derived class can use to provide additional customizations</summary>
        public CurveEditor(ICommandService commandService,
            IControlHostService controlHostService,
            IContextRegistry contextRegistry,
            CurveEditingControl curveEditingControl,
            ControlInfo controlInfo)
        {
            // The commandService parameter is currently unused 
            // but kept for backwards compatibility & potential future use

            m_controlHostService = controlHostService;
            m_contextRegistry = contextRegistry;
            m_curveEditorControl = curveEditingControl;
            m_controlInfo = controlInfo;
        }
Example #2
0
        public CurveEditor(ICommandService commandService,
            IControlHostService controlHostService,
            IContextRegistry contextRegistry)
        {
            // The commandService parameter is currently unused 
            // but kept for backwards compatibility & potential future use

            m_controlHostService = controlHostService;
            m_contextRegistry = contextRegistry;
            
            m_curveEditorControl = new CurveEditingControl();
            m_controlInfo = new ControlInfo(
                "Curve Editor".Localize(),
                "Edits selected object curves".Localize(),
                StandardControlGroup.Bottom);
        }
Example #3
0
        public CurveEditor(ICommandService commandService,
            IControlHostService controlHostService,
            IContextRegistry contextRegistry)
        {
            // The commandService parameter is currently unused 
            // but kept for backwards compatibility & potential future use

            m_controlHostService = controlHostService;
            m_contextRegistry = contextRegistry;
            
            m_curveEditorControl = new CurveEditingControl();
            m_controlInfo = new ControlInfo(
                "Curve Editor", //Is the ID in the layout. We'll localize DisplayName instead.
                "Edits selected object curves".Localize(),
                StandardControlGroup.Bottom)
            {
                DisplayName = "Curve Editor".Localize()
            };
        }