Search in sources :

Example 36 with EJDevPropertyDefinitionGroup

use of org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup in project rap by entirej.

the class EJRWTHtmlTableBlockRendererDefinition method getBlockPropertyDefinitionGroup.

@Override
public EJPropertyDefinitionGroup getBlockPropertyDefinitionGroup() {
    EJDevPropertyDefinitionGroup mainGroup = new EJDevPropertyDefinitionGroup("HTML Table Block");
    EJDevPropertyDefinitionList list = new EJDevPropertyDefinitionList(ACTIONS, "Actions");
    EJDevPropertyDefinition actionkey = new EJDevPropertyDefinition(ACTION_KEY, EJPropertyDefinitionType.STRING);
    actionkey.setLabel("Action Key");
    actionkey.setDescription("The action shortcut to trigger action.");
    actionkey.setMandatory(true);
    EJDevPropertyDefinition actionID = new EJDevPropertyDefinition(ACTION_ID, EJPropertyDefinitionType.ACTION_COMMAND);
    actionID.setLabel("Action Command");
    actionID.setDescription("The action command to be used when this action is selected");
    actionID.setMandatory(true);
    list.addPropertyDefinition(actionkey);
    list.addPropertyDefinition(actionID);
    EJDevPropertyDefinition showTableHeader = new EJDevPropertyDefinition(EJRWTMultiRecordBlockDefinitionProperties.SHOW_HEADING_PROPERTY, EJPropertyDefinitionType.BOOLEAN);
    showTableHeader.setLabel("Show Headings");
    showTableHeader.setDescription("If selected, the cloumn headings of the block will be displayed");
    showTableHeader.setDefaultValue("true");
    EJDevPropertyDefinition textSelection = new EJDevPropertyDefinition(TEXT_SELECTION, EJPropertyDefinitionType.BOOLEAN);
    textSelection.setLabel("Text Selection");
    textSelection.setDefaultValue("false");
    EJDevPropertyDefinition filter = new EJDevPropertyDefinition(EJRWTTreeBlockDefinitionProperties.FILTER, EJPropertyDefinitionType.BOOLEAN);
    filter.setLabel("Add Filter");
    filter.setDescription("If selected, the renderer will display a filter field above the blocks data. This filter can then be used by users to filter the blocks displayed data");
    filter.setDefaultValue("false");
    EJDevPropertyDefinition message = new EJDevPropertyDefinition("MESSAGE", EJPropertyDefinitionType.STRING);
    message.setLabel("Filter Message");
    message.setDescription("The message text is displayed as a hint for the user, indicating the purpose of the filter.");
    mainGroup.addPropertyDefinition(message);
    EJDevPropertyDefinition filterOnRefresh = new EJDevPropertyDefinition(EJRWTTreeBlockDefinitionProperties.FILTER_KEEP_ON_REFRESH, EJPropertyDefinitionType.BOOLEAN);
    filterOnRefresh.setLabel("Keep Filter on Refresh");
    filterOnRefresh.setDescription("If selected, the renderer will keep filter when  blocks data reloaded");
    filterOnRefresh.setDefaultValue("false");
    EJDevPropertyDefinition cellSpacing = new EJDevPropertyDefinition(CELL_SPACING_PROPERTY, EJPropertyDefinitionType.INTEGER);
    cellSpacing.setLabel("Cell Spacing");
    cellSpacing.setDefaultValue("1");
    cellSpacing.setDescription("Specifies the space kept between each cell in the table (in pixels)");
    EJDevPropertyDefinition cellPadding = new EJDevPropertyDefinition(CELL_PADDING_PROPERTY, EJPropertyDefinitionType.INTEGER);
    cellPadding.setLabel("Cell Padding");
    cellPadding.setDefaultValue("5");
    cellPadding.setDescription("Specifies the space, in pixels, between the cell wall and the cell content");
    EJDevPropertyDefinition headerVA = new EJDevPropertyDefinition(HEADER_VA, EJPropertyDefinitionType.VISUAL_ATTRIBUTE);
    headerVA.setLabel("Headings VA");
    headerVA.setDescription("Specifies visual attribute for table header");
    EJDevPropertyDefinition rowOddVA = new EJDevPropertyDefinition(ROW_ODD_VA, EJPropertyDefinitionType.VISUAL_ATTRIBUTE);
    rowOddVA.setLabel("Row Odd VA");
    rowOddVA.setDescription("Specifies visual attribute for table odd row");
    EJDevPropertyDefinition rowEvenVA = new EJDevPropertyDefinition(ROW_EVEN_VA, EJPropertyDefinitionType.VISUAL_ATTRIBUTE);
    rowEvenVA.setLabel("Row Even VA");
    rowEvenVA.setDescription("Specifies visual attribute for table even row");
    EJDevPropertyDefinition rowSelection = new EJDevPropertyDefinition(ROW_SELECTION, EJPropertyDefinitionType.BOOLEAN);
    rowSelection.setLabel("Row Selection Indicator");
    rowSelection.setDefaultValue("false");
    EJDevPropertyDefinition rowSelectionVA = new EJDevPropertyDefinition(ROW_SELECTION_VA, EJPropertyDefinitionType.VISUAL_ATTRIBUTE);
    rowSelectionVA.setLabel("Row Selection Indicator VA");
    mainGroup.addPropertyDefinitionList(list);
    mainGroup.addPropertyDefinition(textSelection);
    mainGroup.addPropertyDefinition(filter);
    mainGroup.addPropertyDefinition(message);
    mainGroup.addPropertyDefinition(filterOnRefresh);
    mainGroup.addPropertyDefinition(showTableHeader);
    mainGroup.addPropertyDefinition(headerVA);
    mainGroup.addPropertyDefinition(rowOddVA);
    mainGroup.addPropertyDefinition(rowEvenVA);
    mainGroup.addPropertyDefinition(cellSpacing);
    mainGroup.addPropertyDefinition(cellPadding);
    mainGroup.addPropertyDefinition(rowSelection);
    mainGroup.addPropertyDefinition(rowSelectionVA);
    return mainGroup;
}
Also used : EJDevPropertyDefinition(org.entirej.framework.dev.properties.EJDevPropertyDefinition) EJDevPropertyDefinitionGroup(org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup) EJDevPropertyDefinitionList(org.entirej.framework.dev.properties.EJDevPropertyDefinitionList)

