Search in sources :

Example 1 with EJPropertyDefinitionGroup

use of org.entirej.framework.core.properties.definitions.interfaces.EJPropertyDefinitionGroup in project rap by entirej.

the class EJRWTInsertScreenRendererDefinition method getInsertScreenPropertyDefinitionGroup.

public EJPropertyDefinitionGroup getInsertScreenPropertyDefinitionGroup() {
    EJPropertyDefinitionGroup mainGroup = getScreenPropertyDefinitions();
    EJDevPropertyDefinition save = new EJDevPropertyDefinition(EJRWTScreenRendererDefinitionProperties.SAVE_FORM_AFTER_EXECUTE, EJPropertyDefinitionType.BOOLEAN);
    save.setLabel("Save after execute");
    save.setDescription("Indicates if a form save should be executed after accepting the insert");
    save.setDefaultValue("false");
    mainGroup.addPropertyDefinition(save);
    addExtraButtonsGroup(mainGroup);
    return mainGroup;
}
Also used : EJPropertyDefinitionGroup(org.entirej.framework.core.properties.definitions.interfaces.EJPropertyDefinitionGroup) EJDevPropertyDefinition(org.entirej.framework.dev.properties.EJDevPropertyDefinition)

Example 2 with EJPropertyDefinitionGroup

use of org.entirej.framework.core.properties.definitions.interfaces.EJPropertyDefinitionGroup in project rap by entirej.

the class EJRWTUpdateScreenRendererDefinition method getUpdateScreenPropertyDefinitionGroup.

public EJPropertyDefinitionGroup getUpdateScreenPropertyDefinitionGroup() {
    EJPropertyDefinitionGroup mainGroup = getScreenPropertyDefinitions();
    EJDevPropertyDefinition save = new EJDevPropertyDefinition(EJRWTScreenRendererDefinitionProperties.SAVE_FORM_AFTER_EXECUTE, EJPropertyDefinitionType.BOOLEAN);
    save.setLabel("Save after execute");
    save.setDescription("Indicates if a form save should be executed after accepting the changes");
    save.setDefaultValue("false");
    mainGroup.addPropertyDefinition(save);
    addExtraButtonsGroup(mainGroup);
    return mainGroup;
}
Also used : EJPropertyDefinitionGroup(org.entirej.framework.core.properties.definitions.interfaces.EJPropertyDefinitionGroup) EJDevPropertyDefinition(org.entirej.framework.dev.properties.EJDevPropertyDefinition)

Example 3 with EJPropertyDefinitionGroup

use of org.entirej.framework.core.properties.definitions.interfaces.EJPropertyDefinitionGroup in project rap by entirej.

the class EJRWTQueryScreenRendererDefinition method getQueryScreenPropertyDefinitionGroup.

public EJPropertyDefinitionGroup getQueryScreenPropertyDefinitionGroup() {
    EJPropertyDefinitionGroup mainGroup = getScreenPropertyDefinitions();
    EJDevPropertyDefinition clearButtonLabel = new EJDevPropertyDefinition(EJRWTScreenRendererDefinitionProperties.CLEAR_BUTTON_TEXT, EJPropertyDefinitionType.STRING);
    clearButtonLabel.setLabel("Clear Button Label");
    clearButtonLabel.setDescription("The label displayed on the clear button");
    mainGroup.addPropertyDefinition(clearButtonLabel);
    return mainGroup;
}
Also used : EJPropertyDefinitionGroup(org.entirej.framework.core.properties.definitions.interfaces.EJPropertyDefinitionGroup) EJDevPropertyDefinition(org.entirej.framework.dev.properties.EJDevPropertyDefinition)

Aggregations

EJPropertyDefinitionGroup (org.entirej.framework.core.properties.definitions.interfaces.EJPropertyDefinitionGroup)3 EJDevPropertyDefinition (org.entirej.framework.dev.properties.EJDevPropertyDefinition)3