allComponentInputs[1] = allInputs[i];
allComponentInputs[i] = allInputs[i];
	public IAdaptable createElement(IMemento memento) {		String countString = memento.getString(TAG_COUNT);		if (countString == null) {			return null;		}		int count = Integer.parseInt(countString);		String[] editors = new String[count];		ComponentEditorFileEditorInput[] allInputs = new ComponentEditorFileEditorInput[count];		ComponentEditorFileEditorInput[] allComponentInputs = new ComponentEditorFileEditorInput[count - 1];		for (int i = 0; i < count; i++) {			editors[i] = memento.getString(TAG_EDITOR + i);			String fileName = memento.getString(TAG_INPUT + i);			IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(fileName));			allInputs[i] = new ComponentEditorFileEditorInput(file);			if (i < (count - 1)) {				allComponentInputs[1] = allInputs[i];			}		}		ComponentEditorInput componentEditorInput = new ComponentEditorInput(editors, allInputs, allComponentInputs, allInputs[allInputs.length - 1]);		for (int i = 0; i < allInputs.length; i++) {			allInputs[i].setComponentEditorInput(componentEditorInput);		}		if (memento.getString(TAG_DISPLAY_API_PART_ON_REVEAL) != null) {			componentEditorInput.setDisplayApiPartOnReveal(true);		} else if (memento.getString(TAG_DISPLAY_HTML_PART_ON_REVEAL) != null) {			componentEditorInput.setDisplayHtmlPartOnReveal(true);		} else if (memento.getString(TAG_DISPLAY_WOD_PART_ON_REVEAL) != null) {			componentEditorInput.setDisplayWodPartOnReveal(true);		} else if (memento.getString(TAG_DISPLAY_WOO_PART_ON_REVEAL) != null) {			componentEditorInput.setDisplayWooPartOnReveal(true);		} else {			componentEditorInput.setDisplayHtmlPartOnReveal(true);		}		return componentEditorInput;	}