Examples of TargetBlog


Examples of com.salas.bb.remixfeeds.prefs.TargetBlog

        BloggingPreferences bloggingPreferences = GlobalModel.SINGLETON.getUserPreferences().getBloggingPreferences();
        if (type.isAvailable() && bloggingPreferences.getBlogsCount() > 0)
        {
            GlobalController controller = GlobalController.SINGLETON;

            TargetBlog targetBlog = bloggingPreferences.getDefaultBlog();

            String templateName = e.getActionCommand();
            if (!Templates.isExisting(templateName))
            {
                templateName = targetBlog.getTemplateName();

                // See if the user wants to change the template dynamically
                if ((e.getModifiers() & KeyEvent.SHIFT_MASK) != 0 && type.isTemplateChangeSupported())
                {
                    // Ask for mode in a popup menu and repeat the event
View Full Code Here

Examples of com.salas.bb.remixfeeds.prefs.TargetBlog

                    addProperties(post);

                    List<Integer> ind = getSelectedBlogIndices();
                    for (int i : ind)
                    {
                        TargetBlog targetBlog = getBlogAt(i);
                        IWeblogAPI api = targetBlog.getApiType();

                        post.categories = getCategoriesForBlog(i);

                        // Perform a call
                        try
View Full Code Here

Examples of com.salas.bb.remixfeeds.prefs.TargetBlog

        for (int i = 0; i < targetBlogs.length; i++)
        {
            categoryProperties[i] = new SyntheticCategoryProperty(i);

            TargetBlog blog = targetBlogs[i];
            initCategories(blog, i, new TargetBlog.Category[] { blog.getDefaultCategory() });

            PropertyAdapter adapter = new PropertyAdapter(categoryProperties[i], SyntheticCategoryProperty.PROP, true);
            pcCategories[i] = new CategoriesLabel(categories[i], adapter);

            chTargetBlog[i] = new JCheckBox(blog.getTitle());

            if (selBlogs.contains(blog))
            {
                chTargetBlog[i].setSelected(true);
                setDraft(blog.isDraft());
            }
        }

        updateTitle(selected);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.