Here are the examples of the java api org.vaadin.addons.lazyquerycontainer.LazyQueryContainer.addContainerProperty() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
14 Examples
18
View Complete Implementation : ArtifactDetailsLayout.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
private void addArtifactTableProperties(final LazyQueryContainer artifactCont) {
artifactCont.addContainerProperty(PROVIDED_FILE_NAME, Label.clreplaced, "", false, false);
artifactCont.addContainerProperty(SIZE, Long.clreplaced, null, false, false);
artifactCont.addContainerProperty(SHA1HASH, String.clreplaced, null, false, false);
artifactCont.addContainerProperty(MD5HASH, String.clreplaced, null, false, false);
artifactCont.addContainerProperty(CREATED_DATE, Date.clreplaced, null, false, false);
artifactCont.addContainerProperty(LAST_MODIFIED_DATE, Date.clreplaced, null, false, false);
if (!readOnly) {
artifactCont.addContainerProperty(ACTION, Label.clreplaced, null, false, false);
}
}
17
View Complete Implementation : TargetFilterQueryButtons.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
private void addTableProperties() {
final LazyQueryContainer container = (LazyQueryContainer) getContainerDataSource();
container.addContainerProperty(SPUILabelDefinitions.VAR_ID, Long.clreplaced, null, true, true);
container.addContainerProperty(SPUILabelDefinitions.VAR_NAME, String.clreplaced, null, true, true);
}
16
View Complete Implementation : ActionHistoryGrid.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
@Override
protected void addContainerProperties() {
final LazyQueryContainer rawCont = getGeneratedPropertySupport().getRawContainer();
rawCont.addContainerProperty(ProxyAction.PXY_ACTION_IS_ACTIVE_DECO, IsActiveDecoration.clreplaced, null, true, false);
rawCont.addContainerProperty(ProxyAction.PXY_ACTION, Action.clreplaced, null, true, false);
rawCont.addContainerProperty(ProxyAction.PXY_ACTION_DS_NAME_VERSION, String.clreplaced, null, true, false);
rawCont.addContainerProperty(ProxyAction.PXY_ACTION_LAST_MODIFIED_AT, Long.clreplaced, null, true, true);
rawCont.addContainerProperty(ProxyAction.PXY_ACTION_STATUS, Action.Status.clreplaced, null, true, false);
rawCont.addContainerProperty(ProxyAction.PXY_ACTION_ID, String.clreplaced, null, true, true);
rawCont.addContainerProperty(ProxyAction.PXY_ACTION_ROLLOUT_NAME, String.clreplaced, null, true, true);
rawCont.addContainerProperty(ProxyAction.PXY_ACTION_MAINTENANCE_WINDOW, String.clreplaced, null, true, false);
}
16
View Complete Implementation : ActionStatusGrid.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
@Override
protected void addContainerProperties() {
final LazyQueryContainer lqContainer = getLazyQueryContainer();
lqContainer.addContainerProperty(ProxyActionStatus.PXY_AS_CREATED_AT, Long.clreplaced, null, true, true);
lqContainer.addContainerProperty(ProxyActionStatus.PXY_AS_STATUS, Action.Status.clreplaced, null, true, false);
}
16
View Complete Implementation : DistributionAddUpdateWindowLayout.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
/**
* Get the LazyQueryContainer instance for DistributionSetTypes.
*
* @return
*/
private static LazyQueryContainer getDistSetTypeLazyQueryContainer() {
final BeanQueryFactory<DistributionSetTypeBeanQuery> dtQF = new BeanQueryFactory<>(DistributionSetTypeBeanQuery.clreplaced);
dtQF.setQueryConfiguration(Collections.emptyMap());
final LazyQueryContainer disttypeContainer = new LazyQueryContainer(new LazyQueryDefinition(true, SPUIDefinitions.DIST_TYPE_SIZE, SPUILabelDefinitions.VAR_ID), dtQF);
disttypeContainer.addContainerProperty(SPUILabelDefinitions.VAR_NAME, String.clreplaced, "", true, true);
return disttypeContainer;
}
16
View Complete Implementation : RolloutGroupTargetsListGrid.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
@Override
protected void addContainerProperties() {
final LazyQueryContainer rolloutGroupTargetGridContainer = (LazyQueryContainer) getContainerDataSource();
rolloutGroupTargetGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_NAME, String.clreplaced, "", false, true);
rolloutGroupTargetGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_STATUS, Status.clreplaced, Status.RETRIEVED, false, false);
rolloutGroupTargetGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_BY, String.clreplaced, null, false, true);
rolloutGroupTargetGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_BY, String.clreplaced, null, false, true);
rolloutGroupTargetGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_DATE, String.clreplaced, null, false, true);
rolloutGroupTargetGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_DATE, String.clreplaced, null, false, true);
rolloutGroupTargetGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.clreplaced, "", false, true);
}
14
View Complete Implementation : AbstractFilterButtons.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
private void addTableProperties() {
final LazyQueryContainer container = (LazyQueryContainer) getContainerDataSource();
container.addContainerProperty(SPUILabelDefinitions.VAR_ID, Long.clreplaced, null, true, true);
container.addContainerProperty(SPUILabelDefinitions.VAR_COLOR, String.clreplaced, "", true, true);
container.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.clreplaced, "", true, true);
container.addContainerProperty(SPUILabelDefinitions.VAR_NAME, String.clreplaced, null, true, true);
}
12
View Complete Implementation : RolloutGroupListGrid.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
@Override
protected void addContainerProperties() {
final LazyQueryContainer rolloutGroupGridContainer = (LazyQueryContainer) getContainerDataSource();
rolloutGroupGridContainer.addContainerProperty(ROLLOUT_RENDERER_DATA, RolloutRendererData.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_STATUS, RolloutGroupStatus.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.ROLLOUT_GROUP_INSTALLED_PERCENTAGE, String.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.ROLLOUT_GROUP_ERROR_THRESHOLD, String.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.ROLLOUT_GROUP_THRESHOLD, String.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_DATE, String.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_MODIFIED_DATE, String.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_USER, String.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_MODIFIED_BY, String.clreplaced, null, false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_TOTAL_TARGETS, String.clreplaced, "0", false, false);
rolloutGroupGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_TOTAL_TARGETS_COUNT_STATUS, TotalTargetCountStatus.clreplaced, null, false, false);
}
11
View Complete Implementation : HawkbitCommonUtil.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
/**
* Set distribution table column properties.
*
* @param container
* table container
*/
public static void getDsTableColumnProperties(final Container container) {
final LazyQueryContainer lqc = (LazyQueryContainer) container;
lqc.addContainerProperty(SPUILabelDefinitions.VAR_ID, Long.clreplaced, null, false, false);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.clreplaced, "", false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_VERSION, String.clreplaced, null, false, false);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_NAME, String.clreplaced, null, false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_BY, String.clreplaced, null, false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_BY, String.clreplaced, null, false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_DATE, String.clreplaced, null, false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_DATE, String.clreplaced, null, false, true);
}
10
View Complete Implementation : CreateOrUpdateFilterTable.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
/**
* Create a empty HierarchicalContainer.
*/
private void addContainerproperties() {
/* Create HierarchicalContainer container */
container.addContainerProperty(SPUILabelDefinitions.NAME, String.clreplaced, null);
container.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_BY, String.clreplaced, null);
container.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_DATE, Date.clreplaced, null);
container.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_BY, String.clreplaced, null, false, true);
container.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_DATE, String.clreplaced, null, false, true);
container.addContainerProperty(SPUILabelDefinitions.VAR_TARGET_STATUS, TargetUpdateStatus.clreplaced, null);
container.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.clreplaced, "", false, true);
container.addContainerProperty(replacedIGN_DIST_SET, DistributionSet.clreplaced, null, false, true);
container.addContainerProperty(INSTALL_DIST_SET, DistributionSet.clreplaced, null, false, true);
container.addContainerProperty(SPUILabelDefinitions.replacedIGNED_DISTRIBUTION_NAME_VER, String.clreplaced, "");
container.addContainerProperty(SPUILabelDefinitions.INSTALLED_DISTRIBUTION_NAME_VER, String.clreplaced, null);
}
8
View Complete Implementation : TargetTable.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
@Override
protected void addContainerProperties(final Container container) {
final LazyQueryContainer targetTableContainer = (LazyQueryContainer) container;
targetTableContainer.addContainerProperty(SPUILabelDefinitions.VAR_CONT_ID, String.clreplaced, "", false, false);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.VAR_NAME, String.clreplaced, "", false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.VAR_TARGET_STATUS, TargetUpdateStatus.clreplaced, TargetUpdateStatus.UNKNOWN, false, false);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.replacedIGNED_DISTRIBUTION_ID, Long.clreplaced, null, false, false);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.INSTALLED_DISTRIBUTION_ID, Long.clreplaced, null, false, false);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.replacedIGNED_DISTRIBUTION_NAME_VER, String.clreplaced, "", false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.INSTALLED_DISTRIBUTION_NAME_VER, String.clreplaced, "", false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.LAST_QUERY_DATE, Date.clreplaced, null, false, false);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_BY, String.clreplaced, null, false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_BY, String.clreplaced, null, false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_DATE, String.clreplaced, null, false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_DATE, String.clreplaced, null, false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.VAR_POLL_STATUS_TOOL_TIP, String.clreplaced, null, false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.clreplaced, "", false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.replacedIGN_DIST_SET, DistributionSet.clreplaced, null, false, true);
targetTableContainer.addContainerProperty(SPUILabelDefinitions.INSTALL_DIST_SET, DistributionSet.clreplaced, null, false, true);
}
7
View Complete Implementation : SoftwareModuleTable.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
@Override
protected void addContainerProperties(final Container container) {
final LazyQueryContainer lqc = (LazyQueryContainer) container;
lqc.addContainerProperty("nameAndVersion", String.clreplaced, null, false, false);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_ID, Long.clreplaced, null, false, false);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.clreplaced, "", false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_VERSION, String.clreplaced, null, false, false);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_NAME, String.clreplaced, null, false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_VENDOR, String.clreplaced, null, false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_BY, String.clreplaced, null, false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_BY, String.clreplaced, null, false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_DATE, String.clreplaced, null, false, true);
lqc.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_DATE, String.clreplaced, null, false, true);
}
5
View Complete Implementation : RolloutListGrid.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
@Override
protected void addContainerProperties() {
final LazyQueryContainer rolloutGridContainer = getGeneratedPropertySupport().getRawContainer();
rolloutGridContainer.addContainerProperty(ROLLOUT_RENDERER_DATA, RolloutRendererData.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_STATUS, RolloutStatus.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_DIST_NAME_VERSION, String.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_DATE, String.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_APPROVAL_DECIDED_BY, String.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(PROP_TYPE, ActionType.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_APPROVAL_REMARK, String.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_MODIFIED_DATE, String.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_USER, String.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_MODIFIED_BY, String.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_NUMBER_OF_GROUPS, Integer.clreplaced, 0, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_TOTAL_TARGETS, String.clreplaced, "0", false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_TOTAL_TARGETS_COUNT_STATUS, TotalTargetCountStatus.clreplaced, null, false, false);
rolloutGridContainer.addContainerProperty(SPUILabelDefinitions.VAR_STATUS, RolloutStatus.clreplaced, null, true, false);
}
4
View Complete Implementation : SwModuleTable.java
Copyright Eclipse Public License 1.0
Author : eclipse
Copyright Eclipse Public License 1.0
Author : eclipse
@Override
protected void addContainerProperties(final Container container) {
final LazyQueryContainer lazyContainer = (LazyQueryContainer) container;
lazyContainer.addContainerProperty(SPUILabelDefinitions.NAME_VERSION, String.clreplaced, null, false, false);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_ID, Long.clreplaced, null, false, false);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.clreplaced, "", false, true);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_VERSION, String.clreplaced, null, false, false);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_NAME, String.clreplaced, null, false, true);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_VENDOR, String.clreplaced, null, false, true);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_BY, String.clreplaced, null, false, true);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_BY, String.clreplaced, null, false, true);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_DATE, String.clreplaced, null, false, true);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_DATE, String.clreplaced, null, false, true);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_COLOR, String.clreplaced, null, false, true);
lazyContainer.addContainerProperty(SPUILabelDefinitions.VAR_SOFT_TYPE_ID, Long.clreplaced, null, false, true);
}