Package org.useware.kernel.gui.behaviour

Examples of org.useware.kernel.gui.behaviour.StatementEvent


                    String selection = comboBox.getValue(comboBox.getSelectedIndex());

                    if (selection != null && !selection.equals("")) {
                        // create a select statement
                        eventBus.fireEventFromSource(
                                new StatementEvent(
                                        CommonQNames.SELECT_ID,
                                        "selected.entity",
                                        selection),   // synthetic key (convention), see LoadResourceProcedure
                                getInteractionUnit().getId());

                        previousSelection = selection;

                    } else {
                        // clear the select statement
                        eventBus.fireEventFromSource(
                                new StatementEvent(
                                        CommonQNames.SELECT_ID,
                                        "selected.entity",
                                        null),
                                getInteractionUnit().getId());
View Full Code Here

TOP

Related Classes of org.useware.kernel.gui.behaviour.StatementEvent

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.