Class ProgressReportMessage
java.lang.Object
com.biglybt.ui.swt.progress.ProgressReportMessage
- All Implemented Interfaces:
IMessage, IProgressReportConstants
A simple class for a message
-
Field Summary
FieldsFields inherited from interface IProgressReportConstants
AUTO_CLOSE, BORDER, MANAGER_EVENT_ADDED, MANAGER_EVENT_REMOVED, MANAGER_EVENT_UPDATED, MODAL, MSG_TYPE_ERROR, MSG_TYPE_INFO, MSG_TYPE_LOG, NONE, REPORT_TYPE_CANCEL, REPORT_TYPE_DISPOSED, REPORT_TYPE_DONE, REPORT_TYPE_ERROR, REPORT_TYPE_INIT, REPORT_TYPE_MODE_CHANGE, REPORT_TYPE_PROPERTY_CHANGED, REPORT_TYPE_RETRY, REPORTER_TYPE_DEFAULT, REPORTER_VISIBILITY_SYSTEM, REPORTER_VISIBILITY_USER, RETVAL_OK, RETVAL_OK_TO_DISPOSE, SHOW_TOOLBAR, STANDALONE -
Constructor Summary
ConstructorsConstructorDescriptionProgressReportMessage(String value, int type) Create a message for the given value and type; message type can by any one of:IProgressReportConstants.MSG_TYPE_ERROR-- an error messageIProgressReportConstants.MSG_TYPE_INFO-- a general informational messageIProgressReportConstants.MSG_TYPE_LOG-- a log message; for messages that are more detailed and verbose -
Method Summary
-
Field Details
-
value
-
type
private int type
-
-
Constructor Details
-
ProgressReportMessage
Create a message for the given value and type; message type can by any one of:-
IProgressReportConstants.MSG_TYPE_ERROR-- an error message -
IProgressReportConstants.MSG_TYPE_INFO-- a general informational message -
IProgressReportConstants.MSG_TYPE_LOG-- a log message; for messages that are more detailed and verbose
- Parameters:
value-type-
-
-
-
Method Details
-
getValue
-
getType
-
isError
public boolean isError() -
isInfo
public boolean isInfo() -
isLog
public boolean isLog()
-