|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.utjml.canica.jmleditor.SearchInsertAndHighlight
public class SearchInsertAndHighlight
The SearchInsertAndHighlight class implements the services to the SearchInsertAndHighlightable class.
| Constructor Summary | |
|---|---|
SearchInsertAndHighlight(JMLEditorMDI editor,
JFrame frame)
Constructor |
|
| 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 |
gotoLineColumn(int line,
int col)
It highlights the line and column to 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()
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchInsertAndHighlight(JMLEditorMDI editor,
JFrame frame)
| Method Detail |
|---|
public void insertJMLPrimaryExpression()
public void insertClauses()
SearchInsertAndHighlightable
insertClauses in interface SearchInsertAndHighlightable
public void highlightLine(String fileName,
int line,
int col)
SearchInsertAndHighlightable
highlightLine in interface SearchInsertAndHighlightable
public void highlightLine(String fileName,
int line)
SearchInsertAndHighlightable
highlightLine in interface SearchInsertAndHighlightable
public Action goToAction(String actionName,
ImageIcon icon,
JFrame frame)
SearchInsertAndHighlightable
goToAction in interface SearchInsertAndHighlightableicon - The Icon to this actionframe - The frame where the Go to dialog will be displayedpublic void findText()
SearchInsertAndHighlightable
findText in interface SearchInsertAndHighlightablepublic void replaceText()
SearchInsertAndHighlightable
replaceText in interface SearchInsertAndHighlightable
public void gotoLineColumn(int line,
int col)
line - Linecol - Columnpublic void insertJMLPrimaryExpression(String primaryExpression)
SearchInsertAndHighlightable
insertJMLPrimaryExpression in interface SearchInsertAndHighlightableprimaryExpression - JML primary expression in string format.
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||