public StartNodeControl(ExperimentNode node, ApplicationContext applicationContext) : base(node, applicationContext)
 {
     PaddingLeft = 5.0;
     PaddingTop = 5.0;
     PaddingRight = 5.0;
     PaddingBottom = 5.0;
     m_newConnectionHandle = new NewConnectionHandle (this, applicationContext, new QuickActionLocator (15, 0.5, QuickActionPosition.Right));
 }
Example #2
0
 public StartNodeControl(ExperimentNode node, ApplicationContext applicationContext) : base(node, applicationContext)
 {
     PaddingLeft           = 5.0;
     PaddingTop            = 5.0;
     PaddingRight          = 5.0;
     PaddingBottom         = 5.0;
     m_newConnectionHandle = new NewConnectionHandle(this, applicationContext, new QuickActionLocator(15, 0.5, QuickActionPosition.Right));
 }
Example #3
0
        public NodeControlButtons(BasicNodeControl ownerControl, ApplicationContext applicationContext)
        {
            //first column with icons
            m_newConnectionHandle = new NewConnectionHandle(ownerControl, applicationContext, new QuickActionLocator(15, 0, QuickActionPosition.Right));
            m_infoHandle          = new PixToggleButtonHandle(ownerControl, new QuickActionLocator(15, 0.8, QuickActionPosition.Right),
                                                              s_infoIcon, s_infoOnIcon);

            //second column with icons
            m_removeHandle = new RemoveNodeHandle(ownerControl, new QuickActionLocator(35, 0, QuickActionPosition.Right));
        }
        public NodeControlButtons(BasicNodeControl ownerControl, ApplicationContext applicationContext)
        {
            //first column with icons
            m_newConnectionHandle = new NewConnectionHandle (ownerControl, applicationContext, new QuickActionLocator (15, 0, QuickActionPosition.Right));
            m_infoHandle = new PixToggleButtonHandle (ownerControl, new QuickActionLocator (15, 0.8, QuickActionPosition.Right),
                                              s_infoIcon, s_infoOnIcon);

            //second column with icons
            m_removeHandle = new RemoveNodeHandle (ownerControl, new QuickActionLocator (35, 0, QuickActionPosition.Right));
        }
Example #5
0
        public NodeControlButtons(BasicNodeControl ownerControl, ApplicationContext applicationContext)
        {
            //first column with icons
            m_newConnectionHandle = new NewConnectionHandle (ownerControl, applicationContext, new QuickActionLocator (15, 0, QuickActionPosition.Right));
 
            // HERZUM SPRINT 5.0: TLAB-230
            // HERZUM SPRINT 5.1: TLAB-230
            if (ownerControl is ScopeNodeControl || ownerControl is CommentNodeControl)
                m_infoHandle = new PixToggleButtonHandle (ownerControl, new QuickActionLocator (15, 0.12, QuickActionPosition.Right),
                                                          s_infoIcon, s_infoOnIcon);
            else
                m_infoHandle = new PixToggleButtonHandle (ownerControl, new QuickActionLocator (15, 0.8, QuickActionPosition.Right),
                                                          s_infoIcon, s_infoOnIcon);
            // END HERZUM SPRINT 5.1: TLAB-230
            // END HERZUM SPRINT 5.0: TLAB-230


            //second column with icons
            m_removeHandle = new RemoveNodeHandle (ownerControl, new QuickActionLocator (35, 0, QuickActionPosition.Right));
        }
Example #6
0
        public NodeControlButtons(BasicNodeControl ownerControl, ApplicationContext applicationContext)
        {
            //first column with icons
            m_newConnectionHandle = new NewConnectionHandle(ownerControl, applicationContext, new QuickActionLocator(15, 0, QuickActionPosition.Right));

            // HERZUM SPRINT 5.0: TLAB-230
            // HERZUM SPRINT 5.1: TLAB-230
            if (ownerControl is ScopeNodeControl || ownerControl is CommentNodeControl)
            {
                m_infoHandle = new PixToggleButtonHandle(ownerControl, new QuickActionLocator(15, 0.12, QuickActionPosition.Right),
                                                         s_infoIcon, s_infoOnIcon);
            }
            else
            {
                m_infoHandle = new PixToggleButtonHandle(ownerControl, new QuickActionLocator(15, 0.8, QuickActionPosition.Right),
                                                         s_infoIcon, s_infoOnIcon);
            }
            // END HERZUM SPRINT 5.1: TLAB-230
            // END HERZUM SPRINT 5.0: TLAB-230


            //second column with icons
            m_removeHandle = new RemoveNodeHandle(ownerControl, new QuickActionLocator(35, 0, QuickActionPosition.Right));
        }