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

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


      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
        //  being opened.
        LifecycleApplicationEvent event = new LifecycleApplicationEvent(
            LifecycleApplicationEvent.CREATED, editor);
        Application.instance().getApplicationContext().publishEvent(event);
View Full Code Here


      Workspace workspace = (Workspace)getDockableWorkspace(focusOwner);
      if( workspace != null){
        if(logger.isDebugEnabled()){
          logger.debug("About to fire focus gained on the active workspace component");
        }
        WorkspaceView workspaceView = (WorkspaceView)workspaceComponent;
        workspaceView.fireFocusGainedOnActiveComponent();
      }
    }
View Full Code Here

TOP

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

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.