Package plugins :: Package ui :: Package bookmarks :: Module main :: Class XYZPlugin |
[hide private]
[frames] | no frames]

# Class XYZPlugin

source code

    libxyz.core.plugins.BasePlugin --+
                                     |
                                    XYZPlugin

Bookmarks - frequently used directories list

Instance Methods | [hide private]
__init__(self, xyz) | source code
add_bookmark(self, path, name=None) Add new bookmark entry If name is not specified, path is used instead | source code
del_bookmark(self, name) Delete saved bookmark entry by name | source code
get_path(self, name) Get bookmark path by name | source code
show_bookmarks(self) Show currently saved bookmarks and chdir to one of them if needed | source code
_load_data(self) Load and parse saved bookmarks from file | source code
_save_data(self, data) Save data to bookmarks file data is a mapping: {name: path} | source code

Class Variables | [hide private]
| NAME = `u"bookmarks"`
| AUTHOR = `u"Max E. Kuznecov <syhpoon@syhpoon.name>"`
| VERSION = `u"0.1"`
| BRIEF_DESCRIPTION = `u"Frequently used directories"`
| FULL_DESCRIPTION = `u""`
| NAMESPACE = `u"ui"`
| MIN_XYZ_VERSION = `None`
| DOC = `None`
| HOMEPAGE = `u"http://xyzcmd.syhpoon.name/"`