Example 37 with EJDevPropertyDefinitionGroup

use of org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup in project rap by entirej.

the class EJRWTLineChartRecordBlockDefinition method getItemGroupPropertiesDefinitionGroup.

@Override
public EJPropertyDefinitionGroup getItemGroupPropertiesDefinitionGroup() {
    EJDevPropertyDefinitionGroup mainGroup = new EJDevPropertyDefinitionGroup("LineChart-Record Block: Required Item Group Properties");
    EJDevPropertyDefinition beginAtZero = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.BEGIN_AT_ZERO, EJPropertyDefinitionType.BOOLEAN);
    beginAtZero.setLabel("Begin At Zero");
    beginAtZero.setDescription(" if true, scale will include 0 if it is not already included");
    EJDevPropertyDefinition min = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.MIN, EJPropertyDefinitionType.FLOAT);
    min.setLabel("Min");
    min.setDescription("User defined minimum number for the scale, overrides minimum value from data.");
    EJDevPropertyDefinition max = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.MAX, EJPropertyDefinitionType.FLOAT);
    max.setLabel("Max");
    max.setDescription(" User defined maximum number for the scale, overrides maximum value from data.");
    EJDevPropertyDefinition maxTicksLimit = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.MAX_TICKS_LIMIT, EJPropertyDefinitionType.INTEGER);
    maxTicksLimit.setLabel("Max Ticks Limit");
    maxTicksLimit.setDescription("Maximum number of ticks and gridlines to show.");
    maxTicksLimit.setDefaultValue("20");
    EJDevPropertyDefinition stepSize = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.STEP_SIZE, EJPropertyDefinitionType.FLOAT);
    stepSize.setLabel("Step Size");
    stepSize.setDescription("User defined fixed step size for the scale.");
    EJDevPropertyDefinition suggestedMax = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.SUGGESTED_MAX, EJPropertyDefinitionType.FLOAT);
    suggestedMax.setLabel("Suggested Max");
    suggestedMax.setDescription("Adjustment used when calculating the maximum data value.");
    EJDevPropertyDefinition suggestedMin = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.SUGGESTED_MIN, EJPropertyDefinitionType.FLOAT);
    suggestedMin.setLabel("Suggested Min");
    suggestedMin.setDescription("Adjustment used when calculating the minimum data value.");
    mainGroup.addPropertyDefinition(beginAtZero);
    mainGroup.addPropertyDefinition(min);
    mainGroup.addPropertyDefinition(suggestedMin);
    mainGroup.addPropertyDefinition(max);
    mainGroup.addPropertyDefinition(suggestedMax);
    mainGroup.addPropertyDefinition(stepSize);
    mainGroup.addPropertyDefinition(maxTicksLimit);
    return mainGroup;
}
Also used : EJDevPropertyDefinition(org.entirej.framework.dev.properties.EJDevPropertyDefinition) EJDevPropertyDefinitionGroup(org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup)

