Examples of IWeblogAPI


Examples of com.salas.bb.remixfeeds.api.IWeblogAPI

     *
     * @param apiType API type.
     */
    public void setApiType(IWeblogAPI apiType)
    {
        IWeblogAPI oldApiType = this.apiType;
        this.apiType = apiType;
        firePropertyChange(PROP_API_TYPE, oldApiType, apiType);
    }
View Full Code Here

Examples of com.salas.bb.remixfeeds.api.IWeblogAPI

         * @param evt A PropertyChangeEvent object describing the event source and the property that has changed.
         */

        public void propertyChange(PropertyChangeEvent evt)
        {
            IWeblogAPI type = (IWeblogAPI)vmAPI.getValue();
            if (type != null)
            {
                boolean newEnabled = type.isApiUrlApplicable();
                boolean oldEnabled = tfURL.isEnabled();

                if (newEnabled != oldEnabled)
                {
                    tfURL.setEnabled(newEnabled);
                    if (newEnabled)
                    {
                        tfURL.setText(lastEnteredURL);
                    } else
                    {
                        lastEnteredURL = tfURL.getText();
                        tfURL.setText(Strings.message("ptb.prefs.details.setup.not.applicable"));
                    }
                }

                taDescription.setText(type.getDescription());
            }
        }
View Full Code Here

Examples of com.salas.bb.remixfeeds.api.IWeblogAPI

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

                        post.categories = getCategoriesForBlog(i);

                        // Perform a call
                        try
                        {
                            api.newPost(targetBlog, post);
                        } catch (WeblogAPIException e1)
                        {
                            ex = e1;
                            LOG.log(Level.WARNING, e1.getMessage(), e1);
                        }
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.