|
Class: BookmarkList
Object
|
+--Collection
|
+--SequenceableCollection
|
+--OrderedCollection
|
+--List
|
+--HierarchicalList
|
+--BookmarkList
- Package:
- stx:libtool
- Category:
- Interface-Bookmarks
- Version:
- rev:
1.14
date: 2019/07/31 15:47:30
- user: cg
- file: BookmarkList.st directory: libtool
- module: stx stc-classLibrary: libtool
accessing
-
forFileBrowser
-
-
forSystemBrowser
-
-
forWebBrowser
-
-
forWorkspace
-
accessing - defaults
-
defaultLabelForMyWorkspaces
-
-
defaultLabelForRecent
-
class initialization
-
initializeBrowserBookmarks
-
-
initializeFileBookmarks
-
-
initializeWebBookmarks
-
-
initializeWorkspaceBookmarks
-
WorkspaceBookmarks := nil.
BookmarkList initializeWorkspaceBookmarks.
instance creation
-
decodeFromLiteralArray: anArray
-
(comment from inherited method)
create & return a new instance from information encoded in anArray.
Redefined for faster creation.
-
new
-
return an initialized instance
-
readFrom: aStream onError: aBlock
-
(comment from inherited method)
read an object's printed representation from the argument, aStream
and return it (i.e. the stream should contain some representation of
the object which was created using #storeOn:).
The read object must be a kind of myself.
If it's not, the value of exceptionBlock is returned.
To get any object, use 'Object readFrom:...',
To get any number, use 'Number readFrom:...' and so on.
This is the reverse operation to 'storeOn:'.
WARNING: storeOn: does not handle circular references and multiple
references to the same object.
Use #storeBinary:/readBinaryFrom: for this.
-
readFromFile: aStringOrFilename
-
-
readFromFile: aStringOrFilename onError: aBlock
-
accessing
-
/ label
-
-
fileName
-
-
fileName: aString
-
-
myWorkspaces
-
BookmarkList forWorkspace myWorkspaces
collection protocol
-
add: item
-
(comment from inherited method)
add the argument, anObject to the end of the collection
Return the argument, anObject.
-
contains: anObject
-
(comment from inherited method)
evaluate aOneArgBlock for each of the receiver's elements
Return true and skip remaining elements, if aBlock ever returns true,
otherwise return false.
(#anySatisfy: is a better name, because #contains: is often misread as #includes by beginners)
-
remove: item ifAbsent: block
-
(comment from inherited method)
remove the first element which is equal to anObject;
if found, remove and return it;
if not, return the value from evaluating exceptionBlock.
Destructive: modifies the receiver.
Uses equality compare (=) to search for the element.
converting
-
asMenu
-
-
asMenuUsingBuilder: builderClass
-
-
literalArrayEncoding
-
(comment from inherited method)
encode myself as an array literal, from which a copy of the receiver
can be reconstructed with #decodeAsLiteralArray.
initialization
-
initialize
-
Invoked when a new instance is created.
loading & saving
-
save
-
-
saveOn: aStringOrFilename
-
visiting
-
acceptVisitor: aVisitor
-
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)
|