private static void updateViewTable(final String itemContent) {

		/**
		 *  itemContent is the format:
		 *	PathToFile:::FunctionName:::Type+LineNo
		 */ 
		System.out.println("Adding from tableResult: " + itemContent);
		final String[] itemColums = itemContent.split(":::");

		Display display = Display.getCurrent();
		// may be null if outside the UI thread
		if (display == null)
			display = Display.getDefault();
		display.asyncExec(new Runnable() {
			@Override
			public void run() {
				synchronized (this) {

					final String itemId = itemColums[0];
					String itemType = itemColums[1];
					String itemExpression = itemColums[2];

					if (Integer.parseInt(itemType) == 0) {
						// Error Detail
						String itemFuncName = itemColums[3];
						String itemPath = itemColums[4];
						String itemLine = itemColums[5];
						String itemErrorType = "";

						// Check if the line has an error type
						if (itemColums.length == 7) {
							itemErrorType = itemColums[6];
						}

						if (AutofloxView.consoleTableMap.containsKey(itemId)) {
							TreeItem errorDetailItem = new TreeItem(
									AutofloxView.consoleTableMap.get(itemId),
									SWT.NONE);
							errorDetailItem.setText(new String[] {
									itemExpression.trim(), itemPath,
									"line " + itemLine, itemErrorType });

							// Add click to line func
							AutofloxView.PanelTree.addListener(SWT.Selection,
									new Listener() {
										public void handleEvent(Event e) {
											TreeItem[] selection = AutofloxView.PanelTree
													.getSelection();
											if (selection.length > 0) {
												String lineNoText = selection[0]
														.getText(2);
												lineNoText = lineNoText
														.replace("line ", "");
												if (lineNoText.trim() != "") {
													int lineNo = Integer
															.parseInt(lineNoText
																	.trim());
													String filePath = selection[0]
															.getText(1);
													AutofloxView
															.openFileInEditor(filePath);

													try {
														AutofloxView
																.goToLine(lineNo);
													} catch (BadLocationException e1) {
														e1.printStackTrace();
													}
												}
											}else{
												System.err.println("Nothing is selected.");
											}
										}
									});
						}
					} else {
						// Error Entry
						if (!AutofloxView.consoleTableMap.containsKey(itemId)) {
							// Create the new error entry
							TreeItem newErrorTreeItem = new TreeItem(
									AutofloxView.PanelTree, SWT.NONE);
							AutofloxView.consoleTableMap.put(itemId,
									newErrorTreeItem);

							// Add the error entry messages to console
							newErrorTreeItem.setText(new String[] {
									"Code-terminating DOM-related Error: "
											+ itemExpression, "", "", "" });
						}
					}

				}
			}
		});
	}