|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucot.ModuleProperties
ucot.ui.DummyUI
public class DummyUI
DummyUI which does absolutely nothing but helps avoiding null values in UI variables. Errors and warnings do get logged.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_ERROR_TITLE
|
static java.lang.String |
DEFAULT_WARNING_TITLE
|
private java.util.logging.Logger |
logger
|
Fields inherited from class ucot.ModuleProperties |
---|
properties, propertiesURL |
Constructor Summary | |
---|---|
DummyUI()
|
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 |
ProgressBarInterface |
getProgressBar()
Method for getting a new progressbar for showing the current progress status to the user and halting all other usage of the model editor. |
void |
printError(java.lang.String errorMessage)
|
void |
printError(java.lang.String errorMessage,
java.lang.String errorTitle)
Prints error message to the user. |
void |
printWarning(java.lang.String warningMessage)
|
void |
printWarning(java.lang.String warningMessage,
java.lang.String warningTitle)
Prints a warning to the user. |
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 |
Methods inherited from class ucot.ModuleProperties |
---|
applyProperties, getProperties, loadDefaultProperties, loadProperties, saveProperties, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ucot.ModulePropertyInterface |
---|
applyProperties, getProperties, loadDefaultProperties, loadProperties, saveProperties, setProperties |
Field Detail |
---|
public static final java.lang.String DEFAULT_ERROR_TITLE
public static final java.lang.String DEFAULT_WARNING_TITLE
private java.util.logging.Logger logger
Constructor Detail |
---|
public DummyUI()
Method Detail |
---|
public void exportDone()
UIInterface
exportDone
in interface UIInterface
public void analyzeModelLoaded()
UIInterface
analyzeModelLoaded
in interface UIInterface
public void useCasesLoaded()
UIInterface
useCasesLoaded
in interface UIInterface
public void useCaseAdded()
UIInterface
useCaseAdded
in interface UIInterface
public void setControlInterface(ControlInterface a)
UIInterface
setControlInterface
in interface UIInterface
a
- control interface (UCOT core)public void printError(java.lang.String errorMessage, java.lang.String errorTitle)
UIInterface
printError
in interface UIInterface
errorMessage
- Description of the error.errorTitle
- Title of the dialogpublic void printError(java.lang.String errorMessage)
printError
in interface UIInterface
public void printWarning(java.lang.String warningMessage, java.lang.String warningTitle)
UIInterface
printWarning
in interface UIInterface
warningMessage
- Description of the warning.warningTitle
- Title of the dialog.public void printWarning(java.lang.String warningMessage)
printWarning
in interface UIInterface
public ProgressBarInterface getProgressBar()
UIInterface
getProgressBar
in interface UIInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |