|
POGO Java Program |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object
|
+--java.lang.Thread
|
+--pogo.appli.EditPogoCode
This class start an external editor to view/edit Pogo file source code.
| Field Summary | |
private java.lang.String |
editor
|
private int |
lineNum
|
private PogoClass |
pogo
Pogo Class to be used for generation. |
private java.lang.String |
srcCode
|
private java.lang.String |
srcFilename
|
| Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
| Constructor Summary | |
EditPogoCode(PogoClass pogo)
Constructors for EditPogoCode use. |
|
| Method Summary | |
void |
run()
Fork the editor an go to the line where target has been found. |
private int |
searchLineNumber(java.lang.String target)
Serch the target string into source code and count the neumeber of lines. |
void |
setAttributeTarget()
Search the attributes management method and start an editor. |
void |
setCommandTarget(java.lang.String cmdName)
Search the execute command method and start an editor. |
| Methods inherited from class java.lang.Thread |
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
private PogoClass pogo
private java.lang.String srcFilename
private java.lang.String editor
private java.lang.String srcCode
private int lineNum
| Constructor Detail |
public EditPogoCode(PogoClass pogo)
throws java.io.FileNotFoundException,
java.io.IOException,
PogoException
pogo - Pogo Class definition used for editing.| Method Detail |
private int searchLineNumber(java.lang.String target)
throws PogoException
target - the string to search.
public void setCommandTarget(java.lang.String cmdName)
throws java.io.FileNotFoundException,
java.io.IOException,
PogoException
cmdName - the command eecute method to be edited.
public void setAttributeTarget()
throws PogoException
public void run()
|
POGO Java Program |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||