Adding tool tip to remind OCDB path syntax
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Oct 2008 20:19:32 +0000 (20:19 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Oct 2008 20:19:32 +0000 (20:19 +0000)
MUON/AliMUONPainterDataSourceFrame.cxx

index 87c1784..a8a2336 100644 (file)
@@ -184,7 +184,14 @@ AliMUONPainterDataSourceFrame::AliMUONPainterDataSourceFrame(const TGWindow* p,
                              "AliMUONPainterDataSourceFrame",
                              this,
                              "CreateOCDBDataSource()");
-    
+
+  const char* ocdbToolTip = "Use URL style for either alien or local OCDB (foo://bar). For example :\n"
+  "alien://folder=/alice/data.../OCDB\n"
+  "or\nlocal:///home/user/aliroot (mind the 3 slashes there !)";
+  
+  fRawOCDBPath->SetToolTipText(ocdbToolTip);
+  fOCDBPath->SetToolTipText(ocdbToolTip);
+  
     fOCDBSelector->AddFrame(fOCDBPath,new TGLayoutHints(kLHintsExpandX | kLHintsTop,5,5,5,5));    
     fOCDBSelector->AddFrame(fRunSelector,new TGLayoutHints(kLHintsTop,5,5,5,5));
     fOCDBSelector->AddFrame(fOCDBTypes,new TGLayoutHints(kLHintsExpandX | kLHintsTop,5,5,5,5));