public class DialogMessageArea extends Object
| Constructor and Description |
|---|
DialogMessageArea()
Create a new instance of the receiver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearErrorMessage()
Clear the error message.
|
void |
createContents(Composite parent)
Create the contents for the receiver.
|
void |
restoreTitle()
Enable the title and disable the message text and image.
|
void |
setMessageLayoutData(Object layoutData)
Set the layoutData for the messageArea.
|
void |
setTitleLayoutData(Object layoutData)
Set the layoutData for the title area.
|
void |
showTitle(String titleMessage,
Image titleImage)
Show the title.
|
void |
updateText(String newMessage,
int newType)
Show the new message in the message text and update the image.
|
public DialogMessageArea()
public void createContents(Composite parent)
parent - the Composite that the children will be created inpublic void setTitleLayoutData(Object layoutData)
layoutData - the layoutData for the titlesetMessageLayoutData(Object)public void setMessageLayoutData(Object layoutData)
layoutData - the layoutData for the message area composite.setTitleLayoutData(Object)public void showTitle(String titleMessage, Image titleImage)
titleMessage - String for the titketitleImage - Image or nullpublic void restoreTitle()
public void updateText(String newMessage, int newType)
newMessage - The new value for the messagenewType - One of the IMessageProvider constants. If newType is
IMessageProvider.NONE show the title.IMessageProviderpublic void clearErrorMessage()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.