Package com.salas.bb.domain

Examples of com.salas.bb.domain.DataFeed$ArticlesListener


        {
            int guideIndex = (int)(Math.random() * cfgGuides);
            int feedIndex = (int)(Math.random() * cfgFeedsPerGuide);

            IGuide guide = getGuidesSet().getGuideAt(guideIndex);
            DataFeed feed = (DataFeed)guide.getFeedAt(feedIndex);
            feeds[i] = feed;

            feed.setInitTime(-1);
            feed.setInvalidnessReason("Test");
            feed.update();
        }

        // Wait while they are loading
        for (int i = 0; i < feeds.length; i++) waitForInitialization(feeds[i]);
    }
View Full Code Here


        int rating = -1;

        if (feed != null || !(feed instanceof DataFeed))
        {
            DataFeed dataFeed = (DataFeed)feed;
            rating = dataFeed.getRating() + 1;
        }

        return operation.match(Integer.toString(rating), value);
    }
View Full Code Here

            builder.nextLine();
        }

        if (feed instanceof DataFeed)
        {
            DataFeed dfeed = (DataFeed)feed;
            long initialUpdatePeriod = dfeed.getUpdatePeriod();

            pnlFeedUpdatePeriod = new FeedUpdatePeriodPanel(initialUpdatePeriod);

            builder.append(Strings.message("show.feed.properties.tab.advanced.handling.type"));
            builder.append(cbHandlingType, 5);
View Full Code Here

            }

            // Propagate the update period
            if (feed instanceof DataFeed)
            {
                DataFeed dfeed = (DataFeed)feed;
                dfeed.setUpdatePeriod(pnlFeedUpdatePeriod.getUpdatePeriod());
            }

           
            super.doAccept();
        } else
View Full Code Here

TOP

Related Classes of com.salas.bb.domain.DataFeed$ArticlesListener

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.