KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > internal > resources > MoveDeleteHook


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.core.internal.resources;
12
13 import org.eclipse.core.resources.*;
14 import org.eclipse.core.resources.team.IMoveDeleteHook;
15 import org.eclipse.core.resources.team.IResourceTree;
16 import org.eclipse.core.runtime.IProgressMonitor;
17
18 /**
19  * @since 2.0
20  */

21 public class MoveDeleteHook implements IMoveDeleteHook {
22
23     /**
24      * @see IMoveDeleteHook#deleteFile(IResourceTree, IFile, int, IProgressMonitor)
25      */

26     public boolean deleteFile(IResourceTree tree, IFile file, int updateFlags, IProgressMonitor monitor) {
27         // Let someone else do the work.
28
return false;
29     }
30
31     /**
32      * @see IMoveDeleteHook#deleteFolder(IResourceTree, IFolder, int, IProgressMonitor)
33      */

34     public boolean deleteFolder(IResourceTree tree, IFolder folder, int updateFlags, IProgressMonitor monitor) {
35         // Let someone else do the work.
36
return false;
37     }
38
39     /**
40      * @see IMoveDeleteHook#deleteProject(IResourceTree, IProject, int, IProgressMonitor)
41      */

42     public boolean deleteProject(IResourceTree tree, IProject project, int updateFlags, IProgressMonitor monitor) {
43         // Let someone else do the work.
44
return false;
45     }
46
47     /**
48      * @see IMoveDeleteHook#moveFile(IResourceTree, IFile, IFile, int, IProgressMonitor)
49      */

50     public boolean moveFile(IResourceTree tree, IFile source, IFile destination, int updateFlags, IProgressMonitor monitor) {
51         // Let someone else do the work.
52
return false;
53     }
54
55     /**
56      * @see IMoveDeleteHook#moveFolder(IResourceTree, IFolder, IFolder, int, IProgressMonitor)
57      */

58     public boolean moveFolder(final IResourceTree tree, IFolder source, IFolder destination, int updateFlags, IProgressMonitor monitor) {
59         // Let someone else do the work.
60
return false;
61     }
62
63     /**
64      * @see IMoveDeleteHook#moveProject(IResourceTree, IProject, IProjectDescription, int, IProgressMonitor)
65      */

66     public boolean moveProject(IResourceTree tree, IProject source, IProjectDescription description, int updateFlags, IProgressMonitor monitor) {
67         // Let someone else do the work.
68
return false;
69     }
70
71 }
72
Popular Tags