Exemple #1
0
        private void InstallComponents(GenericOperator op)
        {
            if (op.GetIcon() != null)
            {
                _graphSpaceController.InstallNewIcon(op);
            }

            if (!op.GetType().Equals((typeof(NewOperator))))
            {
                selectOperator(op);
            }
        }
Exemple #2
0
        public void selectOperator(GenericOperator go)
        {
            if (selectedOperator == go || go.GetType().Equals((typeof(NewOperator))))
            {
                return;
            }

            if (selectedOperator != null)
            {
                selectedOperator.setSelected(false);
            }
            go.setSelected(true);

            _visualizationSpaceController.InstallVisualization(go);

            selectedOperator = go;
        }