userLabel.setEnabled(false);
userLabel.setText("");
new MenuItem(entryMenu,SWT.SEPARATOR);
MenuItem rename = new MenuItem(entryMenu,SWT.PUSH);
rename.setText("Rename Contact");
rename.addListener(SWT.Selection,new Listener() {
public void handleEvent(Event event) {
InputDialog dialog = new InputDialog(
entryMenu.getShell(),
"Rename Contact",
"Enter New Name for " + (selectedEntry.getName() == null ? selectedEntry.getUser() : selectedEntry.getName()),