Class ManagedUiDescription
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.ManagedUiDescription
-
- All Implemented Interfaces:
IManagedUiDescription,java.io.Serializable
public class ManagedUiDescription extends java.lang.Object implements IManagedUiDescription, java.io.Serializable
Object that declaratively describes a UI (labels, fields, their ordering, table content).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ManagedUiDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IManagedUiActionaddAction(java.lang.String id)Adds an action with given name to actions that can be performed in the user interface for modification of the managed property.ManagedUiTableActionDescriptionaddTableAction(java.lang.String id)Adds a table action with given name to actions that can be performed in the user interface for modification of the managed property.java.util.List<IManagedUiAction>getActions()Get all actions defined for the managed property.IManagedOutputWidgetDescriptiongetOutputWidgetDescription()Returns description of the widget that will be shown in detail view of the entity owning the property.voidsetOutputWidgetDescription(IManagedOutputWidgetDescription outputWidget)voiduseHtmlOutput(java.lang.String htmlText)Tells the UI to show the property the specified HTML.voiduseTableOutput(ITableModel tableModel)Sets the given table model to define an output that will be shown in detail view of the entity owning the property.
-
-
-
Method Detail
-
getOutputWidgetDescription
public IManagedOutputWidgetDescription getOutputWidgetDescription()
Description copied from interface:IManagedUiDescriptionReturns description of the widget that will be shown in detail view of the entity owning the property.- Specified by:
getOutputWidgetDescriptionin interfaceIManagedUiDescription
-
setOutputWidgetDescription
public void setOutputWidgetDescription(IManagedOutputWidgetDescription outputWidget)
-
addAction
public IManagedUiAction addAction(java.lang.String id)
Description copied from interface:IManagedUiDescriptionAdds an action with given name to actions that can be performed in the user interface for modification of the managed property.NOTE: currently there is only support for table actions
- Specified by:
addActionin interfaceIManagedUiDescription
-
addTableAction
public ManagedUiTableActionDescription addTableAction(java.lang.String id)
Description copied from interface:IManagedUiDescriptionAdds a table action with given name to actions that can be performed in the user interface for modification of the managed property.- Specified by:
addTableActionin interfaceIManagedUiDescription
-
getActions
public java.util.List<IManagedUiAction> getActions()
Description copied from interface:IManagedUiDescriptionGet all actions defined for the managed property.- Specified by:
getActionsin interfaceIManagedUiDescription
-
useTableOutput
public void useTableOutput(ITableModel tableModel)
Description copied from interface:IManagedUiDescriptionSets the given table model to define an output that will be shown in detail view of the entity owning the property. The table will be shown in an extra tab.- Specified by:
useTableOutputin interfaceIManagedUiDescription
-
useHtmlOutput
public void useHtmlOutput(java.lang.String htmlText)
Description copied from interface:IManagedUiDescriptionTells the UI to show the property the specified HTML.- Specified by:
useHtmlOutputin interfaceIManagedUiDescription
-
-