|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface for ILineTracker
. Adds the
concept of rewrite sessions. A rewrite session is a sequence of replace
operations that form a semantic unit.
Method Summary | |
---|---|
void |
startRewriteSession(DocumentRewriteSession session)
Tells the line tracker that a rewrite session started. |
void |
stopRewriteSession(DocumentRewriteSession session,
String text)
Tells the line tracker that the rewrite session has finished. |
Method Detail |
public void startRewriteSession(DocumentRewriteSession session) throws IllegalStateException
session
- the rewrite session
IllegalStateException
- in case there is already an active rewrite
sessionpublic void stopRewriteSession(DocumentRewriteSession session, String text)
startRewriteSession
has been called
before. The text resulting from the rewrite session is passed to the line
tracker.
session
- the rewrite sessiontext
- the text with which to re-initialize the line tracker
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.