sourceafQuickFlux::CmdDeleteEntity.fan
using fwt::Command using fwt::Event using flux::Frame using afIoc::Inject class CmdDeleteEntity : Command { @Inject private Frame frame Entity entity new make(Entity entity, QuickFluxIcons icons, |This| injectInto) : super("Delete ${entity.typeof.name.toDisplayName}") { injectInto(this) super.icon = icons.icoCircleDelete this.entity = entity } override Void invoked(Event? event) { entity.delete } }