public String getCurrentFileAsString() {
		if (getFullPathName() == "string") {
			return fileManager.inlineData;
		}
		if (getFullPathName() == "string[]") {
			int modelIndex = getDisplayModelIndex();
			if (modelIndex < 0)
				return "";
			return fileManager.inlineDataArray[modelIndex];
		}
		if (getFullPathName() == "JSNode") {
			return "<DOM NODE>";
		}
		String pathName = modelManager.getModelSetPathName();
		if (pathName == null)
			return null;
		return fileManager.getFileAsString(pathName);
	}