Bug 7697 - Provide extensions for move, rename and delete operations
Summary: Provide extensions for move, rename and delete operations
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P1 major (vote)
Target Milestone: 2.0 M4   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-16 09:46 EST by Duong Nguyen CLA
Modified: 2002-03-21 11:52 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duong Nguyen CLA 2002-01-16 09:46:12 EST
Eclipse provides default behavior for the copy/move/rename/delete operations. 
The default behavior is not sufficient for some user plugins. Also, the plugins 
do not receive any pre-notification of these events. We therefore request one 
of the following changes:

1) Provide a mechanism (through extension points) to allow plugins to extend 
the behavior of these operation (similar to trapping global actions)

AND/OR

2) Provide a mechanism (the resource change events) to pre-notify the plugins 
of these events.
Comment 1 DJ Houghton CLA 2002-03-21 11:52:02 EST
Extension point moveDeleteHook has been added to the Resources Plugin. The VCM 
team will create a Team Provider extension point which providers can hook into 
and receive the forwarded move/delete calls.

See:
  org.eclipse.core.team.IMoveDeleteHook
  org.eclipse.core.team.IResourceTree

If you create an IResourceChangeListner and register as PRE_DELETE you will 
receive pre-notification of deletes and moves. (deletion of the source project)