Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.dialogs
Interface IOverwriteQuery

All Known Implementing Classes:
NavigatorDropAdapter, WizardDataTransferPage, WizardExportPage, WizardExportResourcesPage, WizardImportPage, 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 Summary
static  String ALL
          Return code indicating the entity should be overwritten, and all subsequent entities should be overwritten without prompting.
static  String CANCEL
          Return code indicating the operation should be canceled.
static  String NO
          Return code indicating the entity should not be overwritten, but operation should not be canceled.
static  String NO_ALL
          Return code indicating the entity should not be overwritten, and all subsequent entities should not be overwritten without prompting.
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.
 

Field Detail

CANCEL

static final 
String CANCEL
Return code indicating the operation should be canceled.

See Also:
Constant Field Values

NO

static final 
String NO
Return code indicating the entity should not be overwritten, but operation should not be canceled.

See Also:
Constant Field Values

YES

static final 
String YES
Return code indicating the entity should be overwritten.

See Also:
Constant Field Values

ALL

static final 
String ALL
Return code indicating the entity should be overwritten, and all subsequent entities should be overwritten without prompting.

See Also:
Constant Field Values

NO_ALL

static final 
String NO_ALL
Return code indicating the entity should not be overwritten, and all subsequent entities should not be overwritten without prompting.

See Also:
Constant Field Values
Method Detail

queryOverwrite


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.

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire