Class WorkflowResourceBundleBean
- java.lang.Object
 - 
- de.xima.fc.workflow.designer.bean.WorkflowResourceBundleBean
 
 
- 
- All Implemented Interfaces:
 Serializable
@Named @RequestScoped public class WorkflowResourceBundleBean extends Object implements Serializable
Bean for making resource bundles available to XHTML pages of the workflow designer.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description WorkflowResourceBundleBean() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormattedKeyValueText(ResourceBundle bundle1, ResourceBundle bundle2, ISummaryKeyValueText model)ResourceBundlegetResourceBundleForElementInfo()ResourceBundlegetResourceBundleForSelected() 
 - 
 
- 
- 
Method Detail
- 
getFormattedKeyValueText
public String getFormattedKeyValueText(ResourceBundle bundle1, ResourceBundle bundle2, ISummaryKeyValueText model)
- Parameters:
 bundle1- First resource bundle with messages.bundle2- Second resource bundle with messages to try when first resource bundle does not contain the key.model- Model with a message to format.- Returns:
 - The formatted text.
 
 
- 
getResourceBundleForElementInfo
public ResourceBundle getResourceBundleForElementInfo()
- Returns:
 - The resource bundle that should be used by the element info panel that is currently being shown (node or
 trigger). This takes into account the 
IElementHandler.getResourceBundle(java.util.Locale). 
 
- 
getResourceBundleForSelected
public ResourceBundle getResourceBundleForSelected()
- Returns:
 - The resource bundle that should be used by the currently selected workflow element (node or trigger). This
 takes into account the 
IElementHandler.getResourceBundle(java.util.Locale). 
 
 - 
 
 -