void () { String path = FileUtil.toSystemDependentName(VfsUtilCore.urlToPath(myContentEntryUrl)); if (!MessageDialogBuilder .yesNo(ProjectBundle.message("module.paths.remove.content.title"), ProjectBundle.message("module.paths.remove.content.prompt", path)) .ask(getModel().getProject())) { return; } myEventDispatcher.getMulticaster().beforeEntryDeleted(this); final ContentEntry entry = getContentEntry(); if (entry != null) { getModel().removeContentEntry(entry); } }