SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Static Public Member Functions | Static Public Attributes | Properties | Events | Private Member Functions | Private Attributes | List of all members
SeciControls.NavBar Class Reference

Interaction logic for NavBar.xaml More...

Inheritance diagram for SeciControls.NavBar:
Inheritance graph
Collaboration diagram for SeciControls.NavBar:
Collaboration graph

Public Member Functions

void DeselectSelectedItem ()
 
List< KeyValuePair< String,
String > > 
GetButtonOrderAndNames ()
 
void HideScriptingTab ()
 
 NavBar ()
 
void SetButtonOrderAndNames (List< KeyValuePair< String, String >> order)
 
void SetErrorCounter (int numErrors, int numQuestions)
 
void SetTabsVisibility (Boolean manager)
 

Static Public Member Functions

static Boolean GetIsBigFonts (UIElement element)
 
static void SetIsBigFonts (UIElement element, Boolean value)
 

Static Public Attributes

static readonly DependencyProperty IsBigFontsProperty
 

Properties

Boolean DaeVisibleForUser [get, set]
 
Boolean GraphsAvailable [get, set]
 
Boolean JournelViewerVisible [get, set]
 
Boolean LostTimeVisible [get, set]
 
Boolean SettingsVisible [get, set]
 
Boolean TwoGeniesAvailable [get, set]
 
Boolean UserCanEditVISettings [get, set]
 
Boolean VisVisibleForUser [get, set]
 

Events

EventHandler OnAddVIClicked
 
EventHandler OnAdvancedClicked
 
EventHandler OnBeamStatusClicked
 
EventHandler OnConfigureBlocksClicked
 
EventHandler OnConfigureVIClicked
 
EventHandler OnDaeClicked
 
EventHandler OnDisplayBlocksClicked
 
EventHandler OnEditTabsClicked
 
EventHandler OnExperimentDetailsClicked
 
EventHandler OnGraphsClicked
 
EventHandler OnHelpClicked
 
EventHandler OnIsisMessagesClicked
 
EventHandler OnJournalViewerClicked
 
EventHandler OnLostTimeClicked
 
EventHandler OnOpenGenieClicked
 
EventHandler OnRemoveVIClicked
 
EventHandler OnReportProblemClicked
 
EventHandler OnSettingsClicked
 
EventHandler OnSystemMessagesClicked
 
EventHandler OnVIsClicked
 

Private Member Functions

void btnAdvanced_Click (object sender, RoutedEventArgs e)
 
void btnBeam_Click (object sender, RoutedEventArgs e)
 
void btnDae_Click (object sender, RoutedEventArgs e)
 
void btnGraph_Click (object sender, RoutedEventArgs e)
 
void btnHelp_Click (object sender, RoutedEventArgs e)
 
void btnISIS_Click (object sender, RoutedEventArgs e)
 
void btnJournal_Click (object sender, RoutedEventArgs e)
 
void btnLabview_OnAddVIClicked (object sender, EventArgs e)
 
void btnLabview_OnConfigureBlocksClicked (object sender, EventArgs e)
 
void btnLabview_OnConfigureVIClicked (object sender, EventArgs e)
 
void btnLabview_OnDisplayBlocksClicked (object sender, EventArgs e)
 
void btnLabview_OnEditTabsClicked (object sender, EventArgs e)
 
void btnLabview_OnRemoveVIClicked (object sender, EventArgs e)
 
void btnLabview_OnVIsClicked (object sender, EventArgs e)
 
void btnLostTime_Click (object sender, RoutedEventArgs e)
 
void btnOpenGenie_Click (object sender, RoutedEventArgs e)
 
void btnReport_Click (object sender, RoutedEventArgs e)
 
void btnSettings_Click (object sender, RoutedEventArgs e)
 
void btnSystem_Click (object sender, RoutedEventArgs e)
 
void btnUserDetails_Click (object sender, RoutedEventArgs e)
 
void setIndicator (object sender)
 

Private Attributes

Boolean _daeVisibleForUser = true
 
Boolean _graphsAvailable = false
 
Boolean _journelViewerVisible = false
 
NavBarButton _lastSelected
 
Boolean _lostTimeVisible = true
 
Boolean _settingsVisible = false
 
Boolean _twoGeniesAvailable = false
 
Boolean _userCanEditVISettings = true
 
Boolean _visVisibleForUser = true
 

Detailed Description

