|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILptsCodeInsertListener
Class Description : This listener informs the listener of a plugin code insert.
This is used by a plugin to insert the generated code into an editor.
$LastChangedRevision: 1197 $
$LastChangedDate:: 2010-11-22 10:06:06#$
Method Summary | |
---|---|
TLptsCodeInsertRequest |
getCodeToBeGenerated(java.awt.Component source)
This is sent to the listener before the 'newCodeGenerated' below. |
void |
newCodeGenerated(java.lang.String imports,
java.lang.String code,
TLptsCodeInsertRequest insertRequest)
This is used to indicate that a new piece of code has been generated by a user action. |
Method Detail |
---|
TLptsCodeInsertRequest getCodeToBeGenerated(java.awt.Component source)
source
- This is the dialog that generated the code.
void newCodeGenerated(java.lang.String imports, java.lang.String code, TLptsCodeInsertRequest insertRequest)
This is used to indicate that a new piece of code has been generated by a user action.
imports
- The IMPORTS section of the code. This can be null if the request above was for no IMPORTS.code
- This is the actual code to insert and can be the full class or partial, depending on the request.insertRequest
- This is the request returned by the listener through 'getCodeToBeGenerated'.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |