Examples of UIPluginManager


Examples of org.apache.roller.ui.core.plugins.UIPluginManager

        return editorPage;
    }

    public WeblogEntryEditor getEditor() {
       
        UIPluginManager pmgr = RollerContext.getUIPluginManager();
        return pmgr.getWeblogEntryEditor(this.website.getEditorPage());
    }
View Full Code Here

Examples of org.apache.roller.ui.core.plugins.UIPluginManager

   
    private List getEditorsList() {
       
        List editorsList = null;
       
        UIPluginManager pmgr = RollerContext.getUIPluginManager();
        editorsList = pmgr.getWeblogEntryEditors();
        if(editorsList == null) {
            editorsList = new ArrayList();
        }
       
        return editorsList;
View Full Code Here

Examples of org.apache.roller.ui.core.plugins.UIPluginManager

    public void tearDown() throws Exception { }
   
   
    public void testEntryEditors() throws Exception {
       
        UIPluginManager pmgr = RollerContext.getUIPluginManager();
       
        // test getEditors() lis
        assertEquals(2, pmgr.getWeblogEntryEditors().size());
       
        // test getting a single editor
        assertEquals("TextEditor", pmgr.getWeblogEntryEditor("TextEditor").getId());
       
        // make sure we return default editor if editor id is not found
        assertEquals("TextEditor", pmgr.getWeblogEntryEditor(null).getId());
    }
View Full Code Here

Examples of org.apache.roller.weblogger.ui.core.plugins.UIPluginManager

    public void tearDown() throws Exception { }
   
   
    public void testEntryEditors() throws Exception {
       
        UIPluginManager pmgr = RollerContext.getUIPluginManager();
       
        // test getEditors() lis
        assertEquals(2, pmgr.getWeblogEntryEditors().size());
       
        // test getting a single editor
        assertEquals("editor-text.jsp", pmgr.getWeblogEntryEditor("TextEditor").getId());
       
        // make sure we return default editor if editor id is not found
        assertEquals("editor-text.jsp", pmgr.getWeblogEntryEditor(null).getId());
    }
View Full Code Here

Examples of org.apache.roller.weblogger.ui.core.plugins.UIPluginManager

        return availablePlugins;
    }
   
   
    public WeblogEntryEditor getEditor() {
        UIPluginManager pmgr = RollerContext.getUIPluginManager();
        return pmgr.getWeblogEntryEditor(getActionWeblog().getEditorPage());
    }
View Full Code Here

Examples of org.apache.roller.weblogger.ui.core.plugins.UIPluginManager

           
            // set categories list
            setWeblogCategories(wmgr.getWeblogCategories(getActionWeblog(), false));
           
            // set the Editor Page list
            UIPluginManager pmgr = RollerContext.getUIPluginManager();
            List editorsList = pmgr.getWeblogEntryEditors();
            if(editorsList != null) {
                setEditorsList(editorsList);
            }
           
            // set plugins list
View Full Code Here

Examples of org.apache.roller.weblogger.ui.core.plugins.UIPluginManager

           
            // set categories list
            setWeblogCategories(wmgr.getWeblogCategories(getActionWeblog(), false));
           
            // set the Editor Page list
            UIPluginManager pmgr = RollerContext.getUIPluginManager();
            List editorsList = pmgr.getWeblogEntryEditors();
            if(editorsList != null) {
                setEditorsList(editorsList);
            }
           
            // set plugins list
View Full Code Here

Examples of org.apache.roller.weblogger.ui.core.plugins.UIPluginManager

        return availablePlugins;
    }
   
   
    public WeblogEntryEditor getEditor() {
        UIPluginManager pmgr = RollerContext.getUIPluginManager();
        return pmgr.getWeblogEntryEditor(getActionWeblog().getEditorPage());
    }
View Full Code Here

Examples of org.apache.roller.weblogger.ui.core.plugins.UIPluginManager

   
   
    public void testEntryEditors() throws Exception {
      log.debug("Start");
       
        UIPluginManager pmgr = RollerContext.getUIPluginManager();
       
        // test getEditors() list
        assertEquals(2, pmgr.getWeblogEntryEditors().size());
       
        // test getting a single editor
        assertEquals("editor-text.jsp", pmgr.getWeblogEntryEditor("TextEditor").getId());
       
        // make sure we return default editor if editor id is not found
        assertEquals("editor-text.jsp", pmgr.getWeblogEntryEditor(null).getId());
       
      log.debug("End");
    }
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.