Interaction logic for NavBar.xaml

Definition at line 20 of file NavBar.xaml.cs.

Constructor & Destructor Documentation

SeciControls.NavBar.NavBar ( )
inline

Member Function Documentation

void SeciControls.NavBar.btnAdvanced_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 254 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnAdvancedClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnBeam_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 296 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnBeamStatusClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnDae_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 212 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnDaeClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnGraph_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 226 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnGraphsClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnHelp_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 352 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnHelpClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnISIS_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 310 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnIsisMessagesClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnJournal_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 268 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnJournalViewerClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnLabview_OnAddVIClicked ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 146 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnAddVIClicked.

Referenced by SeciControls.NavBar.NavBar().

void SeciControls.NavBar.btnLabview_OnConfigureBlocksClicked ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 178 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnConfigureBlocksClicked.

Referenced by SeciControls.NavBar.NavBar().

void SeciControls.NavBar.btnLabview_OnConfigureVIClicked ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 162 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnConfigureVIClicked.

Referenced by SeciControls.NavBar.NavBar().

void SeciControls.NavBar.btnLabview_OnDisplayBlocksClicked ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 186 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnDisplayBlocksClicked.

Referenced by SeciControls.NavBar.NavBar().

void SeciControls.NavBar.btnLabview_OnEditTabsClicked ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 170 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnEditTabsClicked.

Referenced by SeciControls.NavBar.NavBar().

void SeciControls.NavBar.btnLabview_OnRemoveVIClicked ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 154 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnRemoveVIClicked.

Referenced by SeciControls.NavBar.NavBar().

void SeciControls.NavBar.btnLabview_OnVIsClicked ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 136 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnVIsClicked, and SeciControls.NavBar.setIndicator().

Referenced by SeciControls.NavBar.NavBar().

Here is the call graph for this function:

void SeciControls.NavBar.btnLostTime_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 324 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnLostTimeClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnOpenGenie_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 198 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnOpenGenieClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnReport_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 338 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnReportProblemClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnSettings_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 240 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnSettingsClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnSystem_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 282 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnSystemMessagesClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.btnUserDetails_Click ( object  sender,
RoutedEventArgs  e 
)
inlineprivate

Definition at line 122 of file NavBar.xaml.cs.

References SeciControls.NavBar.OnExperimentDetailsClicked, and SeciControls.NavBar.setIndicator().

Here is the call graph for this function:

void SeciControls.NavBar.DeselectSelectedItem ( )
inline

Definition at line 447 of file NavBar.xaml.cs.

References SeciControls.NavBar._lastSelected.

List<KeyValuePair<String, String> > SeciControls.NavBar.GetButtonOrderAndNames ( )
inline

Definition at line 544 of file NavBar.xaml.cs.

static Boolean SeciControls.NavBar.GetIsBigFonts ( UIElement  element)
inlinestatic

Definition at line 113 of file NavBar.xaml.cs.

References SeciControls.NavBar.IsBigFontsProperty.

void SeciControls.NavBar.HideScriptingTab ( )
inline

Definition at line 565 of file NavBar.xaml.cs.

void SeciControls.NavBar.SetButtonOrderAndNames ( List< KeyValuePair< String, String >>  order)
inline

Definition at line 483 of file NavBar.xaml.cs.

void SeciControls.NavBar.SetErrorCounter ( int  numErrors,
int  numQuestions 
)
inline

Definition at line 455 of file NavBar.xaml.cs.

void SeciControls.NavBar.setIndicator ( object  sender)
inlineprivate
static void SeciControls.NavBar.SetIsBigFonts ( UIElement  element,
Boolean  value 
)
inlinestatic

Definition at line 108 of file NavBar.xaml.cs.

References SeciControls.NavBar.IsBigFontsProperty.

void SeciControls.NavBar.SetTabsVisibility ( Boolean  manager)
inline

Member Data Documentation

Boolean SeciControls.NavBar._daeVisibleForUser = true
private

Definition at line 23 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.SetTabsVisibility().

Boolean SeciControls.NavBar._graphsAvailable = false
private

Definition at line 27 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.SetTabsVisibility().

Boolean SeciControls.NavBar._journelViewerVisible = false
private

Definition at line 28 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.SetTabsVisibility().

NavBarButton SeciControls.NavBar._lastSelected
private
Boolean SeciControls.NavBar._lostTimeVisible = true
private

