boolean (@NotNull Content content, int oldIndex) { ContentManagerEvent event = new ContentManagerEvent(this, content, oldIndex, ContentManagerEvent.ContentOperation.undefined); for (ContentManagerListener listener : myDispatcher.getListeners()) { listener.contentRemoveQuery(event); if (event.isConsumed()) { return false; } } return true; }