public interface UserServicePropertiesDefinitionContext
| Modifier and Type | Method and Description |
|---|---|
void |
setConfirmationMessageBeforeLaunch()
Defines a generic confirmation message to be displayed when the service is launched
as an action from a toolbar.
|
void |
setConfirmationMessageBeforeLaunch(String aConfirmationMessage)
Defines a confirmation message to be displayed when the service is launched
as an action from a toolbar.
|
void |
setConfirmationMessageBeforeLaunch(UserMessage aConfirmationMessage)
Defines a localized confirmation message to be displayed when the service is launched
as an action from a toolbar.
|
void |
setDescription(String aDescription)
Defines the service's default description.
|
void |
setDescription(UserMessage aDescription)
Defines the service's default description.
|
void |
setGroup(ServiceGroupKey aServiceGroupKey)
Defines the group to which this service belongs to.
|
void |
setLabel(String aLabel)
Defines the service's default label.
|
void |
setLabel(UserMessage aLabel)
Defines the service's default title.
|
void setLabel(String aLabel)
By default the label is the ServiceKey.
void setLabel(UserMessage aLabel)
By default the label is the ServiceKey.
void setDescription(String aDescription)
By default there is no description.
void setDescription(UserMessage aDescription)
By default there is no description.
void setGroup(ServiceGroupKey aServiceGroupKey)
This method can only be used when declaring a new user service. It has no effect when declaring a service extension.
void setConfirmationMessageBeforeLaunch(String aConfirmationMessage)
This method can only be used when declaring a new user service. It has no effect when declaring a service extension.
void setConfirmationMessageBeforeLaunch(UserMessage aConfirmationMessage)
This method can only be used when declaring a new user service. It has no effect when declaring a service extension.
void setConfirmationMessageBeforeLaunch()
setConfirmationMessageBeforeLaunch(UserMessage)
can be used.
By default, the service is launched directly
without any confirmation.
This method can only be used when declaring a new user service. It has no effect when declaring a service extension.