|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JMLEditorable
An interface to access the functionality of the JML editor.
| Field Summary | |
|---|---|
static String[] |
ERROR_MESSAGES
this is the array containing the error messages definitions |
static int |
NO_MESSAGE
It is returned when there are no error messages. |
| Method Summary | |
|---|---|
File |
getActiveEditingFile()
It returns the active editing file (the current file being edited in the JML editor) |
BasicEditorable |
getBasicEditorable()
It returns the interface that will handle the basic editing (copy, paste, undo, redo, select all, delete, delete line, etc) in the JML editor. |
int |
getEditorSize()
It returns the size (number of files opened) of the JML Editor. |
JPanel |
getEditorView()
It returns the JML Editor view (see JMLEditorMDIView class) as a JPanel object. |
FileAccessable |
getFileAccessable()
It returns the interface that will handle the access to files (open, new, save, save all, close , close all, save as, etc) in the JML editor. |
SearchInsertAndHighlightable |
getSearchInsertAndHighlightable()
It returns the interface that will handle the search, insert and highlight functionalities in the JML editor. |
StatusBarable |
getStatusBarable()
It returns the interface that will handle the status bar in the JML Editor. |
boolean |
isModified()
Verifies if the active editing file has being modified. |
boolean |
setActiveEditingfile(File file)
Sets to the JML editor this file active. |
boolean |
setActiveEditingfile(String fileName)
Sets to the JML editor the first file containing this file name. |
| Field Detail |
|---|
static final int NO_MESSAGE
static final String[] ERROR_MESSAGES
| Method Detail |
|---|
JPanel getEditorView()
int getEditorSize()
boolean setActiveEditingfile(File file)
file - The file to be active.boolean setActiveEditingfile(String fileName)
file - File name
File getActiveEditingFile()
boolean isModified()
StatusBarable getStatusBarable()
FileAccessable getFileAccessable()
BasicEditorable getBasicEditorable()
SearchInsertAndHighlightable getSearchInsertAndHighlightable()
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||