Example 38 with EJDevPropertyDefinitionGroup

use of org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup in project rap by entirej.

the class EJRWTLineChartRecordBlockDefinition method getBlockPropertyDefinitionGroup.

/*
     * (non-Javadoc)
     * 
     * @seeorg.entirej.framework.renderers.IBlockRenderer#
     * getBlockPropertyDefinitionGroup()
     */
public EJPropertyDefinitionGroup getBlockPropertyDefinitionGroup() {
    EJDevPropertyDefinitionGroup mainGroup = new EJDevPropertyDefinitionGroup("LineChart-Record Block");
    EJDevPropertyDefinition relationItem = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.X_AXIS_COLUMN, EJPropertyDefinitionType.BLOCK_ITEM);
    relationItem.setLabel("X Axis");
    relationItem.setMandatory(true);
    EJDevPropertyDefinition gridLines = new EJDevPropertyDefinition("gridLines", EJPropertyDefinitionType.BOOLEAN);
    gridLines.setLabel("Grid Lines");
    gridLines.setDescription("If false, do not display grid lines");
    gridLines.setDefaultValue("true");
    EJDevPropertyDefinition animation = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.ANIMATION, EJPropertyDefinitionType.BOOLEAN);
    animation.setLabel("Animation");
    animation.setDefaultValue("true");
    EJDevPropertyDefinition legend = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.SHOW_LEGEND, EJPropertyDefinitionType.BOOLEAN);
    legend.setLabel("Show Legend");
    legend.setDefaultValue("true");
    EJDevPropertyDefinition showToolTips = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.SHOW_TOOLTIPS, EJPropertyDefinitionType.BOOLEAN);
    showToolTips.setLabel("Show ToolTips");
    showToolTips.setDefaultValue("true");
    EJDevPropertyDefinition legendPostions = new EJDevPropertyDefinition(EJRWTChartBlockDefinitionProperties.LEGEND_POSITION, EJPropertyDefinitionType.STRING);
    legendPostions.setLabel("Legend Postion");
    legendPostions.setDefaultValue("top");
    legendPostions.addValidValue("top", "Top");
    legendPostions.addValidValue("bottom", "Bottom");
    legendPostions.addValidValue("left", "Left");
    legendPostions.addValidValue("right", "Right");
    mainGroup.addPropertyDefinition(relationItem);
    mainGroup.addPropertyDefinition(animation);
    mainGroup.addPropertyDefinition(gridLines);
    mainGroup.addPropertyDefinition(showToolTips);
    mainGroup.addPropertyDefinition(legend);
    mainGroup.addPropertyDefinition(legendPostions);
    EJDevPropertyDefinitionGroup sectionGroup = new EJDevPropertyDefinitionGroup("TITLE_BAR");
    sectionGroup.setLabel("Title Bar");
    EJDevPropertyDefinition title = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_TITLE, EJPropertyDefinitionType.STRING);
    title.setLabel("Title");
    title.setDescription("Title Bar Caption.");
    EJDevPropertyDefinition showTitleBarExpanded = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_EXPANDED, EJPropertyDefinitionType.BOOLEAN);
    showTitleBarExpanded.setLabel("Title Bar Expanded");
    showTitleBarExpanded.setDescription("If selected, the renderer will display section title bar expanded by default.");
    showTitleBarExpanded.setDefaultValue("true");
    EJDevPropertyDefinition titleBarmode = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE, EJPropertyDefinitionType.STRING);
    titleBarmode.setLabel("Title Bar Mode");
    titleBarmode.setDescription("The Title Bar dispaly mode");
    titleBarmode.addValidValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_GROUP, "Group");
    titleBarmode.addValidValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_TWISTIE, "Twistie");
    titleBarmode.addValidValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_TREE_NODE, "Tree Node");
    titleBarmode.addValidValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_NO_EXPAND, "Not Expandable");
    // titleBarmode.setDefaultValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_GROUP);
    // titleBarmode.setMandatory(true);
    EJDevPropertyDefinitionList list = new EJDevPropertyDefinitionList(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTIONS, "Actions");
    EJDevPropertyDefinition actionID = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTION_ID, EJPropertyDefinitionType.ACTION_COMMAND);
    actionID.setLabel("Action Command");
    actionID.setDescription("Action command id for action processor.");
    actionID.setMandatory(true);
    EJDevPropertyDefinition actionImage = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTION_IMAGE, EJPropertyDefinitionType.PROJECT_FILE);
    actionImage.setLabel("Action Image");
    actionImage.setDescription("Action image file from project path.");
    actionImage.setMandatory(true);
    EJDevPropertyDefinition actionName = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTION_NAME, EJPropertyDefinitionType.STRING);
    actionName.setLabel("Action Name");
    actionName.setDescription("Action name");
    EJDevPropertyDefinition actionTooltip = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTION_TOOLTIP, EJPropertyDefinitionType.STRING);
    actionTooltip.setLabel("Action Tooltip");
    actionTooltip.setDescription("Action tooltip.");
    list.addPropertyDefinition(actionID);
    list.addPropertyDefinition(actionImage);
    list.addPropertyDefinition(actionName);
    list.addPropertyDefinition(actionTooltip);
    sectionGroup.addPropertyDefinition(titleBarmode);
    sectionGroup.addPropertyDefinition(title);
    sectionGroup.addPropertyDefinitionList(list);
    sectionGroup.addPropertyDefinition(showTitleBarExpanded);
    mainGroup.addSubGroup(sectionGroup);
    return mainGroup;
}
Also used : EJDevPropertyDefinition(org.entirej.framework.dev.properties.EJDevPropertyDefinition) EJDevPropertyDefinitionGroup(org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup) EJDevPropertyDefinitionList(org.entirej.framework.dev.properties.EJDevPropertyDefinitionList)