Definition at line 30 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.SetTabsVisibility().

Boolean SeciControls.NavBar._settingsVisible = false
private

Definition at line 29 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.SetTabsVisibility().

Boolean SeciControls.NavBar._twoGeniesAvailable = false
private

Definition at line 26 of file NavBar.xaml.cs.

Boolean SeciControls.NavBar._userCanEditVISettings = true
private

Definition at line 25 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.SetTabsVisibility().

Boolean SeciControls.NavBar._visVisibleForUser = true
private

Definition at line 24 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.SetTabsVisibility().

readonly DependencyProperty SeciControls.NavBar.IsBigFontsProperty
static
Initial value:
= DependencyProperty.RegisterAttached("IsBigFonts", typeof(Boolean),
typeof(NavBar), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits))

Definition at line 105 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.GetIsBigFonts(), and SeciControls.NavBar.SetIsBigFonts().

Property Documentation

Boolean SeciControls.NavBar.DaeVisibleForUser
getset

Definition at line 32 of file NavBar.xaml.cs.

Boolean SeciControls.NavBar.GraphsAvailable
getset

Definition at line 36 of file NavBar.xaml.cs.

Boolean SeciControls.NavBar.JournelViewerVisible
getset

Definition at line 37 of file NavBar.xaml.cs.

Boolean SeciControls.NavBar.LostTimeVisible
getset

Definition at line 39 of file NavBar.xaml.cs.

Boolean SeciControls.NavBar.SettingsVisible
getset

Definition at line 38 of file NavBar.xaml.cs.

Boolean SeciControls.NavBar.TwoGeniesAvailable
getset

Definition at line 35 of file NavBar.xaml.cs.

Boolean SeciControls.NavBar.UserCanEditVISettings
getset

Definition at line 34 of file NavBar.xaml.cs.

Boolean SeciControls.NavBar.VisVisibleForUser
getset

Definition at line 33 of file NavBar.xaml.cs.

Event Documentation

EventHandler SeciControls.NavBar.OnAddVIClicked

Definition at line 46 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnLabview_OnAddVIClicked().

EventHandler SeciControls.NavBar.OnAdvancedClicked

Definition at line 66 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnAdvanced_Click().

EventHandler SeciControls.NavBar.OnBeamStatusClicked

Definition at line 75 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnBeam_Click().

EventHandler SeciControls.NavBar.OnConfigureBlocksClicked
EventHandler SeciControls.NavBar.OnConfigureVIClicked

Definition at line 48 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnLabview_OnConfigureVIClicked().

EventHandler SeciControls.NavBar.OnDaeClicked

Definition at line 60 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnDae_Click().

EventHandler SeciControls.NavBar.OnDisplayBlocksClicked
EventHandler SeciControls.NavBar.OnEditTabsClicked

Definition at line 49 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnLabview_OnEditTabsClicked().

EventHandler SeciControls.NavBar.OnExperimentDetailsClicked

Definition at line 42 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnUserDetails_Click().

EventHandler SeciControls.NavBar.OnGraphsClicked

Definition at line 57 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnGraph_Click().

EventHandler SeciControls.NavBar.OnHelpClicked

Definition at line 87 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnHelp_Click().

EventHandler SeciControls.NavBar.OnIsisMessagesClicked

Definition at line 78 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnISIS_Click().

EventHandler SeciControls.NavBar.OnJournalViewerClicked

Definition at line 69 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnJournal_Click().

EventHandler SeciControls.NavBar.OnLostTimeClicked

Definition at line 84 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnLostTime_Click().

EventHandler SeciControls.NavBar.OnOpenGenieClicked

Definition at line 54 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnOpenGenie_Click().

EventHandler SeciControls.NavBar.OnRemoveVIClicked

Definition at line 47 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnLabview_OnRemoveVIClicked().

EventHandler SeciControls.NavBar.OnReportProblemClicked

Definition at line 81 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnReport_Click().

EventHandler SeciControls.NavBar.OnSettingsClicked

Definition at line 63 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnSettings_Click().

EventHandler SeciControls.NavBar.OnSystemMessagesClicked

Definition at line 72 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnSystem_Click().

EventHandler SeciControls.NavBar.OnVIsClicked

Definition at line 45 of file NavBar.xaml.cs.

Referenced by SeciControls.NavBar.btnLabview_OnVIsClicked().


The documentation for this class was generated from the following file: