Class ModuleProjectDeleteParticipant

All Implemented Interfaces:
IAdaptable, ISharableParticipant

public class ModuleProjectDeleteParticipant extends DeleteParticipant implements ISharableParticipant
The delete participant of an IIZI Module project: no change of a project that stays on disk is lost at its Delete (the owner's ruling of 2026-11-18, CC-FIX-UNSAVED-EVERY-CLOSE). It changes nothing in the delete itself.

Eclipse's Delete of a project asks "Delete project contents on disk" and hands the answer to its participants before anything is deleted:

  • The contents are KEPT (the project is only removed from the workspace): every changed file of the project, with or without an editor, is offered in the workbench's "Save Resources" prompt, all checked (UnsavedFiles.askBeforeRefactoring). The chosen files are saved, then the delete goes on. Cancel stops the delete: the dialog of the Delete stays open, nothing is deleted.
  • The contents are DELETED: nothing is asked. What is not saved goes with the files.
One participant takes all the Module projects of one Delete, so that one prompt asks for all of them.
Author:
Christopher Mindus