|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMessage
This interface encapsulates a single message that can be shown in a form. Messages can be associated with controls, or be of a general nature.
IMessageManager
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Method Summary | |
---|---|
Control |
getControl()
Returns the control this message is associated with. |
Object |
getData()
Returns data for application use |
Object |
getKey()
Returns the unique message key |
String |
getPrefix()
Messages that are associated with controls can be shown with a prefix that indicates the origin of the message (e.g. the label preceeding the control). |
Methods inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
getMessage, getMessageType |
Method Detail |
---|
Object getKey()
Object getData()
Control getControl()
null
if this is a general message.String getPrefix()
null
if this is a general
message
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.