Beispiel #1
0
 /// <summary>
 /// affiche les parametres d'allocation sur la vue
 /// </summary>
 /// <param name="allocationData"></param>
 public void DisplayAllocationData(CellPropertyAllocationData allocationData, bool readOnly = false)
 {
     thrawChange         = false;
     this.AllocationData = allocationData;
     if (allocationData != null)
     {
         this.TypeComboBox.SelectedItem = allocationData.type;
         this.RefMeasure = allocationData.measureRef;
         this.ShowInShorcut.IsChecked = allocationData.showGridInShortcut;
         this.ConsiderCell.IsChecked  = allocationData.considerCell;
     }
     else
     {
         this.TypeComboBox.SelectedItem = CellPropertyAllocationData.AllocationType.NoAllocation.ToString();
         this.OutputMeasure             = null;
         this.RefMeasure              = null;
         this.TemplateTextBox.Text    = "";
         this.SequenceTextBox.Text    = "1";
         this.ShowInShorcut.IsChecked = true;
         this.ConsiderCell.IsChecked  = true;
     }
     updateButtons();
     thrawChange = true;
 }
 public void DisplayAllocationData(CellPropertyAllocationData data)
 {
     this.AutomaticSourcingPanel.DisplayAllocationData(data);
 }
Beispiel #3
0
 public void DisplayAllocationData(CellPropertyAllocationData CellPropertyAllocationData)
 {
     this.ColumnPanel.DisplayAllocationData(CellPropertyAllocationData);
 }