encode.emacs.Handler Class Reference

Handler. More...

Inheritance diagram for encode.emacs.Handler:

Inheritance graph
[legend]
Collaboration diagram for encode.emacs.Handler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

def __init__
def set_command
def get_action
def get_view
def eval
def supports_file
def handle_file
def open_file
def close_file
def cleanup

Public Attributes

 action
 executor
 command

Static Public Attributes

string command = 'emacsclient'

Detailed Description

Handler.

Definition at line 28 of file emacs.py.


Member Function Documentation

def encode.emacs.Handler.__init__ (   self  ) 

Reimplemented from encode.environment.HandlerExtension.

Definition at line 31 of file emacs.py.

def encode.emacs.Handler.cleanup (   self  ) 

Definition at line 99 of file emacs.py.

def encode.emacs.Handler.close_file (   self,
  path 
)

Close the buffer associated with PATH if one exists.

Reimplemented from encode.environment.HandlerExtension.

Definition at line 90 of file emacs.py.

def encode.emacs.Handler.eval (   self,
  view,
  expr 
)

Definition at line 55 of file emacs.py.

def encode.emacs.Handler.get_action (   self  ) 

Return a gtk.Action for opening files.

Reimplemented from encode.environment.HandlerExtension.

Definition at line 45 of file emacs.py.

def encode.emacs.Handler.get_view (   self  ) 

Definition at line 48 of file emacs.py.

def encode.emacs.Handler.handle_file (   self,
  path 
)

Definition at line 65 of file emacs.py.

def encode.emacs.Handler.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 from encode.environment.HandlerExtension.

Definition at line 68 of file emacs.py.

def encode.emacs.Handler.set_command (   self,
  command 
)

Definition at line 42 of file emacs.py.

def encode.emacs.Handler.supports_file (   self,
  path 
)

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

Reimplemented from encode.environment.HandlerExtension.

Definition at line 61 of file emacs.py.


Member Data Documentation

encode.emacs.Handler.action

Definition at line 37 of file emacs.py.

encode.emacs.Handler.command

Definition at line 43 of file emacs.py.

string encode.emacs.Handler.command = 'emacsclient' [static]

Definition at line 29 of file emacs.py.

encode.emacs.Handler.executor

Definition at line 40 of file emacs.py.


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