|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIssuesPreferencePage
The Preference Page for configuring what issues list is used.
Method Summary | |
---|---|
void |
runWithProgress(boolean mayBlock,
IRunnableWithProgress runnable)
Runs a runnable in a non-UI thread if mayBlock is true. |
void |
setErrorMessage(java.lang.String newMessage)
Sets or clears the error message for this page. |
void |
setMessage(java.lang.String newMessage)
Sets or clears the message for this page. |
void |
setMessage(java.lang.String newMessage,
int newType)
Sets the message for this page with an indication of what type of message it is. |
Method Detail |
---|
void runWithProgress(boolean mayBlock, IRunnableWithProgress runnable) throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
mayBlock
- true if it is possible for the Runnable to block, for example a network call is made.runnable
- the runnable to execute.
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
void setErrorMessage(java.lang.String newMessage)
newMessage
- the message, or null
to clear the error messagevoid setMessage(java.lang.String newMessage)
This is a shortcut for setMessage(newMesasge, NONE)
newMessage
- the message, or null
to clear the messagevoid setMessage(java.lang.String newMessage, int newType)
The valid message types are one of NONE
,
INFORMATION
,WARNING
, or
ERROR
.
Note that for backward compatibility, a message of type
ERROR
is different than an error message (set using
setErrorMessage
). An error message overrides the current
message until the error message is cleared. This method replaces the
current message and does not affect the error message.
newMessage
- the message, or null
to clear the messagenewType
- the message type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |