code: public void openEditor(Object editorInput, boolean activateAfterOpen){
      	if(log.isDebugEnabled()){
      		log.debug("Attempting to open editor for "+editorInput.getClass().getName());
  		}
  		if(workspaceComponent == null){
  			log.debug("WorkspaceComponent is null");
  			return;
  		}
      	PageDescriptor descriptor = getPageDescriptor();
      	if(descriptor instanceof JidePageDescriptor){
      		if(editorInput.getClass().isArray()){
      			Object[] array = (Object[])editorInput;
                  for (Object editorObject : array) {
                      processEditorObject(editorObject, activateAfterOpen);
                  }
      		}
      		else{
      			processEditorObject(editorInput, activateAfterOpen);
      		}
      		
      	}
      }
docs: Implementation of the openEditor command using the editor factory
  injected into the page descriptor. The editor input is used as the
  key the factory uses to get the requires editor descriptor. If not
  editor factory is injected into the page descriptor then the default
  factory is used which simply returns null for every editor object
  resulting in no editor being opened.
  
  @param editorInput the editor contents
  @param activateAfterOpen specifies if the document should be activated after opening