|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchInsertAndHighlightable
This class is an interface responsible to provide the services to highlight a line, to insert a JML primary expression , to insert JML clauses , to go to a line and column, to find text, and to replace text in the JML editor to the active editing file.
| Method Summary | |
|---|---|
void |
findText()
It should provide a graphical interface to input text and search that text in the active editing file or all files opened. |
Action |
goToAction(String actionName,
ImageIcon icon,
JFrame frame)
It should provide a graphical interface to input the line and column values, go to that specific section in the active editing file. |
void |
highlightLine(String fileName,
int line)
It highlights a line of text given in the file name. |
void |
highlightLine(String fileName,
int line,
int col)
It highlights a line and column of text given in file name given. |
void |
insertClauses()
It should insert the group of clauses to the active editing file. |
void |
insertJMLPrimaryExpression(String primaryExpression)
It should insert a JML primary expression to the active editing file. |
void |
replaceText()
It should provide a graphical interface to input text and replace that text in the active editing file or all files opened. |
| Method Detail |
|---|
void insertJMLPrimaryExpression(String primaryExpression)
primaryExpression - JML primary expression in string format.void insertClauses()
void highlightLine(String fileName,
int line,
int col)
void highlightLine(String fileName,
int line)
Action goToAction(String actionName,
ImageIcon icon,
JFrame frame)
frame - The frame where the Go to dialog will be displayedicon - The Icon to this actionstring - action namevoid findText()
void replaceText()
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||