Example #1
0
 public EnumsMenu(AutosarTreeViewControl AutosarTree, DataGrid grid, TextBox nameTextBox)
 {
     this.tree                     = AutosarTree;
     this.grid                     = grid;
     this.nameTextBox              = nameTextBox;
     this.nameTextBox.TextChanged += nameTextBox_TextChanged;
 }
 public ComplexDataTypeMenu(AutosarTreeViewControl autosarTree, DataGrid grid, TextBox nameTextBox)
 {
     this.grid                = grid;
     this.autosarTree         = autosarTree;
     this.nameTextBox         = nameTextBox;
     nameTextBox.TextChanged += nameTextBox_TextChanged;
 }
 public ClientServerInterfaceController(AutosarTreeViewControl AutosarTree, DataGrid grid, TextBox nameTextBox)
 {
     this.tree                     = AutosarTree;
     this.grid                     = grid;
     this.nameTextBox              = nameTextBox;
     this.nameTextBox.TextChanged += nameTextBox_TextChanged;
 }
 public CompositionInstanceController(AutosarTreeViewControl AutosarTree, TextBox CompositoinNameTextBox, DataGrid PortsGrid, Button AddPort_Button, TabItem compositionTab)
 {
     tree                                = AutosarTree;
     this.portsGrid                      = PortsGrid;
     this.compositionTab                 = compositionTab;
     compositoinNameTextBox              = CompositoinNameTextBox;
     compositoinNameTextBox.TextChanged += compositionNameTextBox_TextChanged;
     AddPort_Button.Click               += AddPortButtonClick;
 }
        public ArrayDataTypeController(AutosarTreeViewControl autosarTree, Button updateDataTypeButton, TextBox nameTextBox, TextBox arraySizeTextBox)
        {
            this.autosarTree          = autosarTree;
            this.nameTextBox          = nameTextBox;
            this.updateDataTypeButton = updateDataTypeButton;
            this.arraySizeTextBox     = arraySizeTextBox;

            updateDataTypeButton.Click   += updateDataTypeButton_Click;
            nameTextBox.TextChanged      += nameTextBox_TextChanged;
            arraySizeTextBox.TextChanged += arraySizeTextBox_TextChanged;
        }
Example #6
0
        public ComponentDefenitionController(AutosarTreeViewControl AutosarTree, TextBox ComponentDefenitionName_TextBox, DataGrid portsGrid, DataGrid runnablesGrid, CheckBox multipleInstantiation_CheckBox, Button AddPerInstanceField_Button, DataGrid PerInstanceGrid, DataGrid CDataGrid, Button AddCDataButton)
        {
            this.tree          = AutosarTree;
            this.portsGrid     = portsGrid;
            this.runnablesGrid = runnablesGrid;
            this.multipleInstantiation_CheckBox = multipleInstantiation_CheckBox;
            this.perInstanceGrid = PerInstanceGrid;
            this.componentDefenitionName_TextBox              = ComponentDefenitionName_TextBox;
            multipleInstantiation_CheckBox.Checked           += multipleInstantiation_CheckBox_Checked;
            multipleInstantiation_CheckBox.Unchecked         += multipleInstantiation_CheckBox_Unchecked;
            this.componentDefenitionName_TextBox.TextChanged += ComponentDefenitionName_TextBox_TextChanged;
            AddPerInstanceField_Button.Click += AddPerInstanceField_Button_Click;

            this.CDataGrid        = CDataGrid;
            AddCDataButton.Click += AddCDataButton_Click;
        }
Example #7
0
 public ConnectionLineController(AutosarTreeViewControl treeView)
 {
     this.treeView = treeView;
 }
 public ComponentPropertiesController(TextBox ComponentNameTextBox, TextBox ComponentDefenitionTextBox, DataGrid PerInstanceGrid, DataGrid CDataGrid, AutosarTreeViewControl treeView)
 {
     componentNameTextBox              = ComponentNameTextBox;
     componentNameTextBox.TextChanged += componentNameTextBox_TextChanged;
     componentDefenitionTextBox        = ComponentDefenitionTextBox;
     this.treeView   = treeView;
     perInstanceGrid = PerInstanceGrid;
     this.CDataGrid  = CDataGrid;
 }
 public AddObjectController(AutosarTreeViewControl treeView)
 {
     this.treeView = treeView;
 }