public static interface IPluginUI.IProcessPageContext
Modifier and Type | Method and Description |
---|---|
void |
addError(java.lang.Object plainText,
java.lang.Object html)
Deprecated.
Use
addMessage(Message) or addMessage(Message, Object[]) instead.
|
void |
addMessage(Message msg)
Specifies a message to host application to either indicate an invalid setting, an exception or
a status message.
|
void |
addMessage(Message msg,
java.lang.Object... args)
Specifies a message to host application to either indicate an invalid setting, an exception or
a status message.
|
void |
addMessage(Message msg,
java.lang.Object[] args,
java.lang.Exception e)
Specifies a message to host application to either indicate an invalid setting, an exception or
a status message.
|
boolean |
forRegistration()
Returns a boolean value indicating whether the HTML GUI being generated is intended for the
registration of the plug-in (true) or for the configuration of a new instance (false).
|
java.lang.String |
getCurrentPageId()
Retrieves the identifier of the current page being processed.
|
java.lang.String |
getIdPrefix()
Returns the prefix for the IDs of the HTML <input> tags or other form elements.
|
ISettings |
getMergedSettings()
Returns the current merged settings of the plug-in.
|
IPluginUI.IPart |
getPart(java.lang.String name)
Gets the file content of one of your <input type='file'> HTML tags.
|
IRWSettings |
getSettings()
Returns the current settings of the plug-in.
|
java.io.Serializable |
getState()
Retrieves the plug-in's state.
|
java.lang.String |
getStringParameter(java.lang.String name)
Gets the value of one of your <input> HTML tags.
|
java.lang.String[] |
getStringParameterValues(java.lang.String name)
Gets the values of one of your <input> HTML tags.
|
boolean |
nextPageRequested()
Returns a boolean indicating whether or not the 'next' page was requested through the wizard.
|
boolean |
previousPageRequested()
Returns a boolean indicating whether or not the 'previous' page was requested through the wizard.
|
void |
setPageToDisplay(java.lang.String pageID)
Sets the page to be shown in the wizard, pending successful validation (if required).
|
void |
setState(java.io.Serializable o)
Stores the plug-in's state.
|
boolean forRegistration()
java.lang.String getIdPrefix()
java.lang.String getStringParameter(java.lang.String name)
prefix
the
name of your parameter.java.lang.String[] getStringParameterValues(java.lang.String name)
prefix
the
name of your parameter.IPluginUI.IPart getPart(java.lang.String name)
prefix
the name of your parameter.@Deprecated void addError(java.lang.Object plainText, java.lang.Object html)
addMessage(Message)
or addMessage(Message, Object[])
instead.
plainText
- The error description in plain texthtml
- The error description in HTML markupvoid addMessage(Message msg)
addMessage(Message, Object[])
if the message does not
require any arguments.msg
- The message to be passed on to the host application
void addMessage(Message msg, java.lang.Object... args)
addMessage(Message)
if the message requires at least
one argument.msg
- The message to be passed on to the host applicationargs
- A list of arguments for the specified message
void addMessage(Message msg, java.lang.Object[] args, java.lang.Exception e)
addMessage(Message)
if the message requires at least
one argument.msg
- The message to be passed on to the host applicationargs
- A list of arguments for the specified messagee
- An exception that should be wrapped using the specified message
void setState(java.io.Serializable o) throws java.lang.Exception
o
- The Serializable
instance to be stored
java.lang.Exception
java.io.Serializable getState()
java.lang.String getCurrentPageId()
IPluginUI.IProvideMetadataContext.addPage(String, String)
.void setPageToDisplay(java.lang.String pageID)
IPluginUI.IProvideMetadataContext.addPage(String, String)
.
previousPageRequested()
and nextPageRequested()
may be
taken into account to determine whether the 'previous' or 'next' button was pressed.pageID
- The plug-in's state
boolean previousPageRequested()
boolean nextPageRequested()
IRWSettings getSettings()
IRWSettings
instance containing the plug-in's current settings.
ISettings getMergedSettings()
ISettings
contains the class settings of the plugin merged with the current instance settings
. ISettings
instance containing the plug-in's current merged settings.