//(c): Matti Katila package org.fenfire.view; import com.hp.hpl.mesa.rdf.jena.model.*; /** XXX *mudyc* doesn't need other ViewContext things. * If you need prove it to mudyc. * @see NodeView, DefaultNodeView */ public interface ViewContext { String rcsid = "$Id: ViewContext.java,v 1.1 2003/04/08 14:56:52 mudyc Exp $"; /** Get the accursed node. */ RDFNode getAccursed(); /** Set the accursed node */ void setAccursed(RDFNode node); /** Get the offset of the line cursor on a given node, if any. * If no line cursor should be rendered on the given node, * return -1. */ int getCursorOffset(RDFNode node); }