|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UIInterface
Interface for the UI. A means for the core component to notify UI that certain actions have been taken. For example file has been loaded
Method Summary | |
---|---|
void |
analyzeModelLoaded()
Core signals user interface that analyzemodel has been loaded |
void |
exportDone()
Core signals user interface that analyze model has been exported |
void |
printError(java.lang.String errorMessage)
|
void |
printError(java.lang.String errorMessage,
java.lang.String errorTitle)
Prints error message to the user. |
java.lang.Object |
questionDialog(java.lang.String question)
|
java.lang.Object |
questionDialog(java.lang.String title,
java.lang.String question)
|
java.lang.Object |
questionDialog(java.lang.String title,
java.lang.String question,
int options)
Shows user a dialog asking a question |
void |
setControlInterface(ControlInterface a)
Set control interface |
void |
useCaseAdded()
Core signals user interface that usecases have been parsed, ran heuristic on and been added to given analyze model |
void |
useCasesLoaded()
Core signals user interface that usecases have been loaded from file |
Method Detail |
---|
void exportDone()
void analyzeModelLoaded()
void useCasesLoaded()
void useCaseAdded()
void setControlInterface(ControlInterface a)
a
- control interface (UCOT core)void printError(java.lang.String errorMessage, java.lang.String errorTitle)
errorMessage
- Description of the error.errorTitle
- title of the dialogvoid printError(java.lang.String errorMessage)
java.lang.Object questionDialog(java.lang.String title, java.lang.String question, int options)
title
- title of the question dialogquestion
- question to askoptions
- options for the dialog
java.lang.Object questionDialog(java.lang.String title, java.lang.String question)
java.lang.Object questionDialog(java.lang.String question)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |