|
Class: NavigationHistory (in Tools)
Object
|
+--Tools::NavigationHistory
- Package:
- stx:libtool
- Category:
- Interface-Browsers-New-History
- Version:
- rev:
1.22
date: 2020/02/19 20:04:12
- user: cg
- file: Tools__NavigationHistory.st directory: libtool
- module: stx stc-classLibrary: libtool
two variants:
a forward-backward history, as in a browser:
navigating backward moves a pointer in a list
a global history
navigating moves the navigated item to the front position
hack: configurable to behave either as a global history
or as a local-tab navigation history.
Also implement backward compatible list-style access interface,
to support old browsers (I guess, this is temporary and the other
users of the global history (debugger, old systembrowser etc. should
be changed)
copyrightCOPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
instance creation
-
new
-
(comment from inherited method)
return an instance of myself without indexed variables
accessing
-
addFirst: anEntry
-
list protocol
-
addLast: anEntry
-
list protocol
-
currentItem
-
-
currentItem: anObject
-
-
goBackItems
-
isEmpty ifTrue:[items] ifFalse:[items copyFrom:2]
-
goForwardItems
-
-
maxItemsInHistory: aNumber
-
backward list compatibility
-
collect: aBlock
-
backward compatible list protocol
-
collect: aBlock thenSelect: filter
-
backward compatible list protocol
-
detect: aBlock ifNone: exceptionalValue
-
backward compatible list protocol
-
do: aBlock
-
backward compatible list protocol
-
first
-
backward compatible list protocol
-
isEmpty
-
backward compatible list protocol
-
isEmptyOrNil
-
backward compatible list protocol
-
notEmpty
-
backward compatible list protocol
-
notEmptyOrNil
-
backward compatible list protocol
-
removeAll
-
backward compatible list protocol
-
removeIdentical: anEntry
-
backward compatible list protocol
-
reverseDo: aBlock
-
backward compatible list protocol
initialization
-
beGlobalHistory
-
-
initialize
-
Invoked when a new instance is created.
Usage example(s):
super initialize. -- commented since inherited method does nothing
|
menu & menu actions
-
clearHistory
-
-
goBackMenu
-
-
goForwardMenu
-
navigation
-
goBack
-
-
goForward
-
-
goTo: navigationHistoryItem
-
already in list
queries
-
canGoBack
-
-
canGoForward
-
|