Questions on delete and rename project [message #104312] |
Thu, 31 July 2003 14:26  |
Eclipse User |
|
|
|
Two questions:
(1) When user deletes a project, (s)he has to choose one of the following.
- Also delete contents under
- Do not delete contents
When I get a IResourceChangeEvent.PRE_DELETE event, is there a way to
figure out which option the user has chosen?
(2) In Navigator view, user may rename or move projects using popup menus.
Is there a way to disable those menu items? Or, at least, take over the
handler for the menu items so that I can simply display message and don't
do the operation.
Thanks in advance,
JK Lah
|
|
|
Re: Questions on delete and rename project [message #107123 is a reply to message #104312] |
Tue, 05 August 2003 18:21  |
Eclipse User |
|
|
|
Originally posted by: John_Arthorne.oti.com_
JK Lah wrote:
> (1) When user deletes a project, (s)he has to choose one of the following.
> - Also delete contents under
> - Do not delete contents
>
> When I get a IResourceChangeEvent.PRE_DELETE event, is there a way to
> figure out which option the user has chosen?
No, this information is not available in the PRE_DELETE event. Please
enter a feature request.
>
> (2) In Navigator view, user may rename or move projects using popup menus.
> Is there a way to disable those menu items? Or, at least, take over the
> handler for the menu items so that I can simply display message and don't
> do the operation.
This is not currently possible. There is work going on right now to
allow plugin participation in move and rename actions, but I'm not sure
if it will give you veto power. This seems like a harsh restriction to
impose on your users though.
--
|
|
|
Powered by
FUDForum. Page generated in 0.05823 seconds