com.japisoft.editix.plugin
Class PluginContext

java.lang.Object
  extended by com.japisoft.editix.plugin.PluginContext

public class PluginContext
extends java.lang.Object

Version:
1.0
Author:
(c) 2003 JAPISoft / Alexandre Brillant

Constructor Summary
PluginContext(javax.swing.text.Document doc, int location, java.lang.String path)
           
 
Method Summary
 javax.swing.text.Document getDocument()
           
 int getLocation()
           
 java.lang.String getPath()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginContext

public PluginContext(javax.swing.text.Document doc,
                     int location,
                     java.lang.String path)
Method Detail

getDocument

public javax.swing.text.Document getDocument()
Returns:
the current document

getLocation

public int getLocation()
Returns:
the current document location

getPath

public java.lang.String getPath()
Returns:
the current document path