encode.environment.HandlerExtension Class Reference

Inheritance diagram for encode.environment.HandlerExtension:

Inheritance graph
[legend]
Collaboration diagram for encode.environment.HandlerExtension:

Collaboration graph
[legend]
List of all members.

Public Member Functions

def __init__
def get_action
def supports_file
def open_file
def close_file

Detailed Description

File viewer or editor.

Definition at line 461 of file environment.py.


Member Function Documentation

def encode.environment.HandlerExtension.__init__ (   self  ) 

Reimplemented from encode.extension.Extension.

Reimplemented in encode.emacs.Handler, and encode.vim.Handler.

Definition at line 464 of file environment.py.

def encode.environment.HandlerExtension.close_file (   self,
  path 
)

Close the buffer associated with PATH if one exists.

Reimplemented in encode.emacs.Handler, and encode.vim.Handler.

Definition at line 483 of file environment.py.

def encode.environment.HandlerExtension.get_action (   self  ) 

Return a gtk.Action for opening files.

Reimplemented in encode.emacs.Handler, and encode.vim.Handler.

Definition at line 467 of file environment.py.

def encode.environment.HandlerExtension.open_file (   self,
  path,
  workdir = None,
  line = None 
)

Open file PATH for editing or bring the associated buffer to foreground if
   one exists.  Attempt to move the cursor to LINE if it's
   specified.  WORKDIR is the root of the project tree where
   PATH is located (it may be used to update the handler's
   state).

Reimplemented in encode.emacs.Handler, and encode.vim.Handler.

Definition at line 475 of file environment.py.

def encode.environment.HandlerExtension.supports_file (   self,
  path 
)

Return True if the file type of PATH is supported by this handler.

Reimplemented in encode.emacs.Handler, and encode.vim.Handler.

Definition at line 471 of file environment.py.


The documentation for this class was generated from the following file:
Generated on Thu Jan 18 09:47:50 2007 for Encode by  doxygen 1.4.7