Class WidgetPluginHelper
- java.lang.Object
-
- de.xima.fc.gui.designer.form.utils.WidgetPluginHelper
-
public final class WidgetPluginHelper extends Object
Utilities for handling widget plugins in the form designer, seeFormDesignerPluginBean
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.primefaces.model.StreamedContent
createPluginCssForDesignerUiStreamedContent(long clientId)
static String
createPluginCssForDesignerUiUrl(javax.faces.context.FacesContext context, Mandant client)
static org.primefaces.model.StreamedContent
createPluginCssStreamedContent(long clientId)
static String
createPluginCssUrl(javax.faces.context.FacesContext context, Mandant client)
static org.primefaces.model.StreamedContent
createPluginJavaScriptStreamedContent(long clientId)
static String
createPluginJavaScriptUrl(javax.faces.context.FacesContext context, Mandant client)
-
-
-
Method Detail
-
createPluginCssForDesignerUiStreamedContent
public static org.primefaces.model.StreamedContent createPluginCssForDesignerUiStreamedContent(long clientId)
- Parameters:
clientId
- ID of the client for which to fetch the data.- Returns:
- The CSS for the designer UI required by widget plugin for the given client.
-
createPluginCssForDesignerUiUrl
public static String createPluginCssForDesignerUiUrl(javax.faces.context.FacesContext context, Mandant client)
- Parameters:
context
- Current faces context.client
- Current client who opened the designer.- Returns:
- The URL for the resource that serves the CSS for the designer UI required by widget plugins.
-
createPluginCssStreamedContent
public static org.primefaces.model.StreamedContent createPluginCssStreamedContent(long clientId)
- Parameters:
clientId
- ID of the client for which to fetch the data.- Returns:
- The CSS for the form within the designer required by widget plugin for the given client.
-
createPluginCssUrl
public static String createPluginCssUrl(javax.faces.context.FacesContext context, Mandant client)
- Parameters:
context
- Current faces context.client
- Current client who opened the designer.- Returns:
- The URL for the resource that serves the CSS for the form within the designer required by widget plugins.
-
createPluginJavaScriptStreamedContent
public static org.primefaces.model.StreamedContent createPluginJavaScriptStreamedContent(long clientId)
- Parameters:
clientId
- ID of the client for which to fetch the data.- Returns:
- The JavaScript required by widget plugin for the given client.
-
createPluginJavaScriptUrl
public static String createPluginJavaScriptUrl(javax.faces.context.FacesContext context, Mandant client)
- Parameters:
context
- Current faces context.client
- Current client who opened the designer.- Returns:
- The URL for the resource that serves the JavaScript required by widget plugins.
-
-