Definition at line 911 of file RotorBrowser.h. References AddCenterToHistory(), CheckKBN(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GoLeft(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GoTo(), ILOG_USER, KbBookmarkActiveCenter(), KbNavigateFork(), mActiveContext, mForkLastQueryShot, PublishContextMoved(), SwitchToContext(), and UpdateViewsToContext(). Referenced by KeyboardFunc(). 00912 { 00913 int l = 0, r = 0, v = 0, g = 0, q = 0, h = 0; 00914 00915 if ( 00916 (l = CheckKBN("FbBookmarkPositiveTimeBackward", c, state)) || 00917 (r = CheckKBN("FbBookmarkPositiveTimeForward", c, state)) || 00918 (v = CheckKBN("FbBookmarkPositiveVissemForward", c, state)) || 00919 (g = CheckKBN("FbBookmarkPositiveGaborForward", c, state)) || 00920 (q = CheckKBN("FbBookmarkPositiveQueryForward", c, state)) || 00921 (h = CheckKBN("FbBookmarkPositiveHistoryGoLast", c, state))) 00922 { 00923 KbBookmarkActiveCenter(true); 00924 } 00925 else if ( 00926 (l = CheckKBN("FbBookmarkNegativeTimeBackward", c, state)) || 00927 (r = CheckKBN("FbBookmarkNegativeTimeForward", c, state)) || 00928 (v = CheckKBN("FbBookmarkNegativeVissemForward", c, state)) || 00929 (g = CheckKBN("FbBookmarkNegativeGaborForward", c, state)) || 00930 (q = CheckKBN("FbBookmarkNegativeQueryForward", c, state)) || 00931 (h = CheckKBN("FbBookmarkNegativeHistoryGoLast", c, state))) 00932 { 00933 KbBookmarkActiveCenter(false); 00934 } 00935 else if ( 00936 (l = CheckKBN("FbTimeBackward", c, state)) || 00937 (r = CheckKBN("FbTimeForward", c, state)) || 00938 (v = CheckKBN("FbVissemForward", c, state)) || 00939 (g = CheckKBN("FbGaborForward", c, state)) || 00940 (q = CheckKBN("FbQueryForward", c, state)) || 00941 (h = CheckKBN("FbLastHistory", c, state))) 00942 {} 00943 00944 bool keySwallowed = true; 00945 if (l) 00946 KbNavigateFork("time",-1,"LEFT in TIME"); 00947 else if (r) 00948 KbNavigateFork("time",1,"RIGHT in TIME"); 00949 else if (g) 00950 KbNavigateFork("visual_vissemgabor",1,"NEXT in visually similar"); 00951 else if (v) 00952 KbNavigateFork("visual_vissem",1,"NEXT in conceptually similar"); 00953 else if (q) 00954 KbNavigateFork("shots_initialquery",1,"NEXT in QUERY"); 00955 else if (h) 00956 { 00957 ILOG_USER( "KB: ForkBrowser LAST in HISTORY" ); 00958 SwitchToContext("history"); 00959 mActiveContext->GoLeft(); 00960 UpdateViewsToContext(); 00961 PublishContextMoved(-1); 00962 } 00963 else if (CheckKBN("FbLastQueryShot", c, state)) 00964 { 00965 ILOG_USER("KB: ForkBrowser return to last shot selected from QUERY " 00966 << mForkLastQueryShot); 00967 // DoReturnToFirstQuery(); 00968 if (mForkLastQueryShot > -1) 00969 { 00970 SwitchToContext("shots_initialquery"); 00971 mActiveContext->GoTo(mForkLastQueryShot); 00972 AddCenterToHistory(); 00973 UpdateViewsToContext(); 00974 } 00975 } 00976 else 00977 keySwallowed = false; 00978 return keySwallowed; 00979 }
Here is the call graph for this function:
|