|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMessageProvider
Minimal interface to a message provider. Used for dialog pages which can provide a message with an icon.
Field Summary | |
---|---|
static int |
ERROR
Constant for an error message (value 3). |
static int |
INFORMATION
Constant for an info message (value 1). |
static int |
NONE
Constant for a regular message (value 0). |
static int |
WARNING
Constant for a warning message (value 2). |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the current message for this message provider. |
int |
getMessageType()
Returns a value indicating if the message is a an information message, a warning message, or an error message. |
Field Detail |
---|
static final int NONE
Typically this indicates that the message should be shown without an icon.
static final int INFORMATION
static final int WARNING
static final int ERROR
Method Detail |
---|
java.lang.String getMessage()
A message provides instruction or information to the user.
null
if noneint getMessageType()
Returns one of NONE
,INFORMATION
,
WARNING
, or ERROR
.
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.