public class TableUITools extends Object
| Constructor and Description |
|---|
TableUITools() |
| Modifier and Type | Method and Description |
|---|---|
static Menuitem |
createMenuitem(Menupopup popup,
String label,
String imageSrc,
Object ref,
boolean enabled,
EventListener eventListener)
Creates zk menu item.
|
static String |
dataToString(Object data)
Converts the data object to String for display purposes.
|
static AxisEntryService |
getAxisEntryService() |
static CellEntryService |
getCellEntryService() |
static ParameterDescriptor |
getFirstDroppableParameter(List<ParameterDescriptor> pds,
String typeCode) |
static String |
getParamEditorId(String paramName)
Composes zk component id for data model/resolver parameter editor.
|
static String |
getParamLabelId(String paramName)
Composes zk component id for data model/resolver parameter label.
|
static SystemService |
getSystemService() |
static TableService |
getTableService() |
static TypeService |
getTypeService() |
static boolean |
isCollectionOfComposedType(ParameterDescriptor pd) |
static boolean |
isComposedType(ParameterDescriptor pd) |
static void |
removeAllChildren(Component c)
Removes all children of the zk component.
|
static void |
showError(String message,
String title) |
static void |
showInfo(String message,
String title) |
public static TableService getTableService()
public static TypeService getTypeService()
public static SystemService getSystemService()
public static CellEntryService getCellEntryService()
public static AxisEntryService getAxisEntryService()
public static String getParamEditorId(String paramName)
paramName - public static String getParamLabelId(String paramName)
paramName - public static String dataToString(Object data)
data - public static void removeAllChildren(Component c)
c - public static Menuitem createMenuitem(Menupopup popup,
String label,
String imageSrc,
Object ref,
boolean enabled,
EventListener eventListener)
popup - label - imageSrc - ref - eventListener - public static ParameterDescriptor getFirstDroppableParameter(List<ParameterDescriptor> pds, String typeCode)
public static boolean isComposedType(ParameterDescriptor pd)
public static boolean isCollectionOfComposedType(ParameterDescriptor pd)
Copyright © 2017 SAP SE. All Rights Reserved.