Package org.springframework.richclient.application.docking.jide.editor

Examples of org.springframework.richclient.application.docking.jide.editor.AbstractEditor


    JidePageDescriptor pageDescriptor = (JidePageDescriptor)getPageDescriptor();
      EditorDescriptor editorDescriptor =
      pageDescriptor.getEditorFactory().getEditorDescriptor(editorObject);
    if(editorDescriptor != null){
      PageComponent pageComponent = editorDescriptor.createPageComponent();
      AbstractEditor editor = (AbstractEditor)pageComponent;
      editor.setEditorInput(editorObject);
        EditorComponentPane editorPane = new EditorComponentPane(pageComponent);
        pageComponent.setContext(new DefaultViewContext(this, editorPane))
        WorkspaceView workspace = (WorkspaceView)workspaceComponent;
        workspace.addDocumentComponent(pageComponent, activateAfterOpen);
        // Fires lifecycle event so listeners can react to editor
View Full Code Here

TOP

Related Classes of org.springframework.richclient.application.docking.jide.editor.AbstractEditor

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.