| |
|
| java.lang.Object org.eclipse.ui.texteditor.MessageRegion
MessageRegion | class MessageRegion (Code) | | The MessageRegion is the optional area to
show messages in the page.
XXX: Copied from org.eclipse.jface.preference.PreferencePage.MessageRegion
see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=84061
since: 3.1 |
Constructor Summary | |
public | MessageRegion() Create a new instance of the receiver. |
MessageRegion | public MessageRegion()(Code) | | Create a new instance of the receiver.
|
clearErrorMessage | public void clearErrorMessage()(Code) | | Clear the error message. Restore the previously displayed message if
there is one, if not restore the title label.
|
createContents | public void createContents(Composite parent)(Code) | | Create the contents for the receiver.
Parameters: parent - the Composite that the children will be created in |
setMessageLayoutData | public void setMessageLayoutData(Object layoutData)(Code) | | Set the layoutData for the messageArea. In most cases this will be a copy
of the layoutData used in setTitleLayoutData.
Parameters: layoutData - the layoutData for the message area composite. |
updateText | public void updateText(String newMessage, int newType)(Code) | | Show the new message in the message text and update the image. Base the
background color on whether or not there are errors.
Parameters: newMessage - The new value for the message Parameters: newType - One of the IMessageProvider constants. If newType isIMessageProvider.NONE show the title. See Also: IMessageProvider |
|
|
|