mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
AbstractFileService: Bring in FILE_TYPE_ constants again for backward compatibility
This commit is contained in:
parent
54c73bbb32
commit
b1d7212909
1 changed files with 10 additions and 0 deletions
|
@ -34,6 +34,16 @@ import org.eclipse.rse.services.clientserver.messages.SystemMessageException;
|
|||
|
||||
public abstract class AbstractFileService implements IFileService
|
||||
{
|
||||
/* Bring constants for {@link #internalFetch(String, String, int, IProgressMonitor)}
|
||||
* into local namespace for backward compatibility with 2.x service implementations
|
||||
*/
|
||||
/** @deprecated use {@link IFileServiceConstants#FILE_TYPE_FILES_AND_FOLDERS} directly */
|
||||
public static final int FILE_TYPE_FILES_AND_FOLDERS = IFileServiceConstants.FILE_TYPE_FILES_AND_FOLDERS;
|
||||
/** @deprecated use {@link IFileServiceConstants#FILE_TYPE_FILES} directly */
|
||||
public static final int FILE_TYPE_FILES = IFileServiceConstants.FILE_TYPE_FILES;
|
||||
/** @deprecated use {@link IFileServiceConstants#FILE_TYPE_FOLDERS} directly */
|
||||
public static final int FILE_TYPE_FOLDERS = IFileServiceConstants.FILE_TYPE_FOLDERS;
|
||||
|
||||
protected abstract IHostFile[] internalFetch(String parentPath, String fileFilter, int fileType, IProgressMonitor monitor) throws SystemMessageException;
|
||||
|
||||
public IHostFile[] getFileMultiple(String remoteParents[], String names[], IProgressMonitor monitor)
|
||||
|
|
Loading…
Add table
Reference in a new issue