Package org.eclipse.ui.forms
Interface IMessage
- All Superinterfaces:
- IMessageProvider
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.
- Since:
- 3.3
- See Also:
- 
Field SummaryFields inherited from interface org.eclipse.jface.dialogs.IMessageProviderERROR, INFORMATION, NONE, WARNING
- 
Method SummaryModifier and TypeMethodDescriptionReturns the control this message is associated with.getData()Returns data for application usegetKey()Returns the unique message keyMessages 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.IMessageProvidergetMessage, getMessageType
- 
Method Details- 
getKeyObject getKey()Returns the unique message key- Returns:
- the unique message key
 
- 
getDataObject getData()Returns data for application use- Returns:
- data object
 
- 
getControlControl getControl()Returns the control this message is associated with.- Returns:
- the control or nullif this is a general message.
 
- 
getPrefixString 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).- Returns:
- the message prefix or nullif this is a general message
 
 
-