eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'BookmarkList':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: BookmarkList


Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--OrderedCollection
            |
            +--List
               |
               +--HierarchicalList
                  |
                  +--BookmarkList

Package:
stx:libtool
Category:
Interface-Bookmarks
Version:
rev: 1.13 date: 2017/11/28 18:18:23
user: cg
file: BookmarkList.st directory: libtool
module: stx stc-classLibrary: libtool

Class protocol:

accessing
o  forFileBrowser

o  forSystemBrowser

o  forWebBrowser

o  forWorkspace

accessing - defaults
o  defaultLabelForMyWorkspaces

o  defaultLabelForRecent

class initialization
o  initializeBrowserBookmarks

o  initializeFileBookmarks

o  initializeWebBookmarks

o  initializeWorkspaceBookmarks
WorkspaceBookmarks := nil.
BookmarkList initializeWorkspaceBookmarks.

instance creation
o  decodeFromLiteralArray: anArray
(comment from inherited method)
create & return a new instance from information encoded in anArray.
Redefined for faster creation.

o  new
return an initialized instance

o  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.

o  readFromFile: aStringOrFilename

o  readFromFile: aStringOrFilename onError: aBlock


Instance protocol:

accessing
o  / label

o  fileName

o  fileName: aString

o  myWorkspaces
BookmarkList forWorkspace myWorkspaces

change & update
o  changed: aParameter with: anArgument
self save.

collection protocol
o  add: item
(comment from inherited method)
add the argument, anObject to the end of the collection
Return the argument, anObject.

o  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)

o  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
o  asMenu

o  asMenuUsingBuilder: builderClass

o  literalArrayEncoding
(comment from inherited method)
encode myself as an array literal, from which a copy of the receiver
can be reconstructed with #decodeAsLiteralArray.

initialization
o  initialize
Invoked when a new instance is created.

loading & saving
o  save

o  saveOn: aStringOrFilename

visiting
o  acceptVisitor: aVisitor
Double dispatch back to the visitor, passing my type encoded in
the selector (visitor pattern)



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 19 Nov 2018 22:30:17 GMT