Package org.apache.roller.ui.core.plugins

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


   
    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

    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

TOP

Related Classes of org.apache.roller.ui.core.plugins.UIPluginManager

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.