Package org.kie.workbench.common.services.datamodel.model

Examples of org.kie.workbench.common.services.datamodel.model.DropDownData


                   defaultValue );
            this.oracle = oracle;
            this.context = context;

            //Check if there is an enumeration
            final DropDownData dd = oracle.getEnums( context.getBasePattern().getFactType(),
                                                     ( (ConditionCol52) context.getBaseColumn() ).getFactField(),
                                                     new HashMap<String, String>() );
            if ( dd != null ) {
                this.values = convertValueList( getSplitValues( dd.getFixedList() ) );
                this.originalValues = this.values;
                this.initialiseValueList = false;
                this.isAllValuesUsed = false;
            }
View Full Code Here


                            }
                        }
                    }
                }
                this.initialiseValueList = false;
                final DropDownData dd = oracle.getEnums( context.getBasePattern().getFactType(),
                                                         ( (ConditionCol52) context.getBaseColumn() ).getFactField(),
                                                         currentValueMap );
                if ( dd != null ) {
                    this.values = convertValueList( getSplitValues( dd.getFixedList() ) );
                    this.originalValues = this.values;
                    this.isAllValuesUsed = false;
                } else {
                    this.values = new ArrayList<DTCellValue52>();
                    this.values.add( defaultValue );
View Full Code Here

        } else if ( oracle.hasEnums( pattern.getFactType(),
                                     column.getFactField() ) ) {
            final LimitedEntryDropDownManager.Context context = new LimitedEntryDropDownManager.Context( pattern,
                                                 column );
            final Map<String, String> currentValueMap = dropDownManager.getCurrentValueMap( context );
            final DropDownData dd = oracle.getEnums( pattern.getFactType(),
                                                     column.getFactField(),
                                                     currentValueMap );
            if ( dd == null ) {
                return makeListBox( new String[ 0 ],
                                    pattern,
                                    column,
                                    value );
            }
            return makeListBox( dd.getFixedList(),
                                pattern,
                                column,
                                value );
        }
View Full Code Here

        } else if ( oracle.hasEnums( pattern.getFactType(),
                                     column.getFactField() ) ) {
            final LimitedEntryDropDownManager.Context context = new LimitedEntryDropDownManager.Context( pattern,
                                                 column );
            final Map<String, String> currentValueMap = dropDownManager.getCurrentValueMap( context );
            final DropDownData dd = oracle.getEnums( pattern.getFactType(),
                                                     column.getFactField(),
                                                     currentValueMap );
            if ( dd == null ) {
                return makeListBox( new String[ 0 ],
                                    pattern,
                                    column,
                                    value );
            }
            return makeListBox( dd.getFixedList(),
                                pattern,
                                column,
                                value );
        }
View Full Code Here

        } else if ( oracle.hasEnums( column.getFactType(),
                                     column.getFactField() ) ) {
            final LimitedEntryDropDownManager.Context context = new LimitedEntryDropDownManager.Context( column );
            final Map<String, String> currentValueMap = dropDownManager.getCurrentValueMap( context );
            final DropDownData dd = oracle.getEnums( column.getFactType(),
                                                     column.getFactField(),
                                                     currentValueMap );
            if ( dd == null ) {
                return makeListBox( new String[ 0 ],
                                    column,
                                    value );
            }
            return makeListBox( dd.getFixedList(),
                                column,
                                value );
        }

        DataType.DataTypes type = utils.getTypeSafeType( column );
View Full Code Here

        } else if ( oracle.hasEnums( pattern.getFactType(),
                                     column.getFactField() ) ) {
            final LimitedEntryDropDownManager.Context context = new LimitedEntryDropDownManager.Context( pattern,
                                                 column );
            final Map<String, String> currentValueMap = dropDownManager.getCurrentValueMap( context );
            final DropDownData dd = oracle.getEnums( pattern.getFactType(),
                                                     column.getFactField(),
                                                     currentValueMap );
            if ( dd == null ) {
                return makeListBox( new String[ 0 ],
                                    pattern,
                                    column,
                                    value );
            }
            return makeListBox( dd.getFixedList(),
                                pattern,
                                column,
                                value );
        }
View Full Code Here

        } else if ( oracle.hasEnums( pattern.getFactType(),
                                     column.getFactField() ) ) {
            final LimitedEntryDropDownManager.Context context = new LimitedEntryDropDownManager.Context( pattern,
                                                 column );
            final Map<String, String> currentValueMap = dropDownManager.getCurrentValueMap( context );
            final DropDownData dd = oracle.getEnums( pattern.getFactType(),
                                                     column.getFactField(),
                                                     currentValueMap );
            if ( dd == null ) {
                return makeListBox( new String[ 0 ],
                                    pattern,
                                    column,
                                    value );
            }
            return makeListBox( dd.getFixedList(),
                                pattern,
                                column,
                                value );
        }
View Full Code Here

        } else if ( oracle.hasEnums( column.getFactType(),
                                     column.getFactField() ) ) {
            final LimitedEntryDropDownManager.Context context = new LimitedEntryDropDownManager.Context( column );
            final Map<String, String> currentValueMap = dropDownManager.getCurrentValueMap( context );
            final DropDownData dd = oracle.getEnums( column.getFactType(),
                                                     column.getFactField(),
                                                     currentValueMap );
            if ( dd == null ) {
                return makeListBox( new String[ 0 ],
                                    column,
                                    value );
            }
            return makeListBox( dd.getFixedList(),
                                column,
                                value );
        }

        DataType.DataTypes type = utils.getTypeSafeType( column );
View Full Code Here

                   defaultValue );
            this.oracle = oracle;
            this.context = context;

            //Check if there is an enumeration
            final DropDownData dd = oracle.getEnums( context.getBasePattern().getFactType(),
                                                     ( (ConditionCol52) context.getBaseColumn() ).getFactField(),
                                                     new HashMap<String, String>() );
            if ( dd != null ) {
                this.values = convertValueList( getSplitValues( dd.getFixedList() ) );
                this.originalValues = this.values;
                this.initialiseValueList = false;
                this.isAllValuesUsed = false;
            }
View Full Code Here

                            }
                        }
                    }
                }
                this.initialiseValueList = false;
                final DropDownData dd = oracle.getEnums( context.getBasePattern().getFactType(),
                                                         ( (ConditionCol52) context.getBaseColumn() ).getFactField(),
                                                         currentValueMap );
                if ( dd != null ) {
                    this.values = convertValueList( getSplitValues( dd.getFixedList() ) );
                    this.originalValues = this.values;
                    this.isAllValuesUsed = false;
                } else {
                    this.values = new ArrayList<DTCellValue52>();
                    this.values.add( defaultValue );
View Full Code Here

TOP

Related Classes of org.kie.workbench.common.services.datamodel.model.DropDownData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.