Interface IErrorComponent
- All Known Implementing Classes:
ErrorComponent
public interface IErrorComponent
This interface describes components to show errors.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateComponent(org.eclipse.swt.widgets.Composite parent) Creates this control on the parent composite.voidhide()Hides a representation of the error if it's shown.booleanChecks if the error visible.voidShows a representation of the error on this component.
-
Method Details
-
createComponent
void createComponent(org.eclipse.swt.widgets.Composite parent) Creates this control on the parent composite.- Parameters:
parent- parent control
-
showError
Shows a representation of the error on this component.- Parameters:
msg- a basic localizated error messagedetail- a detailed error information about errorexc- a low-level exception, or null if not applicable
-
hide
void hide()Hides a representation of the error if it's shown. -
isErrorVisible
boolean isErrorVisible()Checks if the error visible.- Returns:
true, if the error visible
-