Class AElementInfoHelper<THandler extends IElementHandler<?,?>>
- java.lang.Object
-
- de.xima.fc.workflow.designer.helper.AElementInfoHelper<THandler>
-
- Type Parameters:
THandler
- Type of the handler, e.g. either a node or trigger handler.
- Direct Known Subclasses:
ElementNodeInfoHelper
,ElementTriggerInfoHelper
public abstract class AElementInfoHelper<THandler extends IElementHandler<?,?>> extends Object
Helper class for generating the data for the workflow element info panel.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
data
protected ElementKey
elementKey
protected String
elementName
protected String
elementType
protected THandler
handler
protected Locale
locale
protected static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description AElementInfoHelper(THandler handler, Locale locale, String elementType, String elementName, ElementKey elementKey, Object data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IElementHelpLocation
createElementHelp()
Object
createSummaryModel(IEntityContext ec, IWorkflowProvider provider)
protected List<ValueDescriptorRow>
createValueDescriptorRows(IValueDescriptor<?,?> descriptor, String keyInfix, de.xima.fc.workflow.designer.helper.IElementNameInterpolator placeholderPrefix)
String
getElementType()
String
getSummaryXhtml()
protected String
localize(String key, Object... params)
-
-
-
Field Detail
-
LOG
protected static final org.slf4j.Logger LOG
-
data
protected final Object data
-
elementKey
protected final ElementKey elementKey
-
elementName
protected final String elementName
-
elementType
protected final String elementType
-
handler
@Nullable protected final THandler extends IElementHandler<?,?> handler
-
locale
protected final Locale locale
-
-
Method Detail
-
createElementHelp
public IElementHelpLocation createElementHelp()
- Returns:
- The element help page for the workflow element wrapped by this helper.
-
createSummaryModel
public Object createSummaryModel(IEntityContext ec, IWorkflowProvider provider)
-
getElementType
public String getElementType()
-
getSummaryXhtml
public final String getSummaryXhtml()
-
createValueDescriptorRows
protected final List<ValueDescriptorRow> createValueDescriptorRows(IValueDescriptor<?,?> descriptor, String keyInfix, de.xima.fc.workflow.designer.helper.IElementNameInterpolator placeholderPrefix)
-
-