Exemple #1
0
 public void ReInit(SecurityRecord record, GUI_SecurityRecords recordsTab)
 {
     if (record == null)
     {
         Logger.Log("SecurityRecordItem: no record found, not doing init", Category.NetUI);
         return;
     }
     securityRecord                  = record;
     securityRecordsTab              = recordsTab;
     recordNameText.SetValue         = record.EntryName;
     recordIdText.SetValue           = record.ID;
     recordRankText.SetValue         = record.Rank;
     recordFingerprintsText.SetValue = record.Fingerprints;
     recordStatusText.SetValue       = record.Status.ToString();
     recordBgColor.SetValue          = GetStatusColor(record.Status);
 }
 public void OnOpen(GUI_SecurityRecords recordsTab)
 {
     securityRecordsTab = recordsTab;
     ResetList();
     UpdateTab();
 }
Exemple #3
0
 public void OnOpen(SecurityRecord recordToOpen, GUI_SecurityRecords recordsTab)
 {
     record             = recordToOpen;
     securityRecordsTab = recordsTab;
     UpdateEntry();
 }