protected void handleEdit() {
boolean variableChanged = false;
Shell shell = CloudUiUtil.getShell();
List<EnvironmentVariable> selection = getViewerSelection();
if (shell != null && selection != null && !selection.isEmpty()) {
EnvironmentVariable toEdit = selection.get(0);
VariableDialogue dialogue = new VariableDialogue(shell, toEdit);
if (dialogue.open() == Window.OK) {
variableChanged = updateVariables(dialogue.getEnvironmentVariable(), toEdit);
}
}