Example 39 with EJDevPropertyDefinitionGroup

use of org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup in project rap by entirej.

the class EJRWTListRecordBlockDefinition method getBlockPropertyDefinitionGroup.

/*
     * (non-Javadoc)
     * 
     * @seeorg.entirej.framework.renderers.IBlockRenderer#
     * getBlockPropertyDefinitionGroup()
     */
public EJPropertyDefinitionGroup getBlockPropertyDefinitionGroup() {
    EJDevPropertyDefinitionGroup mainGroup = new EJDevPropertyDefinitionGroup("List-Record Block");
    EJDevPropertyDefinition doubleClickActionCommand = new EJDevPropertyDefinition(EJRWTListRecordBlockDefinitionProperties.CLICK_ACTION_COMMAND, EJPropertyDefinitionType.ACTION_COMMAND);
    doubleClickActionCommand.setLabel("Click Action Command");
    doubleClickActionCommand.setDescription("Add an action command that will be sent to the action processor when a user clicks on this block");
    EJDevPropertyDefinition showTableBorder = new EJDevPropertyDefinition(EJRWTListRecordBlockDefinitionProperties.HIDE_TABLE_BORDER, EJPropertyDefinitionType.BOOLEAN);
    showTableBorder.setLabel("Hide Table Border");
    showTableBorder.setDescription("If selected, the renderer will hide the tables standard border");
    showTableBorder.setDefaultValue("false");
    EJDevPropertyDefinition allowRowSelection = new EJDevPropertyDefinition(EJRWTListRecordBlockDefinitionProperties.ROW_SELECTION_PROPERTY, EJPropertyDefinitionType.BOOLEAN);
    allowRowSelection.setLabel("Allow Row Selection");
    allowRowSelection.setDescription("Indicates if row selection is allowed for this block");
    allowRowSelection.setDefaultValue("true");
    EJDevPropertyDefinition filter = new EJDevPropertyDefinition(EJRWTTreeBlockDefinitionProperties.FILTER, EJPropertyDefinitionType.BOOLEAN);
    filter.setLabel("Add Filter");
    filter.setDescription("If selected, the renderer will show Filter support");
    filter.setDefaultValue("false");
    EJDevPropertyDefinition message = new EJDevPropertyDefinition("MESSAGE", EJPropertyDefinitionType.STRING);
    message.setLabel("Filter Message");
    message.setDescription("The message text is displayed as a hint for the user, indicating the purpose of the filter.");
    EJDevPropertyDefinition rawHeight = new EJDevPropertyDefinition(EJRWTListRecordBlockDefinitionProperties.ROW_HEIGHT, EJPropertyDefinitionType.INTEGER);
    rawHeight.setLabel("Raw Height");
    rawHeight.setDescription("Preferred height of raw. If not specified will auto calculate  ");
    mainGroup.addPropertyDefinition(doubleClickActionCommand);
    mainGroup.addPropertyDefinition(showTableBorder);
    mainGroup.addPropertyDefinition(allowRowSelection);
    mainGroup.addPropertyDefinition(rawHeight);
    mainGroup.addPropertyDefinition(filter);
    mainGroup.addPropertyDefinition(message);
    EJDevPropertyDefinitionGroup sectionGroup = new EJDevPropertyDefinitionGroup("TITLE_BAR");
    sectionGroup.setLabel("Title Bar");
    EJDevPropertyDefinition title = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_TITLE, EJPropertyDefinitionType.STRING);
    title.setLabel("Title");
    title.setDescription("Title Bar Caption.");
    EJDevPropertyDefinition showTitleBarExpanded = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_EXPANDED, EJPropertyDefinitionType.BOOLEAN);
    showTitleBarExpanded.setLabel("Title Bar Expanded");
    showTitleBarExpanded.setDescription("If selected, the renderer will display section title bar expanded by default.");
    showTitleBarExpanded.setDefaultValue("true");
    EJDevPropertyDefinition titleBarmode = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE, EJPropertyDefinitionType.STRING);
    titleBarmode.setLabel("Title Bar Mode");
    titleBarmode.setDescription("The Title Bar dispaly mode");
    titleBarmode.addValidValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_GROUP, "Group");
    titleBarmode.addValidValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_TWISTIE, "Twistie");
    titleBarmode.addValidValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_TREE_NODE, "Tree Node");
    titleBarmode.addValidValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_NO_EXPAND, "Not Expandable");
    // titleBarmode.setDefaultValue(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_MODE_GROUP);
    // titleBarmode.setMandatory(true);
    EJDevPropertyDefinitionList list = new EJDevPropertyDefinitionList(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTIONS, "Actions");
    EJDevPropertyDefinition actionID = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTION_ID, EJPropertyDefinitionType.ACTION_COMMAND);
    actionID.setLabel("Action Command");
    actionID.setDescription("Action command id for action processor.");
    actionID.setMandatory(true);
    EJDevPropertyDefinition actionImage = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTION_IMAGE, EJPropertyDefinitionType.PROJECT_FILE);
    actionImage.setLabel("Action Image");
    actionImage.setDescription("Action image file from project path.");
    actionImage.setMandatory(true);
    EJDevPropertyDefinition actionName = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTION_NAME, EJPropertyDefinitionType.STRING);
    actionName.setLabel("Action Name");
    actionName.setDescription("Action name");
    EJDevPropertyDefinition actionTooltip = new EJDevPropertyDefinition(EJRWTSingleRecordBlockDefinitionProperties.ITEM_GROUP_TITLE_BAR_ACTION_TOOLTIP, EJPropertyDefinitionType.STRING);
    actionTooltip.setLabel("Action Tooltip");
    actionTooltip.setDescription("Action tooltip.");
    list.addPropertyDefinition(actionID);
    list.addPropertyDefinition(actionImage);
    list.addPropertyDefinition(actionName);
    list.addPropertyDefinition(actionTooltip);
    sectionGroup.addPropertyDefinition(titleBarmode);
    sectionGroup.addPropertyDefinition(title);
    sectionGroup.addPropertyDefinitionList(list);
    sectionGroup.addPropertyDefinition(showTitleBarExpanded);
    mainGroup.addSubGroup(sectionGroup);
    return mainGroup;
}
Also used : EJDevPropertyDefinition(org.entirej.framework.dev.properties.EJDevPropertyDefinition) EJDevPropertyDefinitionGroup(org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup) EJDevPropertyDefinitionList(org.entirej.framework.dev.properties.EJDevPropertyDefinitionList)

