Package org.eclipse.ui.dialogs
Interface IOverwriteQuery
- All Known Implementing Classes:
- WizardDataTransferPage,- WizardExportResourcesPage,- WizardResourceImportPage
public interface IOverwriteQuery
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 SummaryFieldsModifier and TypeFieldDescriptionstatic final StringReturn code indicating the entity should be overwritten, and all subsequent entities should be overwritten without prompting.static final StringReturn code indicating the operation should be canceled.static final StringReturn code indicating the entity should not be overwritten, but operation should not be canceled.static final StringReturn code indicating the entity should not be overwritten, and all subsequent entities should not be overwritten without prompting.static final StringReturn code indicating the entity should be overwritten.
- 
Method SummaryModifier and TypeMethodDescriptionqueryOverwrite(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.
- 
Field Details- 
CANCELReturn code indicating the operation should be canceled.- See Also:
 
- 
NOReturn code indicating the entity should not be overwritten, but operation should not be canceled.- See Also:
 
- 
YESReturn code indicating the entity should be overwritten.- See Also:
 
- 
ALLReturn code indicating the entity should be overwritten, and all subsequent entities should be overwritten without prompting.- See Also:
 
- 
NO_ALLReturn code indicating the entity should not be overwritten, and all subsequent entities should not be overwritten without prompting.- See Also:
 
 
- 
- 
Method Details- 
queryOverwriteReturns 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
- Returns:
- one of the return code constants declared on this interface
 
 
-