| org.eclipse.ui.dialogs.IOverwriteQuery
All known Subclasses: org.eclipse.ui.internal.wizards.preferences.WizardPreferencesPage,
IOverwriteQuery | public interface IOverwriteQuery (Code) | | Implementors of this interface answer one of the prescribed return codes
when asked whether to overwrite a certain path string (which could
represent a resource path, a file system path, etc).
|
Field Summary | |
final public static String | ALL Return code indicating the entity should be overwritten,
and all subsequent entities should be overwritten without prompting. | final public static String | CANCEL Return code indicating the operation should be canceled. | final public static String | NO Return code indicating the entity should not be overwritten,
but operation should not be canceled. | final public static String | NO_ALL Return code indicating the entity should not be overwritten,
and all subsequent entities should not be overwritten without prompting. | final public static String | YES Return code indicating the entity should be overwritten. |
Method Summary | |
String | queryOverwrite(String pathString) Returns one of the return code constants declared on this interface,
indicating whether the entity represented by the passed String should be overwritten. |
ALL | final public static String ALL(Code) | | Return code indicating the entity should be overwritten,
and all subsequent entities should be overwritten without prompting.
|
CANCEL | final public static String CANCEL(Code) | | Return code indicating the operation should be canceled.
|
NO | final public static String NO(Code) | | Return code indicating the entity should not be overwritten,
but operation should not be canceled.
|
NO_ALL | final public static String NO_ALL(Code) | | Return code indicating the entity should not be overwritten,
and all subsequent entities should not be overwritten without prompting.
|
YES | final public static String YES(Code) | | Return code indicating the entity should be overwritten.
|
queryOverwrite | String queryOverwrite(String pathString)(Code) | | Returns one of the return code constants declared on this interface,
indicating whether the entity represented by the passed String should be overwritten.
This method may be called from a non-UI thread, in which case this method must run the query
in a sync exec in the UI thread, if it needs to query the user.
Parameters: pathString - the path representing the entity to be overwritten one of the return code constants declared on this interface |
|
|