String name = variable.getName();
String title = PHPDebugUIMessages.PHPPrimitiveValueEditor_0;
String message = NLS.bind(
PHPDebugUIMessages.PHPPrimitiveValueEditor_1,
new String[] { name });
PHPValue value = (PHPValue) variable.getValue();
String initialValue = value.getValue();
PrimitiveValidator validator = new PrimitiveValidator();
InputDialog dialog = new InputDialog(shell, title, message,
initialValue, validator);
if (dialog.open() == Window.OK) {
String stringValue = dialog.getValue();