X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/util/ResourceSelector.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/util/ResourceSelector.java index cb28566..42e78de 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/util/ResourceSelector.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/util/ResourceSelector.java @@ -14,11 +14,17 @@ import org.eclipse.swt.widgets.Text; public abstract class ResourceSelector { protected final static String EMPTY_STRING = ""; + protected Composite composite; + protected Button browseButton; + protected Text textField; + protected String browseDialogMessage = EMPTY_STRING; + protected String browseDialogTitle = EMPTY_STRING; + protected String validatedSelectionText = EMPTY_STRING; public ResourceSelector(Composite parent) { @@ -47,6 +53,7 @@ public abstract class ResourceSelector { } protected abstract void handleBrowseSelected(); + protected abstract String validateResourceSelection(); protected Shell getShell() {