|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LightWeightParsingControl
Light-weight parsing control.
Method Summary | |
---|---|
void |
addListener(LightWeightParsingListener l)
Add the listener to this controller. |
void |
delay()
Delay the next update. |
String |
getEnclosingClassName(OpenDefinitionsDocument doc)
Return the last enclosing class name for the specified document, "" if not inside a class, or null if unknown. |
List<LightWeightParsingListener> |
getListeners()
|
void |
removeAllListeners()
Remove all listeners from this controller. |
void |
removeListener(LightWeightParsingListener l)
Remove the listener from this controller. |
void |
reset()
Reset light-weight parsing. |
void |
setAutomaticUpdates(boolean b)
Start or stop automatic updates. |
void |
update(OpenDefinitionsDocument doc)
Perform light-weight parsing on the document if the delay has been exceeded. |
Method Detail |
---|
void update(OpenDefinitionsDocument doc)
doc
- the document to parse.void delay()
void setAutomaticUpdates(boolean b)
b
- true
to start or false
to stop automatic updatesvoid reset()
String getEnclosingClassName(OpenDefinitionsDocument doc)
doc
- the document for which we want the information
void addListener(LightWeightParsingListener l)
l
- listener to addvoid removeListener(LightWeightParsingListener l)
void removeAllListeners()
List<LightWeightParsingListener> getListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |