private void addRightClickItems(final TableViewer tableViewer){
		
		// create menu item to delete column
		final Menu tableHeaderMenu = new Menu(tableViewer.getTable());
		
		// create menu item to insert column
		final MenuItem insertColumnItem = new MenuItem(tableHeaderMenu,
				SWT.PUSH);
		insertColumnItem.setText("Add row");
		insertColumnItem.setSelection(false);
		insertColumnItem.addListener(SWT.Selection, new Listener() {
			public void handleEvent(Event event) {
				// call insert/add column page
				AttributeRow row = (AttributeRow) ((IStructuredSelection) tableViewer.getSelection()).getFirstElement();
				
				IAttributeChangesListener listener = new IAttributeChangesListener() {
					public void rowChanged(AttributeRow row, int index) {
						// TODO Auto-generated method stub
						tableViewer.refresh();
					}
				};
				
				List<String> emptyAttributes = new ArrayList<String>();
				for(int i = 0; i < tableViewer.getTable().getColumnCount(); i++){
					emptyAttributes.add("#TO_FILL#");
				}
				
				AttributeRow emptyRow = new AttributeRow(emptyAttributes, listener);
				
				if (row != null) {
					model.add(model.indexOf(row) + 1, emptyRow);
				} else {
					model.add(emptyRow);
				}
				
				tableViewer.refresh();
			}
		});
				
		final MenuItem deleteColumnItem = new MenuItem(tableHeaderMenu,
				SWT.PUSH);
		deleteColumnItem.setText("Delete Row");
		deleteColumnItem.setSelection(false);
		deleteColumnItem.addListener(SWT.Selection, new Listener() {
			public void handleEvent(Event event) {
				
				AttributeRow row = (AttributeRow) ((IStructuredSelection) tableViewer.getSelection()).getFirstElement();
				
				while(row != null){
					row = (AttributeRow) ((IStructuredSelection) tableViewer.getSelection()).getFirstElement();
					if (row != null) {
						model.remove(model.indexOf(row));
						tableViewer.refresh();
					}
				}
			}
		});
		
		//Link to the tableViewer
		tableViewer.getTable().addListener(SWT.MenuDetect, new Listener() {
			public void handleEvent(Event event) {
				tableViewer.getTable().setMenu(tableHeaderMenu);
				tableViewer.refresh();
			}
		});
	}