src/org/tiefaces/components/websheet/configuration/FormCommand.java
@Override
	/**
	 * build the command area at the row.
	 */
	public final int buildAt(String fullName,
			final ConfigBuildRef configBuildRef, final int atRow,
			final Map<String, Object> context,
			List<RowsMapping> currentRowsMappingList) {

		configBuildRef.setWatchList(buildFormWatchList(
				configBuildRef.getWbWrapper(), configBuildRef.getSheet()));
		fullName = this.getCommandName();

		RowsMapping unitRowsMapping = new RowsMapping();
		for (Integer index : configBuildRef.getWatchList()) {
			if (ConfigurationUtility.isStaticRow(this.getConfigRange(),
					index)) {
				unitRowsMapping.addRow(index,
						configBuildRef.getSheet().getRow(index));
			}
		}
		currentRowsMappingList = new ArrayList<>();
		currentRowsMappingList.add(unitRowsMapping);
		this.getConfigRange().getAttrs().setAllowAdd(false);
		configBuildRef.putShiftAttrs(fullName,
				this.getConfigRange().getAttrs(),
				new RowsMapping(unitRowsMapping));
		configBuildRef.setOriginConfigRange(
				new ConfigRange(this.getConfigRange()));
		configBuildRef.getOriginConfigRange()
				.indexCommandRange(configBuildRef.getCommandIndexMap());
		int length = this.getConfigRange().buildAt(fullName, configBuildRef,
				atRow, context, currentRowsMappingList);
		this.getConfigRange().getAttrs().setFinalLength(length);
		this.setFinalLength(length);
		configBuildRef.getSheet().setColumnHidden(
				TieConstants.HIDDEN_FULL_NAME_COLUMN, true);
		configBuildRef.getSheet().setColumnHidden(
				TieConstants.HIDDEN_SAVE_OBJECTS_COLUMN, true);
		configBuildRef.getSheet().setColumnHidden(
				TieConstants.HIDDEN_ORIGIN_ROW_NUMBER_COLUMN, true);

		return length;
	}
@Override
	/**
	 * build the command area at the row.
	 */
	public final int buildAt(String fullName,
			final ConfigBuildRef configBuildRef, final int atRow,
			final Map<String, Object> context,
			List<RowsMapping> currentRowsMappingList) {

		configBuildRef.setWatchList(buildFormWatchList(
				configBuildRef.getWbWrapper(), configBuildRef.getSheet()));
		fullName = this.getCommandName();

		RowsMapping unitRowsMapping = new RowsMapping();
		for (Integer index : configBuildRef.getWatchList()) {
			if (ConfigurationUtility.isStaticRow(this.getConfigRange(),
					index)) {
				unitRowsMapping.addRow(index,
						configBuildRef.getSheet().getRow(index));
			}
		}
		currentRowsMappingList = new ArrayList<>();
		currentRowsMappingList.add(unitRowsMapping);
		this.getConfigRange().getAttrs().setAllowAdd(false);
		configBuildRef.putShiftAttrs(fullName,
				this.getConfigRange().getAttrs(),
				new RowsMapping(unitRowsMapping));
		configBuildRef.setOriginConfigRange(
				new ConfigRange(this.getConfigRange()));
		configBuildRef.getOriginConfigRange()
				.indexCommandRange(configBuildRef.getCommandIndexMap());
		int length = this.getConfigRange().buildAt(fullName, configBuildRef,
				atRow, context, currentRowsMappingList);
		this.getConfigRange().getAttrs().setFinalLength(length);
		this.setFinalLength(length);
		configBuildRef.getSheet().setColumnHidden(
				TieConstants.HIDDEN_FULL_NAME_COLUMN, true);
		configBuildRef.getSheet().setColumnHidden(
				TieConstants.HIDDEN_SAVE_OBJECTS_COLUMN, true);
		configBuildRef.getSheet().setColumnHidden(
				TieConstants.HIDDEN_ORIGIN_ROW_NUMBER_COLUMN, true);

		return length;
	}
@ Override /**
	 * build the command area at the row.
	 */ public final int buildAt ( String fullName , final ConfigBuildRef configBuildRef , final int atRow , final Map < String , Object > context , List < RowsMapping > currentRowsMappingList ) { configBuildRef . setWatchList ( buildFormWatchList ( configBuildRef . getWbWrapper ( ) , configBuildRef . getSheet ( ) ) ) ; fullName = this . getCommandName ( ) ; RowsMapping unitRowsMapping = new RowsMapping ( ) ; for ( Integer index : configBuildRef . getWatchList ( ) ) { if ( ConfigurationUtility . isStaticRow ( this . getConfigRange ( ) , index ) ) { unitRowsMapping . addRow ( index , configBuildRef . getSheet ( ) . getRow ( index ) ) ; } } currentRowsMappingList = new ArrayList <> ( ) ; currentRowsMappingList . add ( unitRowsMapping ) ; this . getConfigRange ( ) . getAttrs ( ) . setAllowAdd ( false ) ; configBuildRef . putShiftAttrs ( fullName , this . getConfigRange ( ) . getAttrs ( ) , new RowsMapping ( unitRowsMapping ) ) ; configBuildRef . setOriginConfigRange ( new ConfigRange ( this . getConfigRange ( ) ) ) ; configBuildRef . getOriginConfigRange ( ) . indexCommandRange ( configBuildRef . getCommandIndexMap ( ) ) ; int length = this . getConfigRange ( ) . buildAt ( fullName , configBuildRef , atRow , context , currentRowsMappingList ) ; this . getConfigRange ( ) . getAttrs ( ) . setFinalLength ( length ) ; this . setFinalLength ( length ) ; configBuildRef . getSheet ( ) . setColumnHidden ( TieConstants . HIDDEN_FULL_NAME_COLUMN , true ) ; configBuildRef . getSheet ( ) . setColumnHidden ( TieConstants . HIDDEN_SAVE_OBJECTS_COLUMN , true ) ; configBuildRef . getSheet ( ) . setColumnHidden ( TieConstants . HIDDEN_ORIGIN_ROW_NUMBER_COLUMN , true ) ; return length ; }
/*
(non-Javadoc)

@see
org.tiefaces.components.websheet.configuration.Command#buildAt(java.lang.
String, org.tiefaces.components.websheet.configuration.ConfigBuildRef,
int, java.util.Map, java.util.List)
/ * ( non - Javadoc )