Package tod.impl.dbgrid.aggregator

Examples of tod.impl.dbgrid.aggregator.GridEventBrowser


        if (!events.hasNext()) {
            return events;
        }

        if (events instanceof GridEventBrowser) {
            GridEventBrowser gridEvents = (GridEventBrowser) events;

            // The first event here will always be the parent
            ILogEvent firstEvent = events.next();

            ILogEvent lastEvent = firstEvent;
            while (events.hasNext() && !(lastEvent instanceof BehaviorExitEvent)) {
                lastEvent = events.next();
            }

            gridEvents.setBounds(firstEvent, lastEvent);
            gridEvents.setNextEvent(firstEvent);
            return gridEvents;
        }

        return null;
    }
View Full Code Here


        if (!events.hasNext()) {
            return events;
        }

        if (events instanceof GridEventBrowser) {
            GridEventBrowser gridEvents = (GridEventBrowser) events;

            // The first event here will always be the parent
            ILogEvent firstEvent = events.next();

            ILogEvent lastEvent = firstEvent;
            while (events.hasNext() && !(lastEvent instanceof BehaviorExitEvent)) {
                lastEvent = events.next();
            }

            gridEvents.setBounds(firstEvent, lastEvent);
            gridEvents.setNextEvent(firstEvent);
            return gridEvents;
        }

        return null;
    }
View Full Code Here

TOP

Related Classes of tod.impl.dbgrid.aggregator.GridEventBrowser

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.