Example 40 with EJDevPropertyDefinitionGroup

use of org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup in project rap by entirej.

the class EJRWTListRecordBlockDefinition method getItemPropertiesDefinitionGroup.

/*
     * (non-Javadoc)
     * 
     * @seeorg.entirej.framework.renderers.IBlockRenderer#
     * getRequiredItemPropertiesDefinitionGroup()
     */
public EJPropertyDefinitionGroup getItemPropertiesDefinitionGroup() {
    EJDevPropertyDefinitionGroup mainGroup = new EJDevPropertyDefinitionGroup("List-Record Block: Required Item Properties");
    EJDevPropertyDefinition visualAttribute = new EJDevPropertyDefinition(EJRWTListRecordBlockDefinitionProperties.VISUAL_ATTRIBUTE_PROPERTY, EJPropertyDefinitionType.VISUAL_ATTRIBUTE);
    visualAttribute.setLabel("Visual Attribute");
    visualAttribute.setDescription("The background, foreground and font attributes applied for screen item");
    visualAttribute.setMandatory(false);
    mainGroup.addPropertyDefinition(visualAttribute);
    return mainGroup;
}
Also used : EJDevPropertyDefinition(org.entirej.framework.dev.properties.EJDevPropertyDefinition) EJDevPropertyDefinitionGroup(org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup)

Aggregations

EJDevPropertyDefinition (org.entirej.framework.dev.properties.EJDevPropertyDefinition)50 EJDevPropertyDefinitionGroup (org.entirej.framework.dev.properties.EJDevPropertyDefinitionGroup)50 EJDevPropertyDefinitionList (org.entirej.framework.dev.properties.EJDevPropertyDefinitionList)15