+ "(" + DateTimeFormat.getFormat(PredefinedFormat.DATE_TIME_SHORT).format(new Date()) +")"));
suggestions.add(new CustomSuggestionImpl(DateTimeFormat.getFormat(PredefinedFormat.TIME_SHORT).getPattern(),
DateTimeFormat.getFormat(PredefinedFormat.TIME_SHORT).getPattern()
+ "(" + DateTimeFormat.getFormat(PredefinedFormat.TIME_SHORT).format(new Date()) +")"));
CustomSuggestionAutoCompleterTextBox textBox = new CustomSuggestionAutoCompleterTextBox(suggestions);
//AutoCompleterTextBox textBox = new AutoCompleterTextBox(suggestions);
textBox.setText(widget.getPattern());
textBox.setSuggestionWidth(500);
VkDesignerUtil.showAddAutoCompleteTextDialog("Please select the date format", textBox
, new IDialogCallback() {
@Override
public void save(String pattern) {
String prevDate = widget.getText();