Class ResourceBundleHelper
- java.lang.Object
 - 
- de.xima.fc.workflow.designer.helper.ResourceBundleHelper
 
 
- 
public final class ResourceBundleHelper extends Object
Helper for creating the aggregate resource bundle used by the workflow designer.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ResourceBundleHelper() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceBundlegetResourceBundleForElement(EWorkflowElementType kind, String type, Mandant client, Locale locale)static ResourceBundlegetResourceBundleForSelection(FlowchartSelection<?> selection, Mandant client, Locale locale) 
 - 
 
- 
- 
Method Detail
- 
getResourceBundleForSelection
public static ResourceBundle getResourceBundleForSelection(FlowchartSelection<?> selection, Mandant client, Locale locale)
- Parameters:
 selection- Current flowchart selection for which to find the resource bundle.client- Current client for locating workflow element plugins.locale- Current locale for which to get the resource bundle.- 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). 
 
- 
getResourceBundleForElement
public static ResourceBundle getResourceBundleForElement(EWorkflowElementType kind, String type, Mandant client, Locale locale)
- Parameters:
 kind- Whether the element is a node or trigger.type- Type of the element for which to find the resource bundle.client- Current client for locating workflow element plugins.locale- Current locale for which to get the resource bundle.- 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). 
 
 - 
 
 -