1 12 package org.eclipse.debug.internal.ui.stringsubstitution; 13 14 import org.eclipse.swt.widgets.FileDialog; 15 16 19 public class FilePrompt extends PromptingResolver { 20 21 25 public void prompt() { 26 FileDialog dialog = new FileDialog(getShell()); 27 dialog.setText(dialogMessage); 28 dialog.setFileName(lastValue == null ? defaultValue : lastValue); 29 dialogResultString = dialog.open(); 30 } 31 32 } 33 | Popular Tags |