| Trees | Indices | Help |
|
|---|
|
|
object --+
|
interface.Interface --+
|
iFinderProvider
Interface defining the capabilities of a provider to be usable by a Finder control. Every finder as a root, which is used as basis for listing urls.
Besides its function to provide sub-items for given urls, it is also used to store recently selected items on a given level of a url. This memory allows the finder to restore common portions of URLs accordingly.
The base implementation of the memorization feature already.
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Interface | |||
|---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Configuration | |||
|---|---|---|---|
memorize_urlItems = True
|
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
:return: list of string-like items which can be found at the given url.
If this url is combined with one of the returned items separated by a slash,
a valid url is formed, i.e. url/item
:param url: A given slash-separated url like base/subitem or '', which
requests items at the root of all urls
|
Given the url_item, as well as additional information such as its base
and its index inside of the url, this method encodes the item for presentation
in the user interface.
:param url_base: relative url at which the url_item resides. Is "" if url_index
is 0
:param url_index: index representing the position of the url_item within the
url
:param url_item: item which is to be formatted.
:return: string representing the formatted url.
|
Stores and associates a given url_index with a url_item. Makes the stored
item queryable by the ``storedUrlItemByIndex`` method
:param url_index: index from 0 to n, where 0 corresponds to the first item
in the url
:param url_item: the string item to store at the given index
|
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:15 2011 | http://epydoc.sourceforge.net |