Class PluginContext

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

public class PluginContext
extends java.lang.Object
Version:
1.0
Author:
(c) 2003 JAPISoft / Alexandre Brillant
  • Constructor Summary

    Constructors 
    Constructor Description
    PluginContext​(javax.swing.text.Document doc, int location, java.lang.String path)  
  • Method Summary

    Modifier and Type Method Description
    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 Details

    • PluginContext

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